26 #ifndef INTERFACEBITMAP_H 27 #define INTERFACEBITMAP_H 30 #include <vtkSmartPointer.h> 40 class vtkWindowLevelLookupTable;
95 virtual void pixelPicked(
double,
double,
double) = 0;
112 virtual void setSlice(
double x,
double y,
double z) = 0;
123 virtual vtkSmartPointer<vtkImageData>
getImageData()
const = 0;
130 virtual vtkSmartPointer<vtkProp>
getProp(
const QString&) = 0;
136 virtual vtkSmartPointer<vtkProp>
getProp(
unsigned int) = 0;
141 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:63
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:127
virtual vtkSmartPointer< vtkActor > getPickPlaneActor() const =0
Return the vtkActor used to pick pixels in the slices.
Definition: Action.cpp:36
virtual void setPixelRealPosition(double, double, double)=0
move the pixel selection green indicator (pixelActor) to the given real position
virtual void updatePickPlane()=0
virtual void setSlice(int s)=0
Set the current slice index.
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
virtual vtkSmartPointer< vtkImageActor > get2DImageActor() const =0
Return the vtkImageActor (vtkProp) representing a slice to be displayed in 2D viewers.
virtual void pixelPicked(double, double, double)=0
Return 2D Axes at the proper slice origin.
virtual ~InterfaceBitMap()=default
virtual destructor
virtual bool removeProp(const QString &)=0
remove a given additional prop.
virtual void setImageWorldTransform(vtkSmartPointer< vtkTransform >)=0
set the transformation for 3D image representation
virtual vtkSmartPointer< vtkImageData > getImageData() const =0
Returns the encapsultaed data structure: the image 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 vtkSmartPointer< vtkImageActor > get3DImageActor() const =0
Return the vtkImageActor (vtkProp) representing a slice to be displayed in 3D viewers.
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.