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 Types

typedef vtkKWMaterialPropertyWidget 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
vtkKWVolumeMaterialPropertyWidget
New ()
static int IsTypeOf (const char *type)
static
vtkKWVolumeMaterialPropertyWidget
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWVolumeMaterialPropertyWidget ()
 ~vtkKWVolumeMaterialPropertyWidget ()
virtual void CreateWidget ()
virtual void Pack ()
virtual void SendStateEvent (int event)
virtual int AreControlsEnabled ()

Protected Attributes

vtkVolumePropertyVolumeProperty
int SelectedComponent
int NumberOfComponents
int AllowEnableShading
vtkKWScalarComponentSelectionWidgetComponentSelectionWidget
vtkKWCheckButtonWithLabelEnableShadingCheckButton



virtual void SetVolumeProperty (vtkVolumeProperty *prop)
virtual vtkVolumePropertyGetVolumeProperty ()
virtual void SetSelectedComponent (int)
virtual int GetSelectedComponent ()
virtual
vtkKWScalarComponentSelectionWidget
GetComponentSelectionWidget ()
virtual void SetNumberOfComponents (int)
virtual int GetNumberOfComponents ()
virtual void SetAllowEnableShading (int)
virtual void AllowEnableShadingOn ()
virtual void AllowEnableShadingOff ()
virtual int GetAllowEnableShading ()
virtual void EnableShadingCallback (int state)
virtual void SelectedComponentCallback (int)
virtual int UpdatePropertyFromInterface ()
virtual int UpdatePropertyFromPreset (const Preset *preset)

Detailed Description

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

Events:
vtkKWEvent::EnableShadingEvent

Definition at line 31 of file vtkKWVolumeMaterialPropertyWidget.h.


Member Typedef Documentation

Reimplemented from vtkKWMaterialPropertyWidget.

Definition at line 36 of file vtkKWVolumeMaterialPropertyWidget.h.


Constructor & Destructor Documentation

vtkKWVolumeMaterialPropertyWidget::vtkKWVolumeMaterialPropertyWidget (  )  [protected]
vtkKWVolumeMaterialPropertyWidget::~vtkKWVolumeMaterialPropertyWidget (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWMaterialPropertyWidget.

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

Reimplemented from vtkKWMaterialPropertyWidget.

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

Reimplemented from vtkKWMaterialPropertyWidget.

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

Reimplemented from vtkKWMaterialPropertyWidget.

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

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 volume property to edit with this widget

virtual vtkKWScalarComponentSelectionWidget* vtkKWVolumeMaterialPropertyWidget::GetComponentSelectionWidget (  )  [virtual]

Set/Get the volume property to edit with this 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 volume property to edit with this widget

virtual void vtkKWVolumeMaterialPropertyWidget::SetAllowEnableShading ( int   )  [virtual]

Allow enable shading per component

virtual void vtkKWVolumeMaterialPropertyWidget::AllowEnableShadingOn (  )  [virtual]

Set/Get the volume property to edit with this widget

virtual void vtkKWVolumeMaterialPropertyWidget::AllowEnableShadingOff (  )  [virtual]

Set/Get the volume property to edit with this widget

virtual int vtkKWVolumeMaterialPropertyWidget::GetAllowEnableShading (  )  [virtual]

Set/Get the volume property to edit with this widget

virtual void vtkKWVolumeMaterialPropertyWidget::Update (  )  [virtual]

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

Reimplemented from vtkKWMaterialPropertyWidget.

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::EnableShadingCallback ( int  state  )  [virtual]

Callbacks. Internal, do not use.

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

Set/Get the volume property to edit with this widget

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

Create the widget.

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]

Set/Get the volume property to edit with this widget

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

Definition at line 93 of file vtkKWVolumeMaterialPropertyWidget.h.

Definition at line 95 of file vtkKWVolumeMaterialPropertyWidget.h.

Definition at line 96 of file vtkKWVolumeMaterialPropertyWidget.h.

Definition at line 97 of file vtkKWVolumeMaterialPropertyWidget.h.

Definition at line 101 of file vtkKWVolumeMaterialPropertyWidget.h.

Definition at line 102 of file vtkKWVolumeMaterialPropertyWidget.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:38:55 2010 for KWWidgets by  doxygen 1.6.1