In file contour/VertexContour3D.h:

class EdgeContour3D : public EdgeContour

an edge of a 3D contour

Inheritance:


Public Methods

VertexContour3D* getFirstVertex () const
Returns a pointer to the first vertex of an edge
VertexContour3D* getSecondVertex () const
Returns a pointer to the second vertex of an edge
Vec3 getDirection () const
Return edge's direction

Public

Constructors
EdgeContour3D (VertexContour3D *firstVertex, VertexContour3D *secondVertex=0)
Build an edge given its two vertices
Destructors
virtual ~EdgeContour3D ()
empty Destructor

Protected Fields

double length
length used to control the contour resolution
Vec3 direction
A unit length vector corresponding to the direction of the edge

Protected Methods

virtual VertexContour* createVertex () const
create a new vertex : use a virtual function in order to create inherited vertices

Inherited from EdgeContour:

Public Methods

void cutEdge()
VertexContour* addVertex()
int getTopologicalDistance(const EdgeContour *e) const

Protected Fields

VertexContour* vertex[2]

Documentation

an edge of a 3D contour
double length
length used to control the contour resolution

Vec3 direction
A unit length vector corresponding to the direction of the edge

Constructors

EdgeContour3D(VertexContour3D *firstVertex, VertexContour3D *secondVertex=0)
Build an edge given its two vertices
Parameters:
firstVertex - the first edge vertex where the edge is stored
secondVertex - the second edge vertex

Destructors

virtual ~EdgeContour3D()
empty Destructor

VertexContour3D* getFirstVertex() const
Returns a pointer to the first vertex of an edge

VertexContour3D* getSecondVertex() const
Returns a pointer to the second vertex of an edge

Vec3 getDirection() const
Return edge's direction

virtual VertexContour* createVertex() const
create a new vertex : use a virtual function in order to create inherited vertices


Direct child classes:
EdgeActiveContour3D

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