class SliceContour3D : public Data3D 3D interface associated with a 2D slice active contour 3D
| | setOffset (const Vec3 set the offset position of the slice contours in 3D |
| | getOffset () const returns the offset position of all contour vertices |
| | redraw (Camera3D *cam) redraw the slice active contour in 3D |
| | computeClosestDistance (DataTypes::MouseClick &mc) const returns the distance between a mouse position and a given contour |
| | contourChanged () reset display List |
| | updateCenter (Vec3 updates the center position of the 3D contour |
| | updateRadius (const Vec3 Given a 3D point, returns the smallest sphere radius enclosing the 3D contour @aparam center give the sphere center |
| | getSliceContour () const returns the slice active contour 2D associated with the 3D slice contour |
| | buildContourDisplayList () creates the Open GL display list of the 3D contours |
| | getSelectionMode () const Returns the selection mode |
| | setSelectionMode (const Contour::SelectionMode mode) Sets the selection mode |
| | selectVertex (const Vec2 select the contour vertex closest from a given position and set the selectedVertex variable |
| | selectLine (const Vec2 select the contour line closest from a given position and set the selectedLine variable |
| | selectObject (const Vec2 a function that allows to perform a task on a 3D active contour from a mouse click |
| | Exception classes | ||
| | Constructors
| ||
| | destructor
|
| | sliceContour the associated slice active contour |
| | offset the offset position of all vertex positions |
| | contourDisplayList display list for drawing contours |
| | wireframeColor [3] wireframe color |
| | wireframeWidth wireframe line width |
3D interface associated with a 2D slice active contour 3D
class InterfaceAlreadyExists: public Exception
Vec3
GLuint contourDisplayList
float wireframeColor[3]
GLfloat wireframeWidth
Constructors
SliceContour3D(Scene3D *scene3D, SliceActiveContour2D *contour) throw(Empty2DSliceContour, InterfaceAlreadyExists)
contour - : the associated 2D slice active contour
destructor
void setOffset(const Vec3
Vec3
virtual void redraw(Camera3D *cam)
double computeClosestDistance(DataTypes::MouseClick &mc) const
void contourChanged()
void updateCenter(Vec3
n - a integer that is set to the total number of contour vertices : it does not need to be initialized
double updateRadius(const Vec3
SliceActiveContour2D* getSliceContour() const
void buildContourDisplayList()
Contour::SelectionMode getSelectionMode() const
void setSelectionMode(const Contour::SelectionMode mode)
void selectVertex(const Vec2
cam - a 3D camera
void selectLine(const Vec2
cam - a 3D camera
virtual void selectObject(const Vec2
cam - the camera *from which the object is selected
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