|
| WEMNode () |
| Standard constructor. More...
|
|
| WEMNode (const WEMNode &n) |
| Copy constructor. More...
|
|
| WEMNode (WEMNode &&n) noexcept |
|
WEMNode & | operator= (WEMNode &&n) noexcept |
|
| ~WEMNode () override |
| Standard destructor. More...
|
|
void | reset () |
| Resets the object to default constructed state. More...
|
|
void | clone (WEMNode *n) |
| Clones given node. More...
|
|
const Vector3 & | getPosition () const |
| Returns the world position. More...
|
|
void | getPosition (double &x, double &y, double &z) const |
| Returns the world position. More...
|
|
void | setPosition (const Vector3 &position) |
| Sets the position in world coordinates. More...
|
|
void | setPosition (double x, double y, double z) |
| Sets the position in world coordinates. More...
|
|
void | translate (const Vector3 &offset) |
| Translates the position by the given vector. More...
|
|
void | applyMatrix (const Matrix4 &transformMatrix) |
| Multiplies the node's position with the given transformation matrix. More...
|
|
void | scale (const Vector3 &scaleFactor) |
| Scales the position by given vector. More...
|
|
unsigned int | getFaceValence () const |
| Returns the face valence of node. The valence denotes the number of attached faces. More...
|
|
unsigned int | getEdgeValence () const |
| Returns the edge valence of node. The valence denotes the number of attached edges. More...
|
|
unsigned int | getNumFaces () const |
| Returns the number of faces attached to this node. More...
|
|
unsigned int | getNumEdges () const |
| Returns the number of edges attached to this node. More...
|
|
Vector4 | getColor () const |
| Returns the color of the node. More...
|
|
void | setColor (const Vector4 &color) |
| Sets the color of the node. More...
|
|
void | setColor (float r, float g, float b) |
| Sets the RGB color of the node. More...
|
|
void | setColor (float a) |
| Sets the alpha color of the node. More...
|
|
Vector3 | getNormal () const |
| Returns the normal of the node. More...
|
|
void | setNormal (const Vector3 &normal) |
| Sets the normal of the node. More...
|
|
void | setNormal (float x, float y, float z) |
| Sets the normal of the node. More...
|
|
void | computeNormal () |
| Computes the normal of the node. More...
|
|
WEMFace * | getFaceAt (unsigned int index) |
| Returns the face at the given index. More...
|
|
const WEMFace * | getFaceAt (unsigned int index) const |
| Returns the face at the given index. More...
|
|
WEMTriangle * | getTriangleAt (unsigned int index) |
| Returns the face at the given index and casts it to WEMTriangle. More...
|
|
const WEMTriangle * | getTriangleAt (unsigned int index) const |
| Returns the face at the given index and casts it to WEMTriangle. More...
|
|
WEMQuad * | getQuadAt (unsigned int index) |
| Returns the face at the given index and casts it to WEMQuad. More...
|
|
const WEMQuad * | getQuadAt (unsigned int index) const |
| Returns the face at the given index and casts it to WEMQuad. More...
|
|
WEMPolygon * | getPolygonAt (unsigned int index) |
| Returns the face at the given index and casts it to WEMPolygon. More...
|
|
const WEMPolygon * | getPolygonAt (unsigned int index) const |
| Returns the face at the given index and casts it to WEMPolygon. More...
|
|
void | addFace (WEMFace *face) |
| Adds the given face. More...
|
|
void | remove (WEMFace *face) |
| Removes the given face. More...
|
|
WEMEdge * | getEdgeAt (unsigned int index) |
| Returns the edge at the given index. More...
|
|
const WEMEdge * | getEdgeAt (unsigned int index) const |
| Returns the edge at the given index. More...
|
|
void | addEdge (WEMEdge *edge) |
| Adds the edge. More...
|
|
void | remove (WEMEdge *edge) |
| Removes the given edge. More...
|
|
WEMEdge * | getEdgeWith (WEMNode *node) |
| Returns the edge shared with the given node. More...
|
|
const WEMEdge * | getEdgeWith (WEMNode *node) const |
| Returns the edge shared with the given node. More...
|
|
bool | isBoundary () const |
| Returns whether the node has any edge which is a boundary edge. More...
|
|
void | replace (WEMEdge *orig, WEMEdge *replacement) |
| Replaces an edge orig in the internal edge's vector by another edge replace . More...
|
|
void | replace (WEMFace *orig, WEMFace *replacement) |
| Replaces a face orig in the internal face's vector by another face replace . More...
|
|
void | removeEdges () |
| Removes all edges attached to this node. More...
|
|
void | removeFaces () |
| Removes all faces attached to this node. More...
|
|
double | getLargestDihedralAngle () const |
| Returns the largest angle between the node normal and any incident face's normal. More...
|
|
double | getPrimitiveValue (const WEMPrimitiveValueList *valueList) const |
| Returns the node value from the given primitive value list. More...
|
|
| WEMPrimitive () |
|
| WEMPrimitive (const WEMPrimitive &)=default |
|
| WEMPrimitive (WEMPrimitive &&p) noexcept |
|
WEMPrimitive & | operator= (const WEMPrimitive &)=default |
|
WEMPrimitive & | operator= (WEMPrimitive &&p) noexcept |
|
virtual | ~WEMPrimitive ()=default |
| Standard destructor. More...
|
|
void | resetPrimitive () |
| Resets the object to its default constructed state. More...
|
|
int | getEntryNumber () const |
| Returns the entry number. More...
|
|
void | setEntryNumber (int e) |
| Sets the entry number. More...
|
|
bool | isSet (unsigned int bit) const |
| Returns whether the bit-flag is set. More...
|
|
void | setFlag (unsigned int bit) |
| Sets the given bit-flag. More...
|
|
void | unsetFlag (unsigned int bit) |
| Unsets the given bit-flag. More...
|
|
void | clearFlag () |
| Clears the bit-flag. More...
|
|
bool | isTraversed () const |
| Returns whether this primitive has been traversed. More...
|
|
void | setTraversed (bool traversed) |
| Sets the traversed flag. More...
|
|
int | getHeapPosition () const |
| Returns the heap position. More...
|
|
bool | inHeap () const |
| Returns whether this primitive is in the heap. More...
|
|
void | setHeapPosition (int heapPosition) |
| Sets the heap position. More...
|
|
double | getHeapValue () const |
| Returns the heap value. More...
|
|
void | setHeapValue (double heapValue) |
| Sets the heap value. More...
|
|
Defines the mesh component: node.
Definition at line 32 of file WEMNode.h.