#include <WEMAttributes.h>
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. | |
Definition at line 26 of file WEMAttributes.h.
| ml::WEMAttributes::WEMAttributes | ( | ) |
Constructor.
| ml::WEMAttributes::~WEMAttributes | ( | ) |
Destructor.
| 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.
| std::string ml::WEMAttributes::description |
| std::string ml::WEMAttributes::label |
1.5.8