26 #ifndef INTERFACEBITMAP_H
27 #define INTERFACEBITMAP_H
30 #include <vtkSmartPointer.h>
33 #include <CamiTKDisableWarnings>
35 #include <CamiTKReEnableWarnings>
45 class vtkWindowLevelLookupTable;
119 virtual void setSlice(
double x,
double y,
double z) = 0;
145 virtual vtkSmartPointer<vtkProp>
getProp(
const QString&) = 0;
151 virtual vtkSmartPointer<vtkProp>
getProp(
unsigned int) = 0;
156 virtual bool addProp(
const QString&, vtkSmartPointer<vtkProp>) = 0;
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
This class describes what are the methods to implement for a BitMap.
Definition: InterfaceBitMap.h:68
virtual int getSlice() const =0
Return the index of the current displayed slice.
virtual vtkSmartPointer< vtkProp > getProp(unsigned int)=0
return an additional prop by its index
virtual bool addProp(const QString &, vtkSmartPointer< vtkProp >)=0
insert an additional prop, defining it by its name (default visibility = false)
virtual vtkSmartPointer< vtkImageActor > get3DImageActor() const =0
Return the vtkImageActor (vtkProp) representing a slice to be displayed in 3D viewers.
virtual void setSlice(double x, double y, double z)=0
Set the slice corresponding to the given image coordinates (in RAI convention)
virtual vtkSmartPointer< vtkActor > getPickPlaneActor() const =0
Return the vtkActor used to pick pixels in the slices.
virtual void setImageWorldTransform(vtkSmartPointer< vtkTransform >)=0
set the transformation for 3D image representation
virtual void setArbitraryTransform(vtkSmartPointer< vtkTransform >)=0
Set the pointer to the image transformation.
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 bool removeProp(const QString &)=0
remove a given additional prop.
virtual unsigned int getNumberOfProp() const =0
return the number of additional prop
virtual void setOriginalVolume(vtkSmartPointer< vtkImageData >)=0
set the original volume image data (the source vtkImageData before any reslice) and refresh the vtk p...
virtual void updatePickPlane()=0
update the position of the plane surrounding the currently selected slice
virtual vtkSmartPointer< vtkImageActor > get2DImageActor() const =0
Return the vtkImageActor (vtkProp) representing a slice to be displayed in 2D viewers.
virtual ~InterfaceBitMap()=default
virtual destructor
virtual void setSlice(int s)=0
Set the current slice index.
virtual int getNumberOfColors() const =0
Return the number of colors in the images.
virtual void setPixelRealPosition(double, double, double)=0
move the pixel selection green indicator (pixelActor) to the given real position
virtual void pixelPicked(double, double, double)=0
This method is called when the associated plane has been picked in the InteractiveViewer,...
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.
Definition: Action.cpp:36