a class that defines 2D shape primitives that can be used to create several types of 2D contours
enum | PrimitiveType the types of primitives | ||||||||||||||||||||||||||||||
class | Primitive : public ListElement<Primitive> The basic primitive class
| ||||||||||||||||||||||||||||||
class | CirclePrimitive : public Primitive The circle primitive
| ||||||||||||||||||||||||||||||
class | EllipsePrimitive : public Primitive The ellipse primitive
| ||||||||||||||||||||||||||||||
class | RectanglePrimitive : public Primitive The rectangle primitive
| ||||||||||||||||||||||||||||||
class | PolygonPrimitive : public Primitive The polygon primitive i
|
ObjectsList <Primitive> ::iterator | firstPrimitive () returns the first item of the primitive list |
ObjectsList <Primitive> ::iterator | lastPrimitive () returns the last item of the primitive list |
unsigned int | getMaxNbVertices () const get the maximum number of vertices when creating a Contour2D or ActiveContour2D |
void | setMaxNbVertices (const unsigned int max) set the maximum number of vertices when creating a Contour2D or ActiveContour2D |
TclObject* | getTclInterface () const get the contour Tcl interface |
void | getPrimitiveColor (double &r, double &g, double &b) returns the color of primitives |
void | getSelectedPrimitiveColor (double &r, double &g, double &b) returns the color of the selected primitive |
Primitive* | getSelectedPrimitive () const gets the selected primitive |
void | setSelectedPrimitive (Primitive *p) sets the selected primitive |
virtual void | redraw (Camera2D *c) the redraw function |
virtual void | updateCenter (Vec2 Do not modifies the center of the scene |
virtual double | updateRadius (const Vec2 Do not modifies the radius of the scene |
virtual double | computeClosestDistance (MouseClick& mc) const dummy routine for selecting the init contour that should neither be called |
Constructors
| |||
Destructor
|
ObjectsList <Primitive> | primitiveList the list of primitives |
static const unsigned int | defaultMaxNbVertices the default maximum number of vertices |
unsigned int | maxNbVertices the maximum number of vertices when creating a Contour2D or ActiveContour2D |
Primitive* | selectedPrimitive the selected primitive |
static const float | defaultPrimitiveColor [3] the default primitive color |
float | primitiveColor [3] the primitive color |
static const float | defaultSelectedPrimitiveColor [3] the default selected primitive color |
float | selectedPrimitiveColor [3] the selected primitive color |
a class that defines 2D shape primitives that can be used to create several types of 2D contours
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