In file contour/VertexContour3D.h:

class VertexContour3D : public VertexContour

a vertex of a geometric 3D contour : it only describe geometric information

Inheritance:


Public Methods

Vec3 getPosition () const
Returns the vertex position
Vec3 getTangent () const
return the current tangent vector
Vec3 getBinormal () const
return the current binormal vector
Vec3 getNormal () const
return the current normal vector
void computeEdgeDirection () throw(ContourLine3D::IllegalGeometry)
compute the 2 neighboring edge length and edge direction
void computeTangent () throw(ContourLine3D::IllegalGeometry)
Computes the tangent vector of a vertex
void computeFrenetFrame () throw(ContourLine3D::IllegalGeometry)
Computes the tangent, normal and binormal vector of a vertex
void setPosition (const Vec3 &pos)
Sets the vertex position
VertexContour3D* getFollowing () const
Returns the right neighboring vertex in the line taking into account the line topology
VertexContour3D* getPrevious () const
Returns the left neighboring vertex in the line taking into account the line topology
Contour3D* getContour3D () const
return the 3D Contour where the vertex is
EdgeContour3D* getEdge () const
return the edge joining this vertex and its following vertex

Public

Constructors
VertexContour3D (ContourLine *l, const Vec3 &pos=Vec3(0, 0, 0))
public Constructor
VertexContour3D (VertexContour3D *v, ContourLine *l, const Vec3 &pos=Vec3(0, 0, 0))
Constructor called by inherited vertices since it does not create an edge
Destructors
virtual ~VertexContour3D ()
empty Destructor

Protected Fields

Vec3 position
the vertex position
Vec3 tangent
The tangent vector of vertex
Vec3 normal
The normal vector of vertex
Vec3 binormal
The binormal vector of vertex

Inherited from VertexContour:

Public Methods

VertexContour* getTopologicalFollowing() const
VertexContour* getTopologicalPrevious() const
const char* getName() const
Contour* getContour() const
unsigned int getRank() const
unsigned int getRankInLine() const
unsigned int getRef() const
void setName(const char *theName)
ContourLine* getLine() const
EdgeContour* removeVertex(void)

Protected Fields

EdgeContour* edge
ContourLine* line

Private Fields

char* name

Documentation

a vertex of a geometric 3D contour : it only describe geometric information
Vec3 position
the vertex position

Vec3 tangent
The tangent vector of vertex

Vec3 normal
The normal vector of vertex

Vec3 binormal
The binormal vector of vertex

Constructors

VertexContour3D(ContourLine *l, const Vec3 &pos=Vec3(0, 0, 0))
public Constructor
Parameters:
l - the line where the vertex belongs
pos - the vertex position

VertexContour3D(VertexContour3D *v, ContourLine *l, const Vec3 &pos=Vec3(0, 0, 0))
Constructor called by inherited vertices since it does not create an edge
Parameters:
v - a dummy vertex
l - the line where the vertex belongs
pos - the vertex position

Destructors

virtual ~VertexContour3D()
empty Destructor

Vec3 getPosition() const
Returns the vertex position
Returns:
the vertex position

Vec3 getTangent() const
return the current tangent vector

Vec3 getBinormal() const
return the current binormal vector

Vec3 getNormal() const
return the current normal vector

void computeEdgeDirection() throw(ContourLine3D::IllegalGeometry)
compute the 2 neighboring edge length and edge direction

void computeTangent() throw(ContourLine3D::IllegalGeometry)
Computes the tangent vector of a vertex

void computeFrenetFrame() throw(ContourLine3D::IllegalGeometry)
Computes the tangent, normal and binormal vector of a vertex

void setPosition(const Vec3 &pos)
Sets the vertex position
Parameters:
pos - the vertex position

VertexContour3D* getFollowing() const
Returns the right neighboring vertex in the line taking into account the line topology

VertexContour3D* getPrevious() const
Returns the left neighboring vertex in the line taking into account the line topology

Contour3D* getContour3D() const
return the 3D Contour where the vertex is

EdgeContour3D* getEdge() const
return the edge joining this vertex and its following vertex


Direct child classes:
ActiveVertexContour3D

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de