26 #ifndef SINGLEIMAGEVOLUMECOMPONENT_H
27 #define SINGLEIMAGEVOLUMECOMPONENT_H
31 #include "Component.h"
37 #include <vtkImageReslice.h>
38 #include <vtkWindowLevelLookupTable.h>
39 #include <vtkImageChangeInformation.h>
61 Q_PROPERTY(
bool viewSliceIn3D READ getViewSliceIn3D WRITE setViewSliceIn3D)
71 virtual void pixelPicked(
double,
double,
double);
74 virtual void setSelected(
const bool,
const bool );
77 void singleImageSelected(
const bool);
79 bool getViewSliceIn3D()
const;
80 void setViewSliceIn3D(
bool);
90 virtual void initRepresentation();
95 vtkSmartPointer<vtkWindowLevelLookupTable>
lut;
InterfaceNode * myParentNode
who is the boss? The Component!
Definition: sdk/libraries/core/component/Component.h:721
This Component manages a set of images, destined to be seen in a single orientation only (axial OR sa...
Definition: SingleImageComponent.h:56
PossibleOrientation
Common slices orientation: axial, sagittal, coronal or anything else.
Definition: InterfaceBitMap.h:90
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:292
#define CAMITK_API
Definition: CamiTKAPI.h:49
InterfaceBitMap::PossibleOrientation sliceOrientation
Definition: SingleImageComponent.h:93
vtkSmartPointer< vtkWindowLevelLookupTable > lut
Definition: SingleImageComponent.h:95
Component * getMyParentComponent()
this method simplify the code, and avoid to cast all the time the myParentNode to a ImageManager...
Definition: SingleImageComponent.h:102