|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
25 #ifndef PIXELCOLORCHANGER_H
26 #define PIXELCOLORCHANGER_H
67 #endif // PIXELCOLORCHANGER_H
int sizei
size to draw pixels on i axis
Definition: PixelColorChanger.h:82
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
Definition: PixelColorChanger.h:33
@ SUCCESS
everything went according to plan
Definition: Action.h:248
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
void setAutoUpdateProperties(bool)
are the properties to be udpated every time the user makes a change in the widget (default is false)?
Definition: Action.cpp:426
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:166
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: PixelColorChanger.cpp:98
void getLastPixelPicked(int *x, int *y, int *z)
Get the last pixel picked using CTRL + LEFT/RIGHT CLICK in voxel index (i, j, k) indicates the voxel ...
Definition: ImageComponent.cpp:773
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:303
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
virtual vtkSmartPointer< vtkWindowLevelLookupTable > getLut()
get the current lookup table
Definition: ImageComponent.cpp:742
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
bool isConnected
is the widget automatically connected to image picking
Definition: PixelColorChanger.h:88
void setAttribute(const QString &attribute, const QVariant &value)
Set a given property for this attribute.
Definition: Property.cpp:183
virtual ~PixelColorChanger()
Default Destructor.
Definition: PixelColorChanger.cpp:79
int newColorValue
new color given to picked pixel
Definition: PixelColorChanger.h:80
int sizej
size to draw pixels on j axis
Definition: PixelColorChanger.h:84
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
virtual QWidget * getWidget()
method called when the action when the action is triggered (i.e. started)
Definition: PixelColorChanger.cpp:84
virtual bool addParameter(Property *)
Add a new parameter to the action, using the CamiTK property class.
Definition: Action.cpp:440
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
int sizek
size to draw pixels on k axis
Definition: PixelColorChanger.h:86
vtkSmartPointer< vtkImageData > getImageData() const override
get the image volume managed by this Component
Definition: ImageComponent.h:123
void refresh()
refresh the display
PixelColorChanger(camitk::ActionExtension *)
Default Constructor.
Definition: PixelColorChanger.cpp:36
Definition: Action.cpp:35