Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKWVolumeMaterialPropertyWidget Class Reference

widget to control the material property of a volume (vtkVolumeProperty) More...

#include <vtkKWVolumeMaterialPropertyWidget.h>

Inheritance diagram for vtkKWVolumeMaterialPropertyWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkKWVolumeMaterialPropertyWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWVolumeMaterialPropertyWidget, vtkKWMaterialPropertyWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void Update ()
virtual void UpdateEnableState ()
virtual void SetVolumeProperty (vtkVolumeProperty *prop)
virtual vtkVolumeProperty * GetVolumeProperty ()
virtual void SetSelectedComponent (int)
virtual int GetSelectedComponent ()
virtual vtkKWScalarComponentSelectionWidgetGetComponentSelectionWidget ()
virtual void SetNumberOfComponents (int)
virtual int GetNumberOfComponents ()
virtual void SetAllowEnableShading (int)
virtual void AllowEnableShadingOn ()
virtual void AllowEnableShadingOff ()
virtual int GetAllowEnableShading ()
virtual void EnableShadingCallback ()
virtual void SelectedComponentCallback (int)

Static Public Member Functions

vtkKWVolumeMaterialPropertyWidgetNew ()

Protected Member Functions

 vtkKWVolumeMaterialPropertyWidget ()
 ~vtkKWVolumeMaterialPropertyWidget ()
virtual void Pack ()
virtual void SendStateEvent (int event)
virtual int AreControlsEnabled ()
virtual int UpdatePropertyFromInterface ()
virtual int UpdatePropertyFromPreset (const Preset *preset)

Protected Attributes

vtkVolumeProperty * VolumeProperty
int SelectedComponent
int NumberOfComponents
int AllowEnableShading
vtkKWScalarComponentSelectionWidgetComponentSelectionWidget
vtkKWCheckButtonWithLabelEnableShadingCheckButton

Detailed Description

widget to control the material property of a volume (vtkVolumeProperty)

Definition at line 29 of file vtkKWVolumeMaterialPropertyWidget.h.


Constructor & Destructor Documentation

vtkKWVolumeMaterialPropertyWidget::vtkKWVolumeMaterialPropertyWidget  )  [protected]
 

vtkKWVolumeMaterialPropertyWidget::~vtkKWVolumeMaterialPropertyWidget  )  [protected]
 


Member Function Documentation

vtkKWVolumeMaterialPropertyWidget* vtkKWVolumeMaterialPropertyWidget::New  )  [static]
 

Reimplemented from vtkKWCompositeWidget.

vtkKWVolumeMaterialPropertyWidget::vtkTypeRevisionMacro vtkKWVolumeMaterialPropertyWidget  ,
vtkKWMaterialPropertyWidget 
 

void vtkKWVolumeMaterialPropertyWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWMaterialPropertyWidget.

virtual void vtkKWVolumeMaterialPropertyWidget::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkKWMaterialPropertyWidget.

virtual void vtkKWVolumeMaterialPropertyWidget::SetVolumeProperty vtkVolumeProperty *  prop  )  [virtual]
 

Set/get the volume property to edit with this widget

virtual vtkVolumeProperty* vtkKWVolumeMaterialPropertyWidget::GetVolumeProperty  )  [virtual]
 

Set/get the volume property to edit with this widget

virtual void vtkKWVolumeMaterialPropertyWidget::SetSelectedComponent int   )  [virtual]
 

Set/get the component controlled by the widget

virtual int vtkKWVolumeMaterialPropertyWidget::GetSelectedComponent  )  [virtual]
 

Set/get the component controlled by the widget

virtual vtkKWScalarComponentSelectionWidget* vtkKWVolumeMaterialPropertyWidget::GetComponentSelectionWidget  )  [virtual]
 

Set/get the component controlled by the widget

virtual void vtkKWVolumeMaterialPropertyWidget::SetNumberOfComponents int   )  [virtual]
 

Set/get the number of components controlled by the widget

virtual int vtkKWVolumeMaterialPropertyWidget::GetNumberOfComponents  )  [virtual]
 

Set/get the number of components controlled by the widget

virtual void vtkKWVolumeMaterialPropertyWidget::SetAllowEnableShading int   )  [virtual]
 

Allow enable shading per component

virtual void vtkKWVolumeMaterialPropertyWidget::AllowEnableShadingOn  )  [virtual]
 

Allow enable shading per component

virtual void vtkKWVolumeMaterialPropertyWidget::AllowEnableShadingOff  )  [virtual]
 

Allow enable shading per component

virtual int vtkKWVolumeMaterialPropertyWidget::GetAllowEnableShading  )  [virtual]
 

Allow enable shading per component

virtual void vtkKWVolumeMaterialPropertyWidget::Update  )  [virtual]
 

Refresh the interface given the value extracted from the current property.

Reimplemented from vtkKWMaterialPropertyWidget.

virtual void vtkKWVolumeMaterialPropertyWidget::EnableShadingCallback  )  [virtual]
 

Callbacks for the buttons, scales and presets

virtual void vtkKWVolumeMaterialPropertyWidget::SelectedComponentCallback int   )  [virtual]
 

Callbacks for the buttons, scales and presets

virtual void vtkKWVolumeMaterialPropertyWidget::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 vtkKWMaterialPropertyWidget.

virtual void vtkKWVolumeMaterialPropertyWidget::Pack  )  [protected, virtual]
 

Pack

Reimplemented from vtkKWMaterialPropertyWidget.

virtual int vtkKWVolumeMaterialPropertyWidget::UpdatePropertyFromInterface  )  [protected, virtual]
 

Update the property from the interface values or a preset Return 1 if the property was modified, 0 otherwise

Implements vtkKWMaterialPropertyWidget.

virtual int vtkKWVolumeMaterialPropertyWidget::UpdatePropertyFromPreset const Preset *  preset  )  [protected, virtual]
 

Update the property from the interface values or a preset Return 1 if the property was modified, 0 otherwise

Implements vtkKWMaterialPropertyWidget.

virtual void vtkKWVolumeMaterialPropertyWidget::SendStateEvent int  event  )  [protected, virtual]
 

Send an event representing the state of the widget

Reimplemented from vtkKWMaterialPropertyWidget.

virtual int vtkKWVolumeMaterialPropertyWidget::AreControlsEnabled  )  [protected, virtual]
 

Return 1 if the controls should be enabled.

Reimplemented from vtkKWMaterialPropertyWidget.


Member Data Documentation

vtkVolumeProperty* vtkKWVolumeMaterialPropertyWidget::VolumeProperty [protected]
 

Definition at line 89 of file vtkKWVolumeMaterialPropertyWidget.h.

int vtkKWVolumeMaterialPropertyWidget::SelectedComponent [protected]
 

Definition at line 91 of file vtkKWVolumeMaterialPropertyWidget.h.

int vtkKWVolumeMaterialPropertyWidget::NumberOfComponents [protected]
 

Definition at line 92 of file vtkKWVolumeMaterialPropertyWidget.h.

int vtkKWVolumeMaterialPropertyWidget::AllowEnableShading [protected]
 

Definition at line 93 of file vtkKWVolumeMaterialPropertyWidget.h.

vtkKWScalarComponentSelectionWidget* vtkKWVolumeMaterialPropertyWidget::ComponentSelectionWidget [protected]
 

Definition at line 97 of file vtkKWVolumeMaterialPropertyWidget.h.

vtkKWCheckButtonWithLabel* vtkKWVolumeMaterialPropertyWidget::EnableShadingCheckButton [protected]
 

Definition at line 98 of file vtkKWVolumeMaterialPropertyWidget.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:47:16 2006 for ParaView by doxygen 1.3.5