26 #ifndef INTERFACEBITMAP_H
27 #define INTERFACEBITMAP_H
30 #include <vtkSmartPointer.h>
39 class vtkWindowLevelLookupTable;
97 virtual vtkSmartPointer<vtkImageData>
getImageData()
const = 0;
118 virtual void pixelPicked(
double,
double,
double) = 0;
135 virtual void setSlice(
double x,
double y,
double z) = 0;
161 virtual vtkSmartPointer<vtkProp>
getProp(
const QString &) = 0;
167 virtual vtkSmartPointer<vtkProp>
getProp(
unsigned int) = 0;
172 virtual bool addProp(
const QString &, vtkSmartPointer<vtkProp>) = 0;
virtual int getNumberOfSlices() const =0
Return the number of slices in the image data set.
virtual vtkSmartPointer< vtkProp > getProp(const QString &)=0
Return the vtkProp (actors, volumes and annotations) corresponding to the given name.
This class describes what are the methods to implement for a BitMap.
Definition: InterfaceBitMap.h:59
virtual ~InterfaceBitMap()
virtual destructor
Definition: InterfaceBitMap.h:94
Definition: InterfaceBitMap.h:90
virtual bool addProp(const QString &, vtkSmartPointer< vtkProp >)=0
insert an additional prop, defining it by its name (default visibility = false)
QMap< QString, vtkSmartPointer< vtkProp > > extraProp
The additional map for prop (include at least "label" and "glyph".
Definition: InterfaceBitMap.h:158
virtual vtkSmartPointer< vtkActor > getPickPlaneActor() const =0
Return the vtkActor used to pick pixels in the slices.
virtual void setPixelRealPosition(double, double, double)=0
move the pixel selection green indicator (pixelActor) to the given real position
PossibleOrientation
Common slices orientation: axial, sagittal, coronal or anything else.
Definition: InterfaceBitMap.h:86
virtual double getRotationZ() const =0
virtual double getRotationY() const =0
virtual double getRotationX() const =0
Return the current angle applied to the arbitrary slice.
virtual void updatePickPlane()=0
virtual void setRotationZ(double angle)=0
virtual void setSlice(int s)=0
Set the current slice index.
virtual vtkSmartPointer< vtkImageActor > get2DImageActor() const =0
Return the vtkImageActor (vtkProp) representing a slice to be displayed in 2D.
virtual void pixelPicked(double, double, double)=0
This method is called when the associated plane has been picked in the InteractiveViewer, the given coordinates is position where the plane was picked.
Definition: InterfaceBitMap.h:87
virtual bool removeProp(const QString &)=0
remove a given additional prop.
virtual void setRotationY(double angle)=0
virtual vtkSmartPointer< vtkImageData > getImageData() const =0
Return the displayed images as a vtkImageData.
virtual vtkSmartPointer< vtkActor > getPixelActor()=0
Return the vtkActor used to pick pixels in the slices.
virtual void setOriginalVolume(vtkSmartPointer< vtkImageData >)=0
set the original volume image data (the source vtkImageData before any reslice) and refresh the vtk p...
virtual unsigned int getNumberOfProp() const =0
return the number of additional prop
virtual void setRotationX(double angle)=0
Set the current angle to the arbitrary slice.
Definition: InterfaceBitMap.h:88
virtual vtkSmartPointer< vtkImageActor > get3DImageActor() const =0
Return the vtkImageActor (vtkProp) representing a slice to be displayed in 2D.
Definition: InterfaceBitMap.h:89
virtual int getNumberOfColors() const =0
Return the number of colors in the images.
virtual int getSlice() const =0
Return the index of the current displayed slice.