ml::WEMAttributes Class Reference

This class comprises some attributes that are common for a WEM and a WEMPatch. More...

#include <WEMAttributes.h>

List of all members.

Public Member Functions

 WEMAttributes ()
 Constructor.
 ~WEMAttributes ()
 Destructor.
void reset ()
 Sets default values to all members.
void saveTo (std::ostream &outstream)
 Save attributes to given output stream.
unsigned int loadFrom (std::istream &instream, short version, bool swapBytes)
 Load attributes from given input stream.
unsigned int loadFrom (char *map, short version, bool swapBytes)
 Load attributes from given memory map.

Public Attributes

std::string label
 Label string.
std::string description
 Description string.
bool showState
 Show?
bool editableState
 Editable?
bool selectedState
 Selected?
ColorModes colorMode
 Color mode.
bool drawFaces
 Draw faces?
bool useFaceAmbientColor
 Use ambient color?
Vector3 faceAmbientColor
 Ambient color.
bool useFaceDiffuseColor
 Use diffuse color?
Vector3 faceDiffuseColor
 Diffuse color.
bool useFaceSpecularColor
 Use specular color?
Vector3 faceSpecularColor
 Specular color.
float faceAlphaValue
 Alpha value.
float faceShininessValue
 Shininess value.
bool drawFaceNormals
 Draw face normals?
Vector3 faceNormalsColor
 Face normals color.
float faceNormalsScale
 Face normals scaling.
bool drawEdges
 Draw edges?
Vector3 edgeColor
 Edge color.
bool usePolygonOffset
 Use polygon offset.
float lineWidth
 Line width.
bool useEdgeColoringMode
 Use coloring mode for edges.
bool drawNodes
 Draw nodes;.
Vector3 nodeColor
 Node color.
bool drawNodeNormals
 Draw node normals?
Vector3 nodeNormalsColor
 Node normals color.
float nodeNormalsScale
 Node normals scale.
float pointSize
 Point size.
NodeRenderingModes nodeRenderingMode
 Node rendering mode.
bool drawBoundingBoxes
 Draw bounding boxes?
BoundingBoxModes boundingBoxMode
 Bounding box rendering mode.
Vector3 boundingBoxColor
 Bounding box color.


Detailed Description

This class comprises some attributes that are common for a WEM and a WEMPatch.

Definition at line 26 of file WEMAttributes.h.


Constructor & Destructor Documentation

ml::WEMAttributes::WEMAttributes (  ) 

Constructor.

ml::WEMAttributes::~WEMAttributes (  ) 

Destructor.


Member Function Documentation

unsigned int ml::WEMAttributes::loadFrom ( char *  map,
short  version,
bool  swapBytes 
)

Load attributes from given memory map.

unsigned int ml::WEMAttributes::loadFrom ( std::istream &  instream,
short  version,
bool  swapBytes 
)

Load attributes from given input stream.

void ml::WEMAttributes::reset (  ) 

Sets default values to all members.

void ml::WEMAttributes::saveTo ( std::ostream &  outstream  ) 

Save attributes to given output stream.


Member Data Documentation

Bounding box color.

Definition at line 110 of file WEMAttributes.h.

Bounding box rendering mode.

Definition at line 108 of file WEMAttributes.h.

Color mode.

Definition at line 52 of file WEMAttributes.h.

Description string.

Definition at line 42 of file WEMAttributes.h.

Draw bounding boxes?

Definition at line 106 of file WEMAttributes.h.

Draw edges?

Definition at line 80 of file WEMAttributes.h.

Draw face normals?

Definition at line 73 of file WEMAttributes.h.

Draw faces?

Definition at line 55 of file WEMAttributes.h.

Draw node normals?

Definition at line 95 of file WEMAttributes.h.

Draw nodes;.

Definition at line 91 of file WEMAttributes.h.

Edge color.

Definition at line 82 of file WEMAttributes.h.

Editable?

Definition at line 47 of file WEMAttributes.h.

Alpha value.

Definition at line 69 of file WEMAttributes.h.

Ambient color.

Definition at line 59 of file WEMAttributes.h.

Diffuse color.

Definition at line 63 of file WEMAttributes.h.

Face normals color.

Definition at line 75 of file WEMAttributes.h.

Face normals scaling.

Definition at line 77 of file WEMAttributes.h.

Shininess value.

Definition at line 71 of file WEMAttributes.h.

Specular color.

Definition at line 67 of file WEMAttributes.h.

Label string.

Definition at line 40 of file WEMAttributes.h.

Line width.

Definition at line 86 of file WEMAttributes.h.

Node color.

Definition at line 93 of file WEMAttributes.h.

Node normals color.

Definition at line 97 of file WEMAttributes.h.

Node normals scale.

Definition at line 99 of file WEMAttributes.h.

Node rendering mode.

Definition at line 103 of file WEMAttributes.h.

Point size.

Definition at line 101 of file WEMAttributes.h.

Selected?

Definition at line 49 of file WEMAttributes.h.

Show?

Definition at line 45 of file WEMAttributes.h.

Use coloring mode for edges.

Definition at line 88 of file WEMAttributes.h.

Use ambient color?

Definition at line 57 of file WEMAttributes.h.

Use diffuse color?

Definition at line 61 of file WEMAttributes.h.

Use specular color?

Definition at line 65 of file WEMAttributes.h.

Use polygon offset.

Definition at line 84 of file WEMAttributes.h.


The documentation for this class was generated from the following file:

Generated on Sat Sep 3 18:39:40 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8