 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
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:129
Definition: PixelColorChanger.h:33
@ SUCCESS
everything went according to plan
Definition: Action.h:247
ApplyStatus
Definition: Action.h:246
void setName(QString name)
Definition: Action.cpp:113
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:404
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:124
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:73
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:159
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: PixelColorChanger.cpp:95
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:768
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:314
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:134
virtual vtkSmartPointer< vtkWindowLevelLookupTable > getLut()
get the current lookup table
Definition: ImageComponent.cpp:749
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
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:184
virtual ~PixelColorChanger()
Default Destructor.
Definition: PixelColorChanger.cpp:90
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:119
virtual QWidget * getWidget()
method called when the action when the action is triggered (i.e. started)
Definition: PixelColorChanger.cpp:78
virtual bool addParameter(Property *)
Add a new parameter to the action, using the CamiTK property class.
Definition: Action.cpp:417
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:82
vtkSmartPointer< vtkImageData > getImageData() const
get the image volume managed by this Component
Definition: ImageComponent.h:104
int sizek
size to draw pixels on k axis
Definition: PixelColorChanger.h:86
void refresh()
refresh the display
PixelColorChanger(camitk::ActionExtension *)
Default Constructor.
Definition: PixelColorChanger.cpp:36
Definition: Action.cpp:36