vtkKWVolumePropertyWidget Class Reference

a transfer function widget More...

#include <vtkKWVolumePropertyWidget.h>

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

List of all members.

Public Types

typedef vtkKWCompositeWidget Superclass

Public Member Functions

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

Static Public Member Functions

static vtkKWVolumePropertyWidgetNew ()
static int IsTypeOf (const char *type)
static vtkKWVolumePropertyWidgetSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWVolumePropertyWidget ()
 ~vtkKWVolumePropertyWidget ()
virtual void CreateWidget ()
virtual void InvokeObjectMethodCommand (const char *command)
virtual void InvokeVolumePropertyChangedCommand ()
virtual void InvokeVolumePropertyChangingCommand ()
virtual int GetIndependentComponents ()
virtual void UpdateHSVColorSelectorFromScalarColorFunctionEditor ()
virtual int GetNumberOfComponents ()
virtual int GetDataSetScalarRange (int comp, double range[2])
virtual int GetDataSetAdjustedScalarRange (int comp, double range[2])
virtual const char * GetDataSetScalarName ()
virtual int GetDataSetScalarOpacityUnitDistanceRangeAndResolution (double range[2], double *resolution)

Protected Attributes

vtkVolumePropertyVolumeProperty
vtkDataSetDataSet
vtkKWHistogramSetHistogramSet
int SelectedComponent
int DisableCommands
int EnableShadingForAllComponents
int MaterialPropertyPosition
int WholeRangeComputationMethod
int InteractiveApplyMode
int InteractiveApplyButtonVisibility
int ScalarOpacityUnitDistanceVisibility
int HSVColorSelectorVisibility
int ComponentSelectionVisibility
int InterpolationTypeVisibility
int MaterialPropertyVisibility
int GradientOpacityFunctionVisibility
int ComponentWeightsVisibility
int UseScalarColorFunctionInScalarOpacityEditor
char * VolumePropertyChangedCommand
char * VolumePropertyChangingCommand
vtkKWFrameWithLabelEditorFrame
vtkKWHSVColorSelectorHSVColorSelector
vtkKWFrameInnerLeftFrame
vtkKWScalarComponentSelectionWidgetComponentSelectionWidget
vtkKWMenuButtonWithLabelInterpolationTypeOptionMenu
vtkKWVolumeMaterialPropertyWidgetMaterialPropertyWidget
vtkKWCheckButtonEnableShadingCheckButton
vtkKWCheckButtonInteractiveApplyCheckButton
vtkKWPiecewiseFunctionEditorScalarOpacityFunctionEditor
vtkKWScaleWithEntryScalarOpacityUnitDistanceScale
vtkKWColorTransferFunctionEditorScalarColorFunctionEditor
vtkKWCheckButtonLockOpacityAndColorCheckButton
vtkKWPiecewiseFunctionEditorGradientOpacityFunctionEditor
vtkKWMenuButtonEnableGradientOpacityOptionMenu
vtkKWScaleWithEntrySetWithLabelComponentWeightScaleSet
vtkKWFrameBottomFrame
int LockOpacityAndColor [VTK_MAX_VRCOMP]
int WindowLevelMode [VTK_MAX_VRCOMP]



enum  { MaterialPropertyPositionTop, MaterialPropertyPositionBottomFrame, MaterialPropertyPositionScalarOpacityUserFrame, MaterialPropertyPositionScalarColorUserFrame }
enum  { WholeRangeComputationMethodData = 1, WholeRangeComputationMethodFunctionPoints = 2, WholeRangeComputationMethodDataAndFunctionPoints = 3 }
virtual vtkVolumePropertyGetVolumeProperty ()
virtual void SetVolumeProperty (vtkVolumeProperty *)
virtual vtkDataSetGetDataSet ()
virtual void SetDataSet (vtkDataSet *)
virtual vtkKWHistogramSetGetHistogramSet ()
virtual void SetHistogramSet (vtkKWHistogramSet *)
virtual void SetSelectedComponent (int)
virtual int GetSelectedComponent ()
virtual void SetWindowLevel (double window, double level)
virtual void SetInteractiveWindowLevel (double window, double level)
virtual int IsInWindowLevelMode ()
virtual void InteractiveApplyModeOn ()
virtual void InteractiveApplyModeOff ()
virtual void SetInteractiveApplyMode (int)
virtual int GetInteractiveApplyMode ()
virtual void InteractiveApplyButtonVisibilityOn ()
virtual void InteractiveApplyButtonVisibilityOff ()
virtual void SetInteractiveApplyButtonVisibility (int)
virtual int GetInteractiveApplyButtonVisibility ()
virtual void ScalarOpacityUnitDistanceVisibilityOn ()
virtual void ScalarOpacityUnitDistanceVisibilityOff ()
virtual void SetScalarOpacityUnitDistanceVisibility (int)
virtual int GetScalarOpacityUnitDistanceVisibility ()
virtual void HSVColorSelectorVisibilityOn ()
virtual void HSVColorSelectorVisibilityOff ()
virtual void SetHSVColorSelectorVisibility (int)
virtual int GetHSVColorSelectorVisibility ()
virtual void ComponentSelectionVisibilityOn ()
virtual void ComponentSelectionVisibilityOff ()
virtual void SetComponentSelectionVisibility (int)
virtual int GetComponentSelectionVisibility ()
virtual void InterpolationTypeVisibilityOn ()
virtual void InterpolationTypeVisibilityOff ()
virtual void SetInterpolationTypeVisibility (int)
virtual int GetInterpolationTypeVisibility ()
virtual vtkKWFrameGetBottomFrame ()
virtual vtkKWFrameWithLabelGetEditorFrame ()
virtual void MaterialPropertyVisibilityOn ()
virtual void MaterialPropertyVisibilityOff ()
virtual void SetMaterialPropertyVisibility (int)
virtual int GetMaterialPropertyVisibility ()
virtual void SetMaterialPropertyPosition (int)
virtual int GetMaterialPropertyPosition ()
virtual void SetMaterialPropertyPositionToTop ()
virtual void SetMaterialPropertyPositionToBottomFrame ()
virtual void SetMaterialPropertyPositionToScalarOpacityUserFrame ()
virtual void SetMaterialPropertyPositionToScalarColorUserFrame ()
virtual void GradientOpacityFunctionVisibilityOn ()
virtual void GradientOpacityFunctionVisibilityOff ()
virtual void SetGradientOpacityFunctionVisibility (int)
virtual int GetGradientOpacityFunctionVisibility ()
virtual void ComponentWeightsVisibilityOn ()
virtual void ComponentWeightsVisibilityOff ()
virtual void SetComponentWeightsVisibility (int)
virtual int GetComponentWeightsVisibility ()
virtual void EnableShadingForAllComponentsOn ()
virtual void EnableShadingForAllComponentsOff ()
virtual void SetEnableShadingForAllComponents (int)
virtual int GetEnableShadingForAllComponents ()
virtual void UseScalarColorFunctionInScalarOpacityEditorOn ()
virtual void UseScalarColorFunctionInScalarOpacityEditorOff ()
virtual void SetUseScalarColorFunctionInScalarOpacityEditor (int)
virtual int GetUseScalarColorFunctionInScalarOpacityEditor ()
virtual void SetVolumePropertyChangedCommand (vtkObject *object, const char *method)
virtual void SetVolumePropertyChangingCommand (vtkObject *object, const char *method)
virtual void SetDisableCommands (int)
virtual int GetDisableCommands ()
virtual void DisableCommandsOn ()
virtual void DisableCommandsOff ()
virtual void SetWholeRangeComputationMethod (int)
virtual int GetWholeRangeComputationMethod ()
virtual void SetWholeRangeComputationMethodToData ()
virtual void SetWholeRangeComputationMethodToFunctionPoints ()
virtual void SetWholeRangeComputationMethodToDataAndFunctionPoints ()
virtual
vtkKWPiecewiseFunctionEditor
GetScalarOpacityFunctionEditor ()
virtual
vtkKWColorTransferFunctionEditor
GetScalarColorFunctionEditor ()
virtual
vtkKWPiecewiseFunctionEditor
GetGradientOpacityFunctionEditor ()
virtual vtkKWScaleWithEntryGetScalarOpacityUnitDistanceScale ()
virtual vtkKWHSVColorSelectorGetHSVColorSelector ()
virtual
vtkKWVolumeMaterialPropertyWidget
GetMaterialPropertyWidget ()
virtual void SelectedComponentCallback (int)
virtual void InterpolationTypeCallback (int type)
virtual void EnableShadingCallback (int state)
virtual void MaterialPropertyChangedCallback ()
virtual void MaterialPropertyChangingCallback ()
virtual void InteractiveApplyCallback (int state)
virtual void ScalarOpacityFunctionChangedCallback ()
virtual void ScalarOpacityFunctionChangingCallback ()
virtual void DoubleClickOnScalarOpacityPointCallback (int id)
virtual void WindowLevelModeCallback (int mode)
virtual void LockOpacityAndColorCallback (int state)
virtual void ScalarOpacityUnitDistanceChangedCallback (double value)
virtual void ScalarOpacityUnitDistanceChangingCallback (double value)
virtual void RGBTransferFunctionChangedCallback ()
virtual void RGBTransferFunctionChangingCallback ()
virtual void RGBTransferFunctionSelectionChangedCallback ()
virtual void EnableGradientOpacityCallback (int val)
virtual void GradientOpacityFunctionChangedCallback ()
virtual void GradientOpacityFunctionChangingCallback ()
virtual void HSVColorSelectionChangedCallback (double h, double s, double v)
virtual void HSVColorSelectionChangingCallback (double h, double s, double v)
virtual void ComponentWeightChangedCallback (int index, double value)
virtual void ComponentWeightChangingCallback (int index, double value)

Detailed Description

a transfer function widget

This class contains the UI components and methods to edit a ColorTransferFunction in concert with a PiecewiseFunction for opacity. New control points can be added by clicking with the left mouse button and they can be removed by dragging them out of the window.

Events:
vtkKWEvent::ScalarComponentWeightChangedEvent vtkKWEvent::WindowLevelChangingEvent vtkKWEvent::WindowLevelChangedEvent vtkKWEvent::VolumePropertyChangingEvent vtkKWEvent::ScalarComponentWeightChangingEvent vtkKWEvent::VolumePropertyChangedEvent

Definition at line 47 of file vtkKWVolumePropertyWidget.h.


Member Typedef Documentation

Reimplemented from vtkKWCompositeWidget.

Definition at line 53 of file vtkKWVolumePropertyWidget.h.


Member Enumeration Documentation

anonymous enum

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

Enumerator:
MaterialPropertyPositionTop 
MaterialPropertyPositionBottomFrame 
MaterialPropertyPositionScalarOpacityUserFrame 
MaterialPropertyPositionScalarColorUserFrame 

Definition at line 157 of file vtkKWVolumePropertyWidget.h.

anonymous enum

Set the method used to compute the whole range of the various transfer function editors. If set to Data, the scalar range of the data is used. If no data is available or set to FunctionPoints, the range of the function points already in the editor is used. If set to DataAndFunctionPointsthe the largest of the two ranges mentioned previously is used. BTX

Enumerator:
WholeRangeComputationMethodData 
WholeRangeComputationMethodFunctionPoints 
WholeRangeComputationMethodDataAndFunctionPoints 

Definition at line 259 of file vtkKWVolumePropertyWidget.h.


Constructor & Destructor Documentation

vtkKWVolumePropertyWidget::vtkKWVolumePropertyWidget (  )  [protected]
vtkKWVolumePropertyWidget::~vtkKWVolumePropertyWidget (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWCompositeWidget.

void vtkKWVolumePropertyWidget::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkKWCompositeWidget.

virtual const char* vtkKWVolumePropertyWidget::GetClassName (  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static int vtkKWVolumePropertyWidget::IsTypeOf ( const char *  type  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual int vtkKWVolumePropertyWidget::IsA ( const char *  type  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static vtkKWVolumePropertyWidget* vtkKWVolumePropertyWidget::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual vtkVolumeProperty* vtkKWVolumePropertyWidget::GetVolumeProperty (  )  [virtual]

Get/Set the transfer function mapping scalar value to color

virtual void vtkKWVolumePropertyWidget::SetVolumeProperty ( vtkVolumeProperty  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkDataSet* vtkKWVolumePropertyWidget::GetDataSet (  )  [virtual]

The data this volume property is used for. Will be used to get the scalar range of the transfer functions for example.

virtual void vtkKWVolumePropertyWidget::SetDataSet ( vtkDataSet  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWHistogramSet* vtkKWVolumePropertyWidget::GetHistogramSet (  )  [virtual]

Set/Get the histograms for the data this volume property is used for. Obviously those histograms must have been computed using the same data as the DataSet Ivar above.

virtual void vtkKWVolumePropertyWidget::SetHistogramSet ( vtkKWHistogramSet  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetSelectedComponent ( int   )  [virtual]

Set/Get the current component controlled by the widget

virtual int vtkKWVolumePropertyWidget::GetSelectedComponent (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetWindowLevel ( double  window,
double  level 
) [virtual]

Set/Get the window/level for those transfer functions that support this mode (SetInteractiveWindowLevel will trigger interactive events) IsInWindowLevelMode return true if part of this widget is in window/level mode.

virtual void vtkKWVolumePropertyWidget::SetInteractiveWindowLevel ( double  window,
double  level 
) [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::IsInWindowLevelMode (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::InteractiveApplyModeOn (  )  [virtual]

Set/Get if the widget is in "Interactive Apply" mode, i.e. changes will be propagated during most/all interactions, not just at the end of them.

virtual void vtkKWVolumePropertyWidget::InteractiveApplyModeOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetInteractiveApplyMode ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetInteractiveApplyMode (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::InteractiveApplyButtonVisibilityOn (  )  [virtual]

Set/Get the 'Interactive Apply' button visibility

virtual void vtkKWVolumePropertyWidget::InteractiveApplyButtonVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetInteractiveApplyButtonVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetInteractiveApplyButtonVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ScalarOpacityUnitDistanceVisibilityOn (  )  [virtual]

Set/Get the scalar opacity unit distance visibility

virtual void vtkKWVolumePropertyWidget::ScalarOpacityUnitDistanceVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetScalarOpacityUnitDistanceVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetScalarOpacityUnitDistanceVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::HSVColorSelectorVisibilityOn (  )  [virtual]

Set/Get the HSV color selector visibility

virtual void vtkKWVolumePropertyWidget::HSVColorSelectorVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetHSVColorSelectorVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetHSVColorSelectorVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ComponentSelectionVisibilityOn (  )  [virtual]

Set/Get the component selection widget visibility

virtual void vtkKWVolumePropertyWidget::ComponentSelectionVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetComponentSelectionVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetComponentSelectionVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::InterpolationTypeVisibilityOn (  )  [virtual]

Set/Get the interpolation type widget visibility

virtual void vtkKWVolumePropertyWidget::InterpolationTypeVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetInterpolationTypeVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetInterpolationTypeVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWFrame* vtkKWVolumePropertyWidget::GetBottomFrame (  )  [virtual]

Get the bottom frame, a frame that is always packed at the bottom of the whole widget, and can be used to add more user-defined widgets

virtual vtkKWFrameWithLabel* vtkKWVolumePropertyWidget::GetEditorFrame (  )  [virtual]

Get the main edit frame, so that it can be collapsed manually

virtual void vtkKWVolumePropertyWidget::MaterialPropertyVisibilityOn (  )  [virtual]

Set/Get the material widget + enable shading visibility

virtual void vtkKWVolumePropertyWidget::MaterialPropertyVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetMaterialPropertyVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetMaterialPropertyVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetMaterialPropertyPosition ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetMaterialPropertyPosition (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetMaterialPropertyPositionToTop (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetMaterialPropertyPositionToBottomFrame (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetMaterialPropertyPositionToScalarOpacityUserFrame (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetMaterialPropertyPositionToScalarColorUserFrame (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::GradientOpacityFunctionVisibilityOn (  )  [virtual]

Set/Get the gradient opacity function visibility

virtual void vtkKWVolumePropertyWidget::GradientOpacityFunctionVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetGradientOpacityFunctionVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetGradientOpacityFunctionVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ComponentWeightsVisibilityOn (  )  [virtual]

Set/Get the component weight visibility

virtual void vtkKWVolumePropertyWidget::ComponentWeightsVisibilityOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetComponentWeightsVisibility ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetComponentWeightsVisibility (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::EnableShadingForAllComponentsOn (  )  [virtual]

If true, an "Enable Shading" checkbox will be displayed and will control the shading flag of all components at once (based on the first one). If false, the shading flag will be available on a per-component basis in the shading dialog.

virtual void vtkKWVolumePropertyWidget::EnableShadingForAllComponentsOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetEnableShadingForAllComponents ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetEnableShadingForAllComponents (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::Update (  )  [virtual]

Update the whole UI depending on the value of the Ivars

virtual void vtkKWVolumePropertyWidget::UseScalarColorFunctionInScalarOpacityEditorOn (  )  [virtual]

Set/Get if the scalar color transfer function should be used to color each point in the scalar opacity editor. This also makes sure that any changes made to one or the other will be propagated accordingly. This also enables the user to pick a color by double-clicking on the scalar opacity points.

virtual void vtkKWVolumePropertyWidget::UseScalarColorFunctionInScalarOpacityEditorOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetUseScalarColorFunctionInScalarOpacityEditor ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetUseScalarColorFunctionInScalarOpacityEditor (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::MergeScalarOpacityAndColorEditors (  )  [virtual]

Merge both scalar opacity and color editors. This will put both editors in synchronized/locked mode, the scalar color function in the editor will be hidden (only the color ramp will remain), and the opacity editor will use the scalar color function to color its points. Double clicking on a point will popup a color selector.

virtual void vtkKWVolumePropertyWidget::SetVolumePropertyChangedCommand ( vtkObject object,
const char *  method 
) [virtual]

Specifies commands to associate with the widget. 'VolumePropertyChangedCommand' is invoked when the volume property has changed (i.e. at the end of the user interaction), whereas 'VolumePropertyChangingCommand' is invoked when the volume property is changing (i.e. during the user interaction itself). The need for a '...ChangedCommand' and '...ChangingCommand' can be explained as follows: the former can be used to be notified about any changes made to this widget *after* the corresponding user interaction has been performed (say, after releasing the mouse button that was dragging a slider, or after clicking on a checkbutton). The later can be set additionally* to be notified about the intermediate changes that occur *during* the corresponding user interaction (say, *while* dragging a slider). While setting '...ChangedCommand' is enough to be notified about any changes, setting '...ChangingCommand' is an application-specific choice that is likely to depend on how fast you want (or can) answer to rapid changes occuring during a user interaction, if any. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.

virtual void vtkKWVolumePropertyWidget::SetVolumePropertyChangingCommand ( vtkObject object,
const char *  method 
) [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetDisableCommands ( int   )  [virtual]

Set/Get whether the above commands should be called or not.

virtual int vtkKWVolumePropertyWidget::GetDisableCommands (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::DisableCommandsOn (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::DisableCommandsOff (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetWholeRangeComputationMethod ( int   )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual int vtkKWVolumePropertyWidget::GetWholeRangeComputationMethod (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetWholeRangeComputationMethodToData (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetWholeRangeComputationMethodToFunctionPoints (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::SetWholeRangeComputationMethodToDataAndFunctionPoints (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWPiecewiseFunctionEditor* vtkKWVolumePropertyWidget::GetScalarOpacityFunctionEditor (  )  [virtual]

Access the objects

virtual vtkKWColorTransferFunctionEditor* vtkKWVolumePropertyWidget::GetScalarColorFunctionEditor (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWPiecewiseFunctionEditor* vtkKWVolumePropertyWidget::GetGradientOpacityFunctionEditor (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWScaleWithEntry* vtkKWVolumePropertyWidget::GetScalarOpacityUnitDistanceScale (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWHSVColorSelector* vtkKWVolumePropertyWidget::GetHSVColorSelector (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual vtkKWVolumeMaterialPropertyWidget* vtkKWVolumePropertyWidget::GetMaterialPropertyWidget (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::Pack (  )  [virtual]

Pack or repack the UI

virtual void vtkKWVolumePropertyWidget::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 vtkKWWidget.

virtual void vtkKWVolumePropertyWidget::SelectedComponentCallback ( int   )  [virtual]

Callbacks. Internal, do not use.

virtual void vtkKWVolumePropertyWidget::InterpolationTypeCallback ( int  type  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::EnableShadingCallback ( int  state  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::MaterialPropertyChangedCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::MaterialPropertyChangingCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::InteractiveApplyCallback ( int  state  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ScalarOpacityFunctionChangedCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ScalarOpacityFunctionChangingCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::DoubleClickOnScalarOpacityPointCallback ( int  id  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::WindowLevelModeCallback ( int  mode  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::LockOpacityAndColorCallback ( int  state  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ScalarOpacityUnitDistanceChangedCallback ( double  value  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ScalarOpacityUnitDistanceChangingCallback ( double  value  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::RGBTransferFunctionChangedCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::RGBTransferFunctionChangingCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::RGBTransferFunctionSelectionChangedCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::EnableGradientOpacityCallback ( int  val  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::GradientOpacityFunctionChangedCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::GradientOpacityFunctionChangingCallback (  )  [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::HSVColorSelectionChangedCallback ( double  h,
double  s,
double  v 
) [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::HSVColorSelectionChangingCallback ( double  h,
double  s,
double  v 
) [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ComponentWeightChangedCallback ( int  index,
double  value 
) [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

virtual void vtkKWVolumePropertyWidget::ComponentWeightChangingCallback ( int  index,
double  value 
) [virtual]

Set the material property button position to the top frame (default) or to the scalar opacity user frame, or color user frame. BTX

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

Create the widget.

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWVolumePropertyWidget::InvokeObjectMethodCommand ( const char *  command  )  [protected, virtual]

Convenience method to invoke a Tcl callback command that was created using the SetObjectMethodCommand method. This simply checks if the command is not empty and evaluate it from Tcl.

Reimplemented from vtkKWObject.

virtual void vtkKWVolumePropertyWidget::InvokeVolumePropertyChangedCommand (  )  [protected, virtual]
virtual void vtkKWVolumePropertyWidget::InvokeVolumePropertyChangingCommand (  )  [protected, virtual]
virtual int vtkKWVolumePropertyWidget::GetIndependentComponents (  )  [protected, virtual]
virtual void vtkKWVolumePropertyWidget::UpdateHSVColorSelectorFromScalarColorFunctionEditor (  )  [protected, virtual]
virtual int vtkKWVolumePropertyWidget::GetNumberOfComponents (  )  [protected, virtual]
virtual int vtkKWVolumePropertyWidget::GetDataSetScalarRange ( int  comp,
double  range[2] 
) [protected, virtual]
virtual int vtkKWVolumePropertyWidget::GetDataSetAdjustedScalarRange ( int  comp,
double  range[2] 
) [protected, virtual]
virtual const char* vtkKWVolumePropertyWidget::GetDataSetScalarName (  )  [protected, virtual]
virtual int vtkKWVolumePropertyWidget::GetDataSetScalarOpacityUnitDistanceRangeAndResolution ( double  range[2],
double *  resolution 
) [protected, virtual]

Member Data Documentation

Definition at line 330 of file vtkKWVolumePropertyWidget.h.

Definition at line 331 of file vtkKWVolumePropertyWidget.h.

Definition at line 332 of file vtkKWVolumePropertyWidget.h.

Definition at line 334 of file vtkKWVolumePropertyWidget.h.

Definition at line 335 of file vtkKWVolumePropertyWidget.h.

Definition at line 336 of file vtkKWVolumePropertyWidget.h.

Definition at line 337 of file vtkKWVolumePropertyWidget.h.

Definition at line 338 of file vtkKWVolumePropertyWidget.h.

Definition at line 339 of file vtkKWVolumePropertyWidget.h.

Definition at line 340 of file vtkKWVolumePropertyWidget.h.

Definition at line 341 of file vtkKWVolumePropertyWidget.h.

Definition at line 342 of file vtkKWVolumePropertyWidget.h.

Definition at line 343 of file vtkKWVolumePropertyWidget.h.

Definition at line 344 of file vtkKWVolumePropertyWidget.h.

Definition at line 345 of file vtkKWVolumePropertyWidget.h.

Definition at line 346 of file vtkKWVolumePropertyWidget.h.

Definition at line 347 of file vtkKWVolumePropertyWidget.h.

Definition at line 348 of file vtkKWVolumePropertyWidget.h.

Definition at line 352 of file vtkKWVolumePropertyWidget.h.

Definition at line 353 of file vtkKWVolumePropertyWidget.h.

Definition at line 361 of file vtkKWVolumePropertyWidget.h.

Definition at line 362 of file vtkKWVolumePropertyWidget.h.

Definition at line 363 of file vtkKWVolumePropertyWidget.h.

Definition at line 364 of file vtkKWVolumePropertyWidget.h.

Definition at line 365 of file vtkKWVolumePropertyWidget.h.

Definition at line 366 of file vtkKWVolumePropertyWidget.h.

Definition at line 367 of file vtkKWVolumePropertyWidget.h.

Definition at line 368 of file vtkKWVolumePropertyWidget.h.

Definition at line 369 of file vtkKWVolumePropertyWidget.h.

Definition at line 370 of file vtkKWVolumePropertyWidget.h.

Definition at line 371 of file vtkKWVolumePropertyWidget.h.

Definition at line 372 of file vtkKWVolumePropertyWidget.h.

Definition at line 373 of file vtkKWVolumePropertyWidget.h.

Definition at line 374 of file vtkKWVolumePropertyWidget.h.

Definition at line 375 of file vtkKWVolumePropertyWidget.h.

Definition at line 376 of file vtkKWVolumePropertyWidget.h.

int vtkKWVolumePropertyWidget::LockOpacityAndColor[VTK_MAX_VRCOMP] [protected]

Definition at line 378 of file vtkKWVolumePropertyWidget.h.

int vtkKWVolumePropertyWidget::WindowLevelMode[VTK_MAX_VRCOMP] [protected]

Definition at line 379 of file vtkKWVolumePropertyWidget.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:39:01 2010 for KWWidgets by  doxygen 1.6.1