In file inrimage/OverlayInrimageView.h:

class OverlayInrimageView : public InrimageView

A viewer for merging 2 inrimage of the same size and type

Inheritance:


Public Methods

virtual ~OverlayInrimageView ()
destruction: do not delete visualized inrimage
virtual void doCreateCamera (SliceCamera& cam)
add a camera in inrimage view management
Inrimage* getFirstInrimage () const
returns the first pointed inrimage
Inrimage* getSecondInrimage () const
returns the second pointed inrimage
virtual void changeInrimage (Inrimage *inr)
Modifies the first inrimage and updates all slices
virtual void changeSecondInrimage (Inrimage *inr)
Modifies the secoond inrimage and Updates all slices
InrimageSliceInterface* getSecondSliceInterface () const
returns the second slice interface associated with the image

Public

Exception classes
class MismatchedImageType : public Exception
mismatched inrimage type
class MismatchedImageSize : public Exception
mismatched inrimage size
class NoImage : public Exception
empty inrimage
constructors
OverlayInrimageView (Inrimage *inr1, Inrimage *inr2, Scene2D *scene, bool _createGLScale=true) throw(MismatchedImageType, MismatchedImageSize, NoImage)
Normal constructor by specifiying 2 inrimages to merge and display

Protected Fields

ObjectPointer <Inrimage> secondImage
second intensity image
InrimageSliceInterface* secondSliceInterface
the slice interface linked to the second image

Inherited from InrimageView:

Public Methods

virtual void dying(const ObjectPointer < Inrimage > &)
void focusCamera(SliceCamera& cam)
virtual void createdCamera(SliceCamera& cam)
void deletedCamera(SliceCamera& cam)
Scene2D* getScene(void) const
InrimageBackground* getBackgroundFromCamera(SliceCamera *cam)
virtual void translate(const Vec2& t)
virtual void rotate(const Rotation2D &r)
virtual void scale(const double s)
virtual void updateCenter(Vec2& center, unsigned int& n)
virtual void select(Camera2D *)
virtual double updateRadius(const Vec2& center)
virtual double computeClosestDistance(DataTypes::MouseClick& mc) const
std::list <InrimageBackground *> ::iterator firstBackground()
std::list <InrimageBackground *> ::iterator lastBackground()
Inrimage* getInrimage() const
void refreshCameras(void)
virtual void unselect(Camera2D *)
virtual void redraw(Camera2D *cam)
InrimageSliceInterface* getSliceInterface() const

Protected Fields

InrimageSliceInterface* sliceInterface
std::list <InrimageBackground *> backgroundList
bool createGLScale

Protected Methods

void init(void)

Documentation

A viewer for merging 2 inrimage of the same size and type
Exception classes

class MismatchedImageType: public Exception
mismatched inrimage type

class MismatchedImageSize: public Exception
mismatched inrimage size

class NoImage: public Exception
empty inrimage

ObjectPointer <Inrimage> secondImage
second intensity image

InrimageSliceInterface* secondSliceInterface
the slice interface linked to the second image

constructors

OverlayInrimageView(Inrimage *inr1, Inrimage *inr2, Scene2D *scene, bool _createGLScale=true) throw(MismatchedImageType, MismatchedImageSize, NoImage)
Normal constructor by specifiying 2 inrimages to merge and display
Parameters:
inr1 - first inrimage to draw
inr2 - second inrimage to draw
scene - scene to build data in
_createGLScale - boolean indicating if we should create GLScales associated with each background

virtual ~OverlayInrimageView()
destruction: do not delete visualized inrimage

virtual void doCreateCamera(SliceCamera& cam)
add a camera in inrimage view management

Inrimage* getFirstInrimage() const
returns the first pointed inrimage

Inrimage* getSecondInrimage() const
returns the second pointed inrimage

virtual void changeInrimage(Inrimage *inr)
Modifies the first inrimage and updates all slices

virtual void changeSecondInrimage(Inrimage *inr)
Modifies the secoond inrimage and Updates all slices

InrimageSliceInterface* getSecondSliceInterface() const
returns the second slice interface associated with the image


This class has no child classes.

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