2D camera that can change displayed scene slice
![]() | backgroundDying (void) dying inrimage callback |
![]() | setBackground (SliceCameraBackground *_background) set the background of the slice camera |
![]() | updateSliceables () recompute the display list of all sliceable in the scene |
![]() | update () recompute the display list of all sliceable in the scene |
![]() | getScaleCamera () const returns the (slice) scale attached to the camera |
![]() | setScaleCamera (ScaleCamera *sc) sets the (slice) scale attached to the camera |
![]() | resetScaleCamera () resets the (slice) scale attached to the camera |
![]() | dying (const ObjectPointer<ScaleCamera>& obj) slicescale owner callback |
![]() | objectName (void) const Scalable |
![]() | scaleValue (const TclScale *scale, double val) slice scale value changed |
![]() | sliceName (SliceCamera::SLICE_ORIENTATION geom) const returns slice name string by geometry |
![]() | geomByName (const char *name) const returns geometry by slice name string |
![]() | getSlice (void) const returns slice number |
![]() | getThickness (void) const returns slice thickness |
![]() | getGeometry (void) const returns slice scene geometry |
![]() | setThickness (double d) set new slice thickness |
![]() | setGeometry (SLICE_ORIENTATION geom) Change slice geometry |
![]() | setSlice (double val) shows new slice |
![]() | translateCamera (Vec2 translates camera center and call sliceable objects recompute method |
![]() | scaleCamera (double s) scales camera and call sliceable objects recompute method |
![]() | getBackground (void) const returns slice camera background |
![]() | changeBackground (SliceCameraBackground *b) set a new inrimage in scene |
![]() | getMin (const TclScale *scale) const get min possible scale value for this scalable |
![]() | getMax (const TclScale *scale) const get max possible scale value for this scalable |
![]() | getOffset () const get the offset for drawing background |
![]() | doFocus (void) overloads the computation of the center and scale of the camera |
![]() | focusOnBackground (void) reset camera size to background size and focus camera on background center |
![]() | getInterface (void) const returns camera interface |
![]() | constructor
| ||
![]() | destructor |
![]() | slice visible slice |
![]() | thickness slice thickness |
![]() | geometry visible slice geometry |
![]() | dieOnBackground flag indicating whether to die on inrimage deletion |
![]() | background the camera background (if any) or 0 |
![]() | offset offset when drawing with a visible area |
Constructor
Destructor
protected constructor
2D camera that can change displayed scene slice
SLICE_Y
CYLINDRICAL
SPHERICAL
double thickness
SLICE_ORIENTATION geometry
bool dieOnBackground
SliceCameraBackground* background
Vec2
constructor
destructor
void backgroundDying(void)
void setBackground(SliceCameraBackground *_background)
void updateSliceables()
virtual void update()
ScaleCamera* getScaleCamera() const
void setScaleCamera(ScaleCamera *sc)
void resetScaleCamera()
virtual void dying(const ObjectPointer<ScaleCamera>& obj)
virtual TclString objectName(void) const
virtual void scaleValue(const TclScale *scale, double val)
val - new scale value virtual const char* sliceName(SliceCamera::SLICE_ORIENTATION geom) const
virtual SliceCamera::SLICE_ORIENTATION geomByName(const char *name) const
double getSlice(void) const
double getThickness(void) const
SLICE_ORIENTATION getGeometry(void) const
void setThickness(double d)
void setGeometry(SLICE_ORIENTATION geom)
void setSlice(double val)
virtual void translateCamera(Vec2
virtual void scaleCamera(double s)
SliceCameraBackground* getBackground(void) const
void changeBackground(SliceCameraBackground *b)
virtual double getMin(const TclScale *scale) const
virtual double getMax(const TclScale *scale) const
Vec2
void doFocus(void)
virtual void focusOnBackground(void)
TclSliceCamera* getInterface(void) const
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