|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
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);
91 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_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
Display a slice (i.e. an image or BitMap) of an ImageComponent. Helper class.
Definition: Slice.h:149
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
This Component manages sub-component of the image component seen as a single orientation only (axial ...
Definition: SingleImageComponent.h:61
vtkSmartPointer< vtkTransform > transform
Definition: RendererWidget.cpp:372
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
SingleImageComponent(Component *parentComponent, Slice::SliceOrientation, const QString &name, vtkSmartPointer< vtkWindowLevelLookupTable > lut)
Constructor.
Definition: SingleImageComponent.cpp:72
SliceOrientation
Common slices orientation: axial, sagittal, coronal axial_neuro.
Definition: Slice.h:197
#define CAMITK_API_DEPRECATED(X)
Definition: CamiTKAPI.h:94
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:35