TVertex Class Reference
#include <ViewMap.h>
Inheritance diagram for TVertex:
List of all members.
Detailed Description
class to define a T vertex, i.e. an intersection between two edges. It points towards 2
SVertex and 4 View edges. Among these ViewEdges, 2 are front and 2 are back. Basically the front edge hides part of the back edge. So, among the back edges, 1 is of invisibility n and the other of visibility n+1
Constructor & Destructor Documentation
Member Function Documentation
|
Returns the SVertex that is further away from the viewpoint. |
virtual TVertex* castToTVertex |
( |
|
) |
[inline, virtual] |
|
virtual ViewVertex* castToViewVertex |
( |
|
) |
[inline, virtual] |
|
virtual ViewVertex* dupplicate |
( |
|
) |
[inline, protected, virtual] |
|
|
Returns an iterator over the ViewEdges that goes to or comes from this ViewVertex pointing to the first ViewEdge of the list. The orientedViewEdgeIterator allows to iterate in CCW order over these ViewEdges and to get the orientation for each ViewEdge (incoming/outgoing).
Implements ViewVertex. |
|
Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument.
Implements ViewVertex. |
|
Returns the SVertex that is closer to the viewpoint. |
virtual string getExactTypeName |
( |
|
) |
const [inline, virtual] |
|
|
Returns the string "TVertex" .
Reimplemented from ViewVertex. |
virtual Id getId |
( |
|
) |
const [inline, virtual] |
|
virtual Vec2f getPoint2D |
( |
|
) |
const [inline, virtual] |
|
virtual Vec3f getPoint3D |
( |
|
) |
const [inline, virtual] |
|
virtual real getProjectedX |
( |
|
) |
const [inline, virtual] |
|
|
Returns the projected 3D x coordinate of the vertex .
Reimplemented from Interface0D. |
virtual real getProjectedY |
( |
|
) |
const [inline, virtual] |
|
|
Returns the projected 3D y coordinate of the vertex .
Reimplemented from Interface0D. |
virtual real getProjectedZ |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 2D z coordinate of the point.
Reimplemented from Interface0D. |
|
Returns the SVertex (among the 2) belonging to the FEdge iFEdge |
virtual real getX |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 3D x coordinate of the point.
Reimplemented from Interface0D. |
virtual real getY |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 3D y coordinate of the point.
Reimplemented from Interface0D. |
virtual real getZ |
( |
|
) |
const [inline, virtual] |
|
|
Returns the 3D z coordinate of the point.
Reimplemented from Interface0D. |
|
returns the mate edge of iEdgeA. For example, if iEdgeA is frontEdgeA, then frontEdgeB is returned. If iEdgeA is frontEdgeB then frontEdgeA is returned. Same for back edges |
void SetBackSVertex |
( |
SVertex * |
iBackSVertex |
) |
[inline] |
|
|
Sets the SVertex that is further away from the viewpoint. |
void SetFrontVertex |
( |
SVertex * |
iFrontSVertex |
) |
[inline] |
|
|
Sets the SVertex that is closer to the viewpoint. |
void SetId |
( |
const Id & |
iId |
) |
[inline] |
|
The documentation for this class was generated from the following file: