h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

TVertex Class Reference

#include <ViewMap.h>

Inheritance diagram for TVertex:

ViewVertex Interface0D 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


Public Member Functions

virtual string getExactTypeName () const
virtual real getX () const
virtual real getY () const
virtual real getZ () const
virtual Vec3f getPoint3D () const
virtual real getProjectedX () const
virtual real getProjectedY () const
virtual real getProjectedZ () const
virtual Vec2f getPoint2D () const
virtual Id getId () const
virtual ViewVertexcastToViewVertex ()
virtual TVertexcastToTVertex ()
 TVertex ()
SVertexfrontSVertex ()
SVertexbackSVertex ()
void SetFrontVertex (SVertex *iFrontSVertex)
void SetBackSVertex (SVertex *iBackSVertex)
void SetId (const Id &iId)
SVertexGetSVertex (FEdge *iFEdge)
virtual ViewEdgemate (ViewEdge *iEdgeA)
virtual ViewVertexInternal::orientedViewEdgeIterator edgesBegin ()
virtual ViewVertexInternal::orientedViewEdgeIterator edgesEnd ()
virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator (ViewEdge *iEdge)

Protected Member Functions

 TVertex (TVertex &iBrother)
virtual ViewVertexdupplicate ()

Constructor & Destructor Documentation

TVertex  )  [inline]
 

Default constructor.

TVertex TVertex iBrother  )  [inline, protected]
 

Copy constructor.


Member Function Documentation

SVertex* backSVertex  )  [inline]
 

Returns the SVertex that is further away from the viewpoint.

virtual TVertex* castToTVertex  )  [inline, virtual]
 

Cast the Interface0D in TVertex if it can be.

Reimplemented from Interface0D.

virtual ViewVertex* castToViewVertex  )  [inline, virtual]
 

Cast the Interface0D in ViewVertex if it can be.

Reimplemented from Interface0D.

virtual ViewVertex* dupplicate  )  [inline, protected, virtual]
 

Cloning method.

Implements ViewVertex.

virtual ViewVertexInternal::orientedViewEdgeIterator edgesBegin  )  [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.

virtual ViewVertexInternal::orientedViewEdgeIterator edgesEnd  )  [virtual]
 

Returns an orientedViewEdgeIterator over the ViewEdges around this ViewVertex, pointing after the last ViewEdge.

Implements ViewVertex.

virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator ViewEdge iEdge  )  [virtual]
 

Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument.

Implements ViewVertex.

SVertex* frontSVertex  )  [inline]
 

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]
 

Returns the Id of the TVertex .

Reimplemented from Interface0D.

virtual Vec2f getPoint2D  )  const [inline, virtual]
 

Returns the 2D point.

Reimplemented from Interface0D.

virtual Vec3f getPoint3D  )  const [inline, virtual]
 

Returns the 3D point.

Reimplemented from Interface0D.

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.

SVertex* GetSVertex FEdge iFEdge  )  [inline]
 

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.

virtual ViewEdge* mate ViewEdge iEdgeA  )  [inline, virtual]
 

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]
 

Sets the Id.


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