26 #ifndef SINGLEIMAGEVOLUMECOMPONENT_H
27 #define SINGLEIMAGEVOLUMECOMPONENT_H
31 #include "Component.h"
38 #include <vtkImageReslice.h>
39 #include <vtkWindowLevelLookupTable.h>
65 Q_PROPERTY(
bool viewSliceIn3D READ getViewSliceIn3D WRITE setViewSliceIn3D)
75 virtual void pixelPicked(
double,
double,
double)
override;
78 virtual void setSelected(
const bool,
const bool)
override;
81 virtual void singleImageSelected(
const bool);
92 CAMITK_API_DEPRECATED(
"Please use getVisibility(\"3D Viewer\") instead") virtual
bool getViewSliceIn3D() const;
103 virtual
void setTransform(vtkSmartPointer<vtkTransform>) override;
104 virtual
void resetTransform() override;
105 virtual
void translate(
double,
double,
double) override;
106 virtual
void rotate(
double,
double,
double) override;
107 virtual
void rotateVTK(
double,
double,
double) override;
108 virtual
void setTransformTranslation(
double,
double,
double) override;
109 virtual
void setTransformTranslationVTK(
double,
double,
double) override;
110 virtual
void setTransformRotation(
double,
double,
double) override;
111 virtual
void setTransformRotationVTK(
double,
double,
double) override;
115 Slice::SliceOrientation getSliceOrientation();
119 virtual
void initRepresentation() override final;
122 Slice::SliceOrientation sliceOrientation;
125 vtkSmartPointer<vtkWindowLevelLookupTable> lut;
#define CAMITK_API_DEPRECATED(X)
Definition: CamiTKAPI.h:94
#define CAMITK_API
Definition: CamiTKAPI.h:49
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:303
This Component manages sub-component of the image component seen as a single orientation only (axial ...
Definition: SingleImageComponent.h:61
~SingleImageComponent() override=default
Destructor.
Display a slice (i.e.
Definition: Slice.h:126
SliceOrientation
Common slices orientation: axial, sagittal, coronal axial_neuro.
Definition: Slice.h:151
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:181
Definition: Action.cpp:36