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 |
#include <ViewMap.h>
Inheritance diagram for ViewEdge:
Public Member Functions | |
virtual string | getExactTypeName () const |
virtual Id | getId () const |
virtual Nature::EdgeNature | getNature () const |
ViewEdge () | |
virtual | ~ViewEdge () |
ViewVertex * | A () |
ViewVertex * | B () |
FEdge * | fedgeA () |
FEdge * | fedgeB () |
ViewShape * | viewShape () |
ViewShape * | aShape () |
bool | isClosed () |
unsigned | getChainingTimeStamp () |
void | SetA (ViewVertex *iA) |
void | SetB (ViewVertex *iB) |
void | SetNature (Nature::EdgeNature iNature) |
void | SetFEdgeA (FEdge *iFEdge) |
void | SetFEdgeB (FEdge *iFEdge) |
void | SetShape (ViewShape *iVShape) |
void | SetId (const Id &id) |
void | UpdateFEdges () |
void | SetaShape (ViewShape *iShape) |
void | SetQI (int qi) |
void | setChainingTimeStamp (unsigned ts) |
real | getLength2D () const |
virtual Interface0DIterator | verticesBegin () |
virtual Interface0DIterator | verticesEnd () |
virtual Interface0DIterator | pointsBegin (float t=0.f) |
virtual Interface0DIterator | pointsEnd (float t=0.f) |
Public Attributes | |
void * | userdata |
Protected Member Functions | |
ViewEdge (ViewEdge &iBrother) | |
virtual ViewEdge * | dupplicate () |
Friends | |
class | ViewShape |
ViewEdge | ( | ) | [inline] |
Default constructor.
virtual ~ViewEdge | ( | ) | [inline, virtual] |
Destructor.
virtual string getExactTypeName | ( | ) | const [inline, virtual] |
Returns the string "ViewEdge" .
Reimplemented from Interface1D.
virtual Id getId | ( | ) | const [inline, virtual] |
Returns the Id of the vertex .
Reimplemented from Interface1D.
virtual Nature::EdgeNature getNature | ( | ) | const [inline, virtual] |
Returns the nature of the ViewEdge.
Reimplemented from Interface1D.
virtual ViewEdge* dupplicate | ( | ) | [inline, protected, virtual] |
Cloning method.
ViewVertex* A | ( | ) | [inline] |
Returns the first ViewVertex.
ViewVertex* B | ( | ) | [inline] |
Returns the second ViewVertex.
ViewShape* aShape | ( | ) | [inline] |
bool isClosed | ( | ) | [inline] |
Tells whether this ViewEdge forms a closed loop or not.
unsigned getChainingTimeStamp | ( | ) | [inline] |
Returns the time stamp of this ViewEdge.
void SetA | ( | ViewVertex * | iA | ) | [inline] |
Sets the first ViewVertex of the ViewEdge.
void SetB | ( | ViewVertex * | iB | ) | [inline] |
Sets the last ViewVertex of the ViewEdge.
void SetNature | ( | Nature::EdgeNature | iNature | ) | [inline] |
Sets the nature of the ViewEdge.
void SetShape | ( | ViewShape * | iVShape | ) | [inline] |
void UpdateFEdges | ( | ) |
Sets Viewedge to this for all embedded fedges
void SetQI | ( | int | qi | ) | [inline] |
Sets the quantitative invisibility value.
void setChainingTimeStamp | ( | unsigned | ts | ) | [inline] |
Sets the time stamp value.
real getLength2D | ( | ) | const [virtual] |
Returns the 2D length of the Viewedge.
Reimplemented from Interface1D.
virtual Interface0DIterator verticesBegin | ( | ) | [virtual] |
Returns an Interface0DIterator to iterate over the SVertex constituing the embedding of this ViewEdge. The returned Interface0DIterator points to the first SVertex of the ViewEdge.
Implements Interface1D.
virtual Interface0DIterator verticesEnd | ( | ) | [virtual] |
Returns an Interface0DIterator to iterate over the SVertex constituing the embedding of this ViewEdge. The returned Interface0DIterator points after the last SVertex of the ViewEdge.
Implements Interface1D.
virtual Interface0DIterator pointsBegin | ( | float | t = 0.f |
) | [virtual] |
Returns an Interface0DIterator to iterate over the points of this ViewEdge at a given resolution. The returned Interface0DIterator points on the first Point of the ViewEdge.
t | the sampling value. |
Implements Interface1D.
virtual Interface0DIterator pointsEnd | ( | float | t = 0.f |
) | [virtual] |
Returns an Interface0DIterator to iterate over the points of this ViewEdge at a given resolution. The returned Interface0DIterator points after the last Point of the ViewEdge.
t | the sampling value. |
Implements Interface1D.
void* userdata |
A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().