vtkKWScalarComponentSelectionWidget Class Reference

a scalar component selection widget More...

#include <vtkKWScalarComponentSelectionWidget.h>

Inheritance diagram for vtkKWScalarComponentSelectionWidget:
Inheritance graph
[legend]
Collaboration diagram for vtkKWScalarComponentSelectionWidget:
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 UpdateEnableState ()
virtual void SelectedComponentCallback (int)



virtual void SetIndependentComponents (int)
virtual int GetIndependentComponents ()
virtual void IndependentComponentsOn ()
virtual void IndependentComponentsOff ()
virtual void SetNumberOfComponents (int)
virtual int GetNumberOfComponents ()
virtual void SetSelectedComponent (int)
virtual int GetSelectedComponent ()
virtual void SetAllowComponentSelection (int)
virtual void AllowComponentSelectionOn ()
virtual void AllowComponentSelectionOff ()
virtual int GetAllowComponentSelection ()
virtual void SetSelectedComponentChangedCommand (vtkObject *object, const char *method)
virtual vtkKWMenuButtonWithLabelGetSelectedComponentOptionMenu ()

Static Public Member Functions

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

Protected Member Functions

 vtkKWScalarComponentSelectionWidget ()
 ~vtkKWScalarComponentSelectionWidget ()
virtual void CreateWidget ()
virtual void InvokeSelectedComponentChangedCommand (int comp)
virtual void Pack ()

Protected Attributes

int IndependentComponents
int NumberOfComponents
int SelectedComponent
int AllowComponentSelection
char * SelectedComponentChangedCommand
vtkKWMenuButtonWithLabelSelectedComponentOptionMenu

Detailed Description

a scalar component selection widget

This class contains the UI for scalar component selection.

Events:
vtkKWEvent::ScalarComponentChangedEvent

Definition at line 30 of file vtkKWScalarComponentSelectionWidget.h.


Member Typedef Documentation

Reimplemented from vtkKWCompositeWidget.

Definition at line 36 of file vtkKWScalarComponentSelectionWidget.h.


Constructor & Destructor Documentation

vtkKWScalarComponentSelectionWidget::vtkKWScalarComponentSelectionWidget (  )  [protected]
vtkKWScalarComponentSelectionWidget::~vtkKWScalarComponentSelectionWidget (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWScalarComponentSelectionWidget::SetIndependentComponents ( int   )  [virtual]

Are the components independent of each other?

virtual int vtkKWScalarComponentSelectionWidget::GetIndependentComponents (  )  [virtual]

Are the components independent of each other?

virtual void vtkKWScalarComponentSelectionWidget::IndependentComponentsOn (  )  [virtual]

Are the components independent of each other?

virtual void vtkKWScalarComponentSelectionWidget::IndependentComponentsOff (  )  [virtual]

Are the components independent of each other?

virtual void vtkKWScalarComponentSelectionWidget::SetNumberOfComponents ( int   )  [virtual]

Set/Get the number of components controlled by the widget

virtual int vtkKWScalarComponentSelectionWidget::GetNumberOfComponents (  )  [virtual]

Are the components independent of each other?

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

Set/Get the current component controlled by the widget (if controllable)

virtual int vtkKWScalarComponentSelectionWidget::GetSelectedComponent (  )  [virtual]

Are the components independent of each other?

virtual void vtkKWScalarComponentSelectionWidget::SetAllowComponentSelection ( int   )  [virtual]

Allow component selection (a quick way to hide the UI)

virtual void vtkKWScalarComponentSelectionWidget::AllowComponentSelectionOn (  )  [virtual]

Are the components independent of each other?

virtual void vtkKWScalarComponentSelectionWidget::AllowComponentSelectionOff (  )  [virtual]

Are the components independent of each other?

virtual int vtkKWScalarComponentSelectionWidget::GetAllowComponentSelection (  )  [virtual]

Are the components independent of each other?

virtual void vtkKWScalarComponentSelectionWidget::Update (  )  [virtual]

Update the whole UI depending on the value of the Ivars

virtual void vtkKWScalarComponentSelectionWidget::SetSelectedComponentChangedCommand ( vtkObject object,
const char *  method 
) [virtual]

Specifies a command to associate with the widget. This command is typically invoked when the selected component is changed. 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. The following parameters are also passed to the command: - the selected component: int

virtual vtkKWMenuButtonWithLabel* vtkKWScalarComponentSelectionWidget::GetSelectedComponentOptionMenu (  )  [virtual]

Access to objects

virtual void vtkKWScalarComponentSelectionWidget::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 vtkKWScalarComponentSelectionWidget::SelectedComponentCallback ( int   )  [virtual]

Callbacks. Internal, do not use.

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

Create the widget.

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWScalarComponentSelectionWidget::InvokeSelectedComponentChangedCommand ( int  comp  )  [protected, virtual]
virtual void vtkKWScalarComponentSelectionWidget::Pack (  )  [protected, virtual]

Member Data Documentation

Definition at line 105 of file vtkKWScalarComponentSelectionWidget.h.

Definition at line 106 of file vtkKWScalarComponentSelectionWidget.h.

Definition at line 107 of file vtkKWScalarComponentSelectionWidget.h.

Definition at line 108 of file vtkKWScalarComponentSelectionWidget.h.

Definition at line 110 of file vtkKWScalarComponentSelectionWidget.h.

Definition at line 115 of file vtkKWScalarComponentSelectionWidget.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:36:59 2010 for KWWidgets by  doxygen 1.6.1