vtkKWColorTransferFunctionEditor Class Reference

a color tfunc function editor More...

#include <vtkKWColorTransferFunctionEditor.h>

Inheritance diagram for vtkKWColorTransferFunctionEditor:
Inheritance graph
[legend]
Collaboration diagram for vtkKWColorTransferFunctionEditor:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
vtkKWParameterValueHermiteFunctionEditor 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Update ()
virtual void UpdateEnableState ()

Static Public Member Functions

static
vtkKWColorTransferFunctionEditor
New ()
static int IsTypeOf (const char *type)
static
vtkKWColorTransferFunctionEditor
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWColorTransferFunctionEditor ()
 ~vtkKWColorTransferFunctionEditor ()
virtual void CreateWidget ()
virtual void UpdatePointEntries (int id)
virtual void RedrawHistogram ()

Protected Attributes

vtkColorTransferFunctionColorTransferFunction
vtkColorTransferFunctionColorRampTransferFunction
int ValueEntriesVisibility
int ColorSpaceOptionMenuVisibility
int ColorRampVisibility
int ColorRampHeight
int ColorRampPosition
int ColorRampOutlineStyle
unsigned long LastRedrawColorRampTime
vtkKWMenuButtonColorSpaceOptionMenu
vtkKWEntryWithLabelValueEntries [3]
vtkKWLabelColorRamp



enum  { ColorRampPositionDefault = 10, ColorRampPositionCanvas }
enum  { ColorRampOutlineStyleNone = 0, ColorRampOutlineStyleSolid, ColorRampOutlineStyleSunken }
virtual vtkColorTransferFunctionGetColorTransferFunction ()
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 vtkColorTransferFunctionGetColorRampTransferFunction ()
virtual void SetColorRampTransferFunction (vtkColorTransferFunction *)
virtual void SetColorRampHeight (int)
virtual int GetColorRampHeight ()
virtual void SetColorRampPosition (int)
virtual int GetColorRampPosition ()
virtual void SetColorRampPositionToDefault ()
virtual void SetColorRampPositionToCanvas ()
virtual void SetColorRampOutlineStyle (int)
virtual int GetColorRampOutlineStyle ()
virtual void SetColorRampOutlineStyleToNone ()
virtual void SetColorRampOutlineStyleToSolid ()
virtual void SetColorRampOutlineStyleToSunken ()
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 int HasFunction ()
virtual int GetFunctionSize ()
virtual unsigned long GetFunctionMTime ()
virtual int GetFunctionPointParameter (int id, double *parameter)
virtual int GetFunctionPointDimensionality ()
virtual void ColorSpaceCallback ()
virtual void ValueEntriesCallback (const char *value)
virtual void DoubleClickOnPointCallback (int x, int y)
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 ()
virtual void CreateColorRamp ()
virtual void CreateValueEntries ()
virtual int IsTopLeftFrameUsed ()
virtual int IsPointEntriesFrameUsed ()
virtual void ProcessCallbackCommandEvents (vtkObject *caller, unsigned long event, void *calldata)

Detailed Description

a color tfunc function editor

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).

Thanks:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics.

Definition at line 39 of file vtkKWColorTransferFunctionEditor.h.


Member Typedef Documentation

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

Definition at line 44 of file vtkKWColorTransferFunctionEditor.h.


Member Enumeration Documentation

anonymous enum

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

Enumerator:
ColorRampPositionDefault 
ColorRampPositionCanvas 

Definition at line 90 of file vtkKWColorTransferFunctionEditor.h.

anonymous enum

Set/Get the color ramp outline style. BTX

Enumerator:
ColorRampOutlineStyleNone 
ColorRampOutlineStyleSolid 
ColorRampOutlineStyleSunken 

Definition at line 108 of file vtkKWColorTransferFunctionEditor.h.


Constructor & Destructor Documentation

vtkKWColorTransferFunctionEditor::vtkKWColorTransferFunctionEditor (  )  [protected]
vtkKWColorTransferFunctionEditor::~vtkKWColorTransferFunctionEditor (  )  [protected]

Member Function Documentation

static vtkKWColorTransferFunctionEditor* vtkKWColorTransferFunctionEditor::New (  )  [static]

Reimplemented from vtkKWWidgetWithLabel.

virtual const char* vtkKWColorTransferFunctionEditor::GetClassName (  )  [virtual]
static int vtkKWColorTransferFunctionEditor::IsTypeOf ( const char *  type  )  [static]
virtual int vtkKWColorTransferFunctionEditor::IsA ( const char *  type  )  [virtual]
static vtkKWColorTransferFunctionEditor* vtkKWColorTransferFunctionEditor::SafeDownCast ( vtkObject o  )  [static]
void vtkKWColorTransferFunctionEditor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual vtkColorTransferFunction* vtkKWColorTransferFunctionEditor::GetColorTransferFunction (  )  [virtual]

Get/Set the function Note that the whole parameter range is automatically reset to the function range.

virtual void vtkKWColorTransferFunctionEditor::SetColorTransferFunction ( vtkColorTransferFunction  )  [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::GetPointColorAsRGB ( int  id,
double  rgb[3] 
) [virtual]

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)

virtual int vtkKWColorTransferFunctionEditor::GetPointColorAsHSV ( int  id,
double  hsv[3] 
) [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::SetPointColorAsRGB ( int  id,
const double  rgb[3] 
) [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::SetPointColorAsRGB ( int  id,
double  r,
double  g,
double  b 
) [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::SetPointColorAsHSV ( int  id,
const double  hsv[3] 
) [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::SetPointColorAsHSV ( int  id,
double  h,
double  s,
double  v 
) [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::ColorRampVisibilityOn (  )  [virtual]

Set/Get the color ramp visibility.

virtual void vtkKWColorTransferFunctionEditor::ColorRampVisibilityOff (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::SetColorRampVisibility ( int   )  [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::GetColorRampVisibility (  )  [virtual]

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

virtual vtkColorTransferFunction* vtkKWColorTransferFunctionEditor::GetColorRampTransferFunction (  )  [virtual]

Get/Set a specific function to display in the color ramp. If not specified, the ColorTransferFunction will be used.

virtual void vtkKWColorTransferFunctionEditor::SetColorRampTransferFunction ( vtkColorTransferFunction  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::SetColorRampHeight ( int   )  [virtual]

Set/Get the color ramp height (in pixels).

virtual int vtkKWColorTransferFunctionEditor::GetColorRampHeight (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::SetColorRampPosition ( int   )  [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::GetColorRampPosition (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::SetColorRampPositionToDefault (  )  [inline, virtual]

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 98 of file vtkKWColorTransferFunctionEditor.h.

virtual void vtkKWColorTransferFunctionEditor::SetColorRampPositionToCanvas (  )  [inline, virtual]

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 101 of file vtkKWColorTransferFunctionEditor.h.

virtual void vtkKWColorTransferFunctionEditor::SetColorRampOutlineStyle ( int   )  [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::GetColorRampOutlineStyle (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::SetColorRampOutlineStyleToNone (  )  [inline, virtual]

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 117 of file vtkKWColorTransferFunctionEditor.h.

virtual void vtkKWColorTransferFunctionEditor::SetColorRampOutlineStyleToSolid (  )  [inline, virtual]

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 120 of file vtkKWColorTransferFunctionEditor.h.

virtual void vtkKWColorTransferFunctionEditor::SetColorRampOutlineStyleToSunken (  )  [inline, virtual]

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 123 of file vtkKWColorTransferFunctionEditor.h.

virtual void vtkKWColorTransferFunctionEditor::SetColorSpaceOptionMenuVisibility ( int   )  [virtual]

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.

virtual void vtkKWColorTransferFunctionEditor::ColorSpaceOptionMenuVisibilityOn (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::ColorSpaceOptionMenuVisibilityOff (  )  [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::GetColorSpaceOptionMenuVisibility (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::ValueEntriesVisibilityOn (  )  [virtual]

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.

virtual void vtkKWColorTransferFunctionEditor::ValueEntriesVisibilityOff (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::SetValueEntriesVisibility ( int   )  [virtual]

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

virtual int vtkKWColorTransferFunctionEditor::GetValueEntriesVisibility (  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::Update (  )  [virtual]

Update the whole UI depending on the value of the Ivars

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::UpdateEnableState (  )  [virtual]

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.

virtual int vtkKWColorTransferFunctionEditor::HasFunction (  )  [virtual]

Proxy to the function. IMPLEMENT those functions in the subclasses. See protected: section too.

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::GetFunctionSize (  )  [virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual unsigned long vtkKWColorTransferFunctionEditor::GetFunctionMTime (  )  [virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::GetFunctionPointParameter ( int  id,
double *  parameter 
) [virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::GetFunctionPointDimensionality (  )  [virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual void vtkKWColorTransferFunctionEditor::ColorSpaceCallback (  )  [virtual]

Callbacks. Internal, do not use.

virtual void vtkKWColorTransferFunctionEditor::ValueEntriesCallback ( const char *  value  )  [virtual]

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

virtual void vtkKWColorTransferFunctionEditor::DoubleClickOnPointCallback ( int  x,
int  y 
) [virtual]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::CreateWidget (  )  [protected, virtual]

Create the widget.

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

virtual int vtkKWColorTransferFunctionEditor::GetFunctionPointValues ( int  id,
double *  values 
) [protected, virtual]

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.

virtual int vtkKWColorTransferFunctionEditor::SetFunctionPointValues ( int  id,
const double *  values 
) [protected, virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::InterpolateFunctionPointValues ( double  parameter,
double *  values 
) [protected, virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::AddFunctionPoint ( double  parameter,
const double *  values,
int *  id 
) [protected, virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::SetFunctionPoint ( int  id,
double  parameter,
const double *  values 
) [protected, virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::RemoveFunctionPoint ( int  id  )  [protected, virtual]

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

Implements vtkKWParameterValueFunctionInterface.

virtual int vtkKWColorTransferFunctionEditor::GetFunctionPointMidPoint ( int  id,
double *  pos 
) [protected, virtual]

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

Implements vtkKWParameterValueHermiteFunctionEditor.

virtual int vtkKWColorTransferFunctionEditor::SetFunctionPointMidPoint ( int  id,
double  pos 
) [protected, virtual]

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

Implements vtkKWParameterValueHermiteFunctionEditor.

virtual int vtkKWColorTransferFunctionEditor::GetFunctionPointSharpness ( int  id,
double *  sharpness 
) [protected, virtual]

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

Implements vtkKWParameterValueHermiteFunctionEditor.

virtual int vtkKWColorTransferFunctionEditor::SetFunctionPointSharpness ( int  id,
double  sharpness 
) [protected, virtual]

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

Implements vtkKWParameterValueHermiteFunctionEditor.

virtual int vtkKWColorTransferFunctionEditor::MoveFunctionPointInColorSpace ( int  id,
double  parameter,
const double *  values,
int  colorspace 
) [protected, virtual]

Higher-level methods to manipulate the function.

virtual void vtkKWColorTransferFunctionEditor::UpdatePointEntries ( int  id  )  [protected, virtual]

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::Redraw (  )  [protected, virtual]

Redraw

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::RedrawSizeDependentElements (  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::RedrawPanOnlyDependentElements (  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::RedrawFunctionDependentElements (  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::RedrawSinglePointDependentElements ( int  id  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::UpdateHistogramImageDescriptor ( vtkKWHistogram::ImageDescriptor *   )  [protected, virtual]

Redraw the histogram BTX

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::Pack (  )  [protected, virtual]

Pack the widget

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::PackPointEntries (  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::RedrawColorRamp (  )  [protected, virtual]

Redraw the color ramp

virtual int vtkKWColorTransferFunctionEditor::IsColorRampUpToDate (  )  [protected, virtual]

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

virtual void vtkKWColorTransferFunctionEditor::GetColorRampOutlineSunkenColors ( unsigned char  bg_rgb[3],
unsigned char  ds_rgb[3],
unsigned char  ls_rgb[3],
unsigned char  hl_rgb[3] 
) [protected, virtual]

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

virtual void vtkKWColorTransferFunctionEditor::UpdatePointEntriesLabel (  )  [protected, virtual]

Update the entries label (depending on the color space) and the color space menu

virtual void vtkKWColorTransferFunctionEditor::UpdateColorSpaceOptionMenu (  )  [protected, virtual]

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

virtual void vtkKWColorTransferFunctionEditor::CreateColorSpaceOptionMenu (  )  [protected, virtual]

Create some objects on the fly (lazy creation, to allow for a smaller footprint)

virtual void vtkKWColorTransferFunctionEditor::CreateColorRamp (  )  [protected, virtual]

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

virtual void vtkKWColorTransferFunctionEditor::CreateValueEntries (  )  [protected, virtual]

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

virtual int vtkKWColorTransferFunctionEditor::IsTopLeftFrameUsed (  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual int vtkKWColorTransferFunctionEditor::IsPointEntriesFrameUsed (  )  [protected, virtual]

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

Reimplemented from vtkKWParameterValueHermiteFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::RedrawHistogram (  )  [protected, virtual]

Redraw the histogram

Reimplemented from vtkKWParameterValueFunctionEditor.

virtual void vtkKWColorTransferFunctionEditor::ProcessCallbackCommandEvents ( vtkObject caller,
unsigned long  event,
void *  calldata 
) [protected, virtual]

Processes the events that are passed through CallbackCommand (or others). Subclasses can oberride this method to process their own events, but should call the superclass too.

Reimplemented from vtkKWObject.


Member Data Documentation

Definition at line 210 of file vtkKWColorTransferFunctionEditor.h.

Definition at line 211 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 217 of file vtkKWColorTransferFunctionEditor.h.

Definition at line 218 of file vtkKWColorTransferFunctionEditor.h.

Definition at line 219 of file vtkKWColorTransferFunctionEditor.h.

Definition at line 223 of file vtkKWColorTransferFunctionEditor.h.

Definition at line 224 of file vtkKWColorTransferFunctionEditor.h.

Definition at line 225 of file vtkKWColorTransferFunctionEditor.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:33:54 2010 for KWWidgets by  doxygen 1.6.1