#include <vtkKWColorTransferFunctionEditor.h>
Inheritance diagram for vtkKWColorTransferFunctionEditor:
[NOHEADER] | |
enum | { ColorRampPositionDefault = 10, ColorRampPositionCanvas } |
virtual void | SetColorRampPosition (int) |
virtual int | GetColorRampPosition () |
virtual void | SetColorRampPositionToDefault () |
virtual void | SetColorRampPositionToCanvas () |
[NOHEADER] | |
enum | { ColorRampOutlineStyleNone = 0, ColorRampOutlineStyleSolid, ColorRampOutlineStyleSunken } |
virtual void | SetColorRampOutlineStyle (int) |
virtual int | GetColorRampOutlineStyle () |
virtual void | SetColorRampOutlineStyleToNone () |
virtual void | SetColorRampOutlineStyleToSolid () |
virtual void | SetColorRampOutlineStyleToSunken () |
Public Types | |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWColorTransferFunctionEditor, vtkKWParameterValueHermiteFunctionEditor) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | Update () |
virtual void | UpdateEnableState () |
virtual vtkColorTransferFunction * | GetColorTransferFunction () |
virtual void | SetColorTransferFunction (vtkColorTransferFunction *) |
virtual int | GetPointColorAsRGB (int id, double rgb[3]) |
virtual int | GetPointColorAsHSV (int id, double hsv[3]) |
virtual int | SetPointColorAsRGB (int id, const double rgb[3]) |
virtual int | SetPointColorAsRGB (int id, double r, double g, double b) |
virtual int | SetPointColorAsHSV (int id, const double hsv[3]) |
virtual int | SetPointColorAsHSV (int id, double h, double s, double v) |
virtual void | ColorRampVisibilityOn () |
virtual void | ColorRampVisibilityOff () |
virtual void | SetColorRampVisibility (int) |
virtual int | GetColorRampVisibility () |
virtual vtkColorTransferFunction * | GetColorRampTransferFunction () |
virtual void | SetColorRampTransferFunction (vtkColorTransferFunction *) |
virtual void | SetColorRampHeight (int) |
virtual int | GetColorRampHeight () |
virtual void | SetColorSpaceOptionMenuVisibility (int) |
virtual void | ColorSpaceOptionMenuVisibilityOn () |
virtual void | ColorSpaceOptionMenuVisibilityOff () |
virtual int | GetColorSpaceOptionMenuVisibility () |
virtual void | ValueEntriesVisibilityOn () |
virtual void | ValueEntriesVisibilityOff () |
virtual void | SetValueEntriesVisibility (int) |
virtual int | GetValueEntriesVisibility () |
virtual void | ColorSpaceCallback () |
virtual void | ValueEntriesCallback () |
virtual void | DoubleClickOnPointCallback (int x, int y) |
virtual int | HasFunction () |
virtual int | GetFunctionSize () |
virtual unsigned long | GetFunctionMTime () |
virtual int | GetFunctionPointParameter (int id, double *parameter) |
virtual int | GetFunctionPointDimensionality () |
Static Public Member Functions | |
vtkKWColorTransferFunctionEditor * | New () |
Protected Member Functions | |
vtkKWColorTransferFunctionEditor () | |
~vtkKWColorTransferFunctionEditor () | |
virtual void | UpdatePointEntries (int id) |
virtual int | GetFunctionPointValues (int id, double *values) |
virtual int | SetFunctionPointValues (int id, const double *values) |
virtual int | InterpolateFunctionPointValues (double parameter, double *values) |
virtual int | AddFunctionPoint (double parameter, const double *values, int *id) |
virtual int | SetFunctionPoint (int id, double parameter, const double *values) |
virtual int | RemoveFunctionPoint (int id) |
virtual int | GetFunctionPointMidPoint (int id, double *pos) |
virtual int | SetFunctionPointMidPoint (int id, double pos) |
virtual int | GetFunctionPointSharpness (int id, double *sharpness) |
virtual int | SetFunctionPointSharpness (int id, double sharpness) |
virtual int | MoveFunctionPointInColorSpace (int id, double parameter, const double *values, int colorspace) |
virtual void | Redraw () |
virtual void | RedrawSizeDependentElements () |
virtual void | RedrawPanOnlyDependentElements () |
virtual void | RedrawFunctionDependentElements () |
virtual void | RedrawSinglePointDependentElements (int id) |
virtual void | UpdateHistogramImageDescriptor (vtkKWHistogram::ImageDescriptor *) |
virtual void | Pack () |
virtual void | PackPointEntries () |
virtual void | RedrawColorRamp () |
virtual int | IsColorRampUpToDate () |
virtual void | GetColorRampOutlineSunkenColors (unsigned char bg_rgb[3], unsigned char ds_rgb[3], unsigned char ls_rgb[3], unsigned char hl_rgb[3]) |
virtual void | UpdatePointEntriesLabel () |
virtual void | UpdateColorSpaceOptionMenu () |
virtual void | CreateColorSpaceOptionMenu (vtkKWApplication *app) |
virtual void | CreateColorRamp (vtkKWApplication *app) |
virtual void | CreateValueEntries (vtkKWApplication *app) |
virtual int | IsTopLeftFrameUsed () |
virtual int | IsPointEntriesFrameUsed () |
Protected Attributes | |
vtkColorTransferFunction * | ColorTransferFunction |
vtkColorTransferFunction * | ColorRampTransferFunction |
int | ValueEntriesVisibility |
int | ColorSpaceOptionMenuVisibility |
int | ColorRampVisibility |
int | ColorRampHeight |
int | ColorRampPosition |
int | ColorRampOutlineStyle |
unsigned long | LastRedrawColorRampTime |
vtkKWMenuButton * | ColorSpaceOptionMenu |
vtkKWEntryWithLabel * | ValueEntries [3] |
vtkKWLabel * | ColorRamp |
A widget that allows the user to edit a color transfer function. Note that as a subclass of vtkKWParameterValueFunctionEditor, since the 'value' range is multi-dimensional (r, g, b), this widget only allows the 'parameter' of a function point to be changed (i.e., a point can only be moved horizontally).
Definition at line 39 of file vtkKWColorTransferFunctionEditor.h.
|
Display the color ramp at the default position (under the canvas), or in the canvas itself. The ColorRampVisibility parameter still has to be On for the ramp to be displayed. BTX Definition at line 89 of file vtkKWColorTransferFunctionEditor.h. |
|
Set/get the color ramp outline style. BTX
Definition at line 107 of file vtkKWColorTransferFunctionEditor.h. |
|
|
|
|
|
Reimplemented from vtkKWWidgetWithLabel. |
|
|
|
Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Get/Set the function Note that the whole parameter range is automatically reset to the function range. |
|
Get/Set the function Note that the whole parameter range is automatically reset to the function range. |
|
Set/Get a point color. Those methodes do not trigger any commands/events. Return 1 on success, 0 otherwise (if point does not exist for example) |
|
Set/Get a point color. Those methodes do not trigger any commands/events. Return 1 on success, 0 otherwise (if point does not exist for example) |
|
Set/Get a point color. Those methodes do not trigger any commands/events. Return 1 on success, 0 otherwise (if point does not exist for example) |
|
Set/Get a point color. Those methodes do not trigger any commands/events. Return 1 on success, 0 otherwise (if point does not exist for example) |
|
Set/Get a point color. Those methodes do not trigger any commands/events. Return 1 on success, 0 otherwise (if point does not exist for example) |
|
Set/Get a point color. Those methodes do not trigger any commands/events. Return 1 on success, 0 otherwise (if point does not exist for example) |
|
Set/Get the color ramp visibility. |
|
Set/Get the color ramp visibility. |
|
Set/Get the color ramp visibility. |
|
Set/Get the color ramp visibility. |
|
Get/Set a specific function to display in the color ramp. If not specified, the ColorTransferFunction will be used. |
|
Get/Set a specific function to display in the color ramp. If not specified, the ColorTransferFunction will be used. |
|
Set/Get the color ramp height (in pixels). |
|
Set/Get the color ramp height (in pixels). |
|
Display the color ramp at the default position (under the canvas), or in the canvas itself. The ColorRampVisibility parameter still has to be On for the ramp to be displayed. BTX |
|
Display the color ramp at the default position (under the canvas), or in the canvas itself. The ColorRampVisibility parameter still has to be On for the ramp to be displayed. BTX |
|
Display the color ramp at the default position (under the canvas), or in the canvas itself. The ColorRampVisibility parameter still has to be On for the ramp to be displayed. BTX Definition at line 97 of file vtkKWColorTransferFunctionEditor.h. References ColorRampPositionDefault. |
|
Display the color ramp at the default position (under the canvas), or in the canvas itself. The ColorRampVisibility parameter still has to be On for the ramp to be displayed. BTX Definition at line 100 of file vtkKWColorTransferFunctionEditor.h. References ColorRampPositionCanvas. |
|
Set/get the color ramp outline style. BTX |
|
Set/get the color ramp outline style. BTX |
|
Set/get the color ramp outline style. BTX Definition at line 116 of file vtkKWColorTransferFunctionEditor.h. References ColorRampOutlineStyleNone. |
|
Set/get the color ramp outline style. BTX Definition at line 119 of file vtkKWColorTransferFunctionEditor.h. References ColorRampOutlineStyleSolid. |
|
Set/get the color ramp outline style. BTX Definition at line 122 of file vtkKWColorTransferFunctionEditor.h. References ColorRampOutlineStyleSunken. |
|
Set/Get the color space option menu visibility. Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the color space option menu visibility. Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the color space option menu visibility. Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the color space option menu visibility. Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the value entries UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the value entries UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the value entries UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Set/Get the value entries UI visibility. Not shown if superclass PointEntriesVisibility is set to Off Note: set this parameter to the proper value before calling Create() in order to minimize the footprint of the object. |
|
Create the widget. Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Update the whole UI depending on the value of the Ivars Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Callbacks |
|
Callbacks |
|
Callbacks Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Proxy to the function. IMPLEMENT those functions in the subclasses. See protected: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. IMPLEMENT those functions in the subclasses. See protected: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. IMPLEMENT those functions in the subclasses. See protected: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. IMPLEMENT those functions in the subclasses. See protected: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. IMPLEMENT those functions in the subclasses. See protected: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueFunctionInterface. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueHermiteFunctionEditor. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueHermiteFunctionEditor. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueHermiteFunctionEditor. |
|
Proxy to the function. Those are low-level manipulators, they do not check if points can be added/removed/locked, it is up to the higer-level methods to do it. IMPLEMENT those functions in the subclasses. See public: section too. Implements vtkKWParameterValueHermiteFunctionEditor. |
|
Higher-level methods to manipulate the function. |
|
Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Redraw Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Redraw Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Redraw Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Redraw Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Redraw Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Redraw the histogram BTX Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Pack the widget Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Pack the widget Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Redraw the color ramp |
|
Redraw the color ramp |
|
Redraw the color ramp |
|
Update the entries label (depending on the color space) and the color space menu |
|
Update the entries label (depending on the color space) and the color space menu |
|
Create some objects on the fly (lazy creation, to allow for a smaller footprint) |
|
Create some objects on the fly (lazy creation, to allow for a smaller footprint) |
|
Create some objects on the fly (lazy creation, to allow for a smaller footprint) |
|
Create some objects on the fly (lazy creation, to allow for a smaller footprint) Reimplemented from vtkKWParameterValueFunctionEditor. |
|
Create some objects on the fly (lazy creation, to allow for a smaller footprint) Reimplemented from vtkKWParameterValueHermiteFunctionEditor. |
|
Definition at line 207 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 208 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 210 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 211 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 212 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 213 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 214 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 215 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 216 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 220 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 221 of file vtkKWColorTransferFunctionEditor.h. |
|
Definition at line 222 of file vtkKWColorTransferFunctionEditor.h. |