class InrimageView : public Sliceable, public Owner<Inrimage> A viewer for an inrimage slice
| | ~InrimageView () destruction: do not delete visualized inrimage |
| | dying (const ObjectPointer < Inrimage > &) die on inrimage deletion |
| | focusCamera (SliceCamera& cam) focus camera on image center |
| | createdCamera (SliceCamera& cam) add a camera in inrimage view management if needed |
| | doCreateCamera (SliceCamera& cam) add a camera in inrimage view management |
| | deletedCamera (SliceCamera& cam) remove a camera from inrimage view management |
| | getScene (void) const return this object scene |
| | getBackgroundFromCamera (SliceCamera *cam) returns eventually the TclImage associated with a given slice camera |
| | translate (const Vec2 Translates the 2D object |
| | rotate (const Rotation2D &r) Rotates the 2D object: no rotation available for images |
| | scale (const double s) Scales the 2D object |
| | updateCenter (Vec2 Returns the graphic object center and weight. |
| | select (Camera2D *) nothing done when an image is selected |
| | 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 |
| | firstBackground () return iterator on the first background |
| | lastBackground () return iterator on the last background |
| | getInrimage () const returns the pointed inrimage |
| | changeInrimage (Inrimage *inr) Modifies the pointed image and Updates all images |
| | refreshCameras (void) reset inrimageBackgrounds objects list pointers to cameras |
| | unselect (Camera2D *) nothing done when an image is unselected |
| | redraw (Camera2D *cam) default redraw function for sliceable objects |
| | getSliceInterface () const returns the slice interface associated with the image |
| | constructors
|
| | sliceInterface the slice interface linked to the image |
| | backgroundList the list of backgrounds associated with the inrimage view |
| | createGLScale whether we should create |
| | init (void) constructors common code |
| | constructors
|
A viewer for an inrimage slice
InrimageView(const TclString &filename, Scene2D *scene)
scene - scene to build data in
InrimageSliceInterface* sliceInterface
std::list <InrimageBackground *> backgroundList
bool createGLScale
constructors
virtual ~InrimageView()
virtual void dying(const ObjectPointer < Inrimage > &)
void focusCamera(SliceCamera& cam)
virtual void createdCamera(SliceCamera& cam)
virtual void doCreateCamera(SliceCamera& cam)
void deletedCamera(SliceCamera& cam)
Scene2D* getScene(void) const
InrimageBackground* getBackgroundFromCamera(SliceCamera *cam)
virtual void translate(const Vec2
virtual void rotate(const Rotation2D &r)
virtual void scale(const double s)
virtual void updateCenter(Vec2
virtual void select(Camera2D *)
virtual double updateRadius(const Vec2
virtual double computeClosestDistance(DataTypes::MouseClick& mc) const
std::list <InrimageBackground *> ::iterator firstBackground()
std::list <InrimageBackground *> ::iterator lastBackground()
Inrimage* getInrimage() const
virtual void changeInrimage(Inrimage *inr)
void refreshCameras(void)
virtual void unselect(Camera2D *)
virtual void redraw(Camera2D *cam)
InrimageSliceInterface* getSliceInterface() 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