The points are a very useful structure in sliceOmatic. Points can be used as 2D or 3D markers. The SliceO-5 library provide functions to place and move points on the images or geometries. Points also have a "type" (Class_A) parameter that enable you to use points for your own modules without interfering with the "Point" tools in sliceOmatic.
SliceOmatic provide you with functions to insert, move, draw and delete points either on 2D frames or on 3D geometries. By using your own "type" parameter you can have points that will be visible only to your module.
Constructors
The constructor and destructor for the class
Identification
Some of these are derived from the parent (SliceO) class:
|
Private:
|
m_class_a (unsigned short)
|
The exact meaning of the content of "A" depend on the class:
|
SliceO_Point
|
The point type (ex: CLASS_POINT_NORMAL)
Note: The first 100 values are reserved for TomoVision.
|
|
|
Public:
|
Class_A_Get
|
Return the value of the "m_class_a" variable.
|
|
Class_A_Set
|
Set the value of the "m_class_a" variable.
|
|
Private:
|
m_class_b (unsigned short)
|
The exact meaning of content of "B" depend on the class:
|
|
Public:
|
Class_B_Get
|
Return the value of the "m_class_b" variable.
|
|
Class_B_Set
|
Set the value of the "m_class_b" variable.
|
|
Private:
|
m_name (char *)
|
Name of the class instance
|
|
Public:
|
Name_Get
|
Return the name of the class instance
|
|
Name_Set
|
Assign a name to the class instance
|
Point's Properties
|
Private:
|
m_size (float)
|
Displayed size of the point
|
|
Public:
|
Size_Get
|
Return the size of this point
|
|
Size_Set
|
Assign a size to this point
|
|
Private:
|
m_color (unsigned int)
|
Displayed color of the point
|
|
Public:
|
Color_Get
|
Return the color of this point
|
|
Color_Set
|
Assign a color to this point
|
Associated Information
|
Public:
|
m_pos_3D (Point_3D)
|
|
|
m_pos_2D (Point_2D)
|
|
|
frame (SliceO_Frame *)
|
|