3D box drawable in a slicecamera for ROI selection purpose
virtual void | recompute (SliceCamera *cam) Sliceable recompute virtual method |
const unsigned int* | getBox (void) const returns box coordinates |
void | setClosestFace (TimeSliceCamera::TIME_GEOMETRY geom, unsigned int x, unsigned int y, unsigned int z, unsigned int t) selects closest box face to given voxel |
void | moveFace (unsigned int x, unsigned int y, unsigned int z, unsigned int t) moves selected box face to given voxel |
void | releaseFace (void) unselect box face |
virtual void | buttonPressedCallback (SliceCamera *slicecam, int mx, int my) callback called when a button is pressed in the slicecamera |
virtual void | buttonMotionCallback (SliceCamera *slicecam, int mx, int my) callback called when a button is moved in the slicecamera |
virtual void | buttonReleasedCallback (SliceCamera *slicecam, int mx, int my) callback called when a button is released in the slicecamera |
virtual void | translate (const Vec2 Translates the 2D object @param t translation vector |
virtual void | rotate (const Rotation2D &r) Rotates the 2D object: no rotation available for images |
virtual void | scale (const double s) Scales the 2D object |
virtual void | updateCenter (Vec2 Returns the graphic object center and weight. |
virtual double | updateRadius (const Vec2 Returns the graphic object radius given its center |
virtual double | computeClosestDistance (DataTypes::MouseClick& mc) const Return MAXDOUBLE, an image is considered as background and may not be selected |
virtual void | select (Camera2D *) nothing done when an image is selected |
virtual void | unselect (Camera2D *) nothing done when an image is unselected |
virtual void | redraw (Camera2D *cam) default redraw function for sliceable objects |
static int | list (TclModule *m, int argc, char **argv) new TCL command callback |
static int | create (TclModule *m, int argc, char **argv) new TCL command callback |
int | destroyCmd (int argc, char **argv) -destroy option |
int | boxSizeCmd (int argc, char **argv) -boxSize option |
constructor
| |||
destructor
|
unsigned int | box [8] box ccordinates |
TclString | color drawing color |
TclString | menu right mouse button popup menu |
FACE | face selected box face |
Constructor
Destructor
protected constructor
3D box drawable in a slicecamera for ROI selection purpose
scene - scene that object lies in
x1 - box first x coordinate
y1 - box first y coordinate
z1 - box first z coordinate
t1 - box first time coordinate
x2 - box second x coordinate
y2 - box second y coordinate
z2 - box second z coordinate
t2 - box second time coordinate
color - box color
right - mouse button popup menu
mx - first coordinate of the pixel clicked
my - second coordinate of the pixel clicked
mx - first coordinate of the mouse position
my - second coordinate of the mouse position
mx - first coordinate of the mouse position
my - second coordinate of the mouse position
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