class SurfaceView : public Sliceable, public Owner<SurfaceSliceable> a class allowing to display a surface in a slice camera
| | the different type of interaction when the left mouse button is pressed, moved and released |
| | recompute (SliceCamera *cam) slice changed callback |
| | buttonPressedCallback (SliceCamera *slicecam, int mx, int my) callback called when a button is pressed in the slicecamera |
| | buttonMotionCallback (SliceCamera *slicecam, int mx, int my) callback called when a button is moved in the slicecamera |
| | buttonReleasedCallback (SliceCamera *slicecam, int mx, int my) callback called when a button is released in the slicecamera |
| | updateCenter (Vec2 Returns the graphic object center and weight. |
| | updateRadius (const Vec2 Returns the graphic object radius given its center |
| | computeClosestDistance (DataTypes::MouseClick& mc) const Return MAXDOUBLE, an image is considered as background and may not be selected |
| | redraw (Camera2D *cam) default redraw function for sliceable objects |
| | getSurface () const returns the mesh referenced by this object |
| | constructor
| ||
| | destructor
|
| | dying (const ObjectPointer<SurfaceSliceable>& obj) a mesh owned by this object is being destroyed |
Constructor
Destructor
protected constructor
a class allowing to display a surface in a slice camera
bool useZonesColor
float traceColor[3]
TclString traceName
constructor
destructor
virtual void recompute(SliceCamera *cam)
virtual void buttonPressedCallback(SliceCamera *slicecam, int mx, int my)
mx - first coordinate of the pixel clicked
my - second coordinate of the pixel clicked
virtual void buttonMotionCallback(SliceCamera *slicecam, int mx, int my)
mx - first coordinate of the mouse position
my - second coordinate of the mouse position
virtual void buttonReleasedCallback(SliceCamera *slicecam, int mx, int my)
mx - first coordinate of the mouse position
my - second coordinate of the mouse position
virtual void updateCenter(Vec2
virtual double updateRadius(const Vec2
virtual double computeClosestDistance(DataTypes::MouseClick& mc) const
virtual void redraw(Camera2D *cam)
SurfaceSliceable* getSurface() const
virtual void dying(const ObjectPointer<SurfaceSliceable>& obj)
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