26 #ifndef SINGLEIMAGEVOLUMECOMPONENT_H 27 #define SINGLEIMAGEVOLUMECOMPONENT_H 31 #include "Component.h" 37 #include <vtkImageReslice.h> 38 #include <vtkWindowLevelLookupTable.h> 39 #include <vtkImageChangeInformation.h> 59 Q_PROPERTY(
bool viewSliceIn3D READ getViewSliceIn3D WRITE setViewSliceIn3D)
64 SingleImageComponent(
Component *parentComponent, InterfaceBitMap::PossibleOrientation,
const QString & name, vtkSmartPointer<vtkWindowLevelLookupTable> lut);
69 virtual void pixelPicked(
double,
double,
double);
72 virtual void setSelected(
const bool,
const bool );
76 virtual void setTransformFromParent(vtkSmartPointer<vtkTransform>);
79 void singleImageSelected(
const bool);
81 bool getViewSliceIn3D()
const;
82 void setViewSliceIn3D(
bool);
92 virtual void initRepresentation();
97 vtkSmartPointer<vtkWindowLevelLookupTable>
lut;
This Component manages a set of images, destined to be seen in a single orientation only (axial OR sa...
Definition: SingleImageComponent.h:55
Definition: Action.cpp:40
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:299
#define CAMITK_API
Definition: CamiTKAPI.h:49
InterfaceBitMap::PossibleOrientation sliceOrientation
Definition: SingleImageComponent.h:95
vtkSmartPointer< vtkWindowLevelLookupTable > lut
Definition: SingleImageComponent.h:97
Component * getMyParentComponent()
this method simplify the code, and avoid to cast all the time the myParentNode to a ImageManager...
Definition: SingleImageComponent.h:104