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

vtkPVColorSelectionWidget Class Reference

widget to select the array and field to use for color (or volume rendering). More...

#include <vtkPVColorSelectionWidget.h>

Inheritance diagram for vtkPVColorSelectionWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkPVColorSelectionWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVColorSelectionWidget, vtkKWMenuButton)
void PrintSelf (ostream &os, vtkIndent indent)
void SetTarget (vtkKWWidget *t)
virtual vtkKWWidgetGetTarget ()
void Update (int remove_all=1)
vtkPVSourceGetPVSource ()
void SetPVSource (vtkPVSource *src)
virtual char * GetColorSelectionCommand ()
virtual void SetColorSelectionCommand (const char *)
void SetValue (const char *arrayname, int field)
void SetValue (const char *label)

Static Public Member Functions

vtkPVColorSelectionWidgetNew ()

Protected Member Functions

 vtkPVColorSelectionWidget ()
 ~vtkPVColorSelectionWidget ()
void AddArray (vtkPVDataSetAttributesInformation *attrInfo, int field_type)
vtkPVArrayInformationGetArrayInformation (vtkPVDataInformation *dataInfo, const char *arrayname, int field)
int FormLabel (vtkPVArrayInformation *arrayInfo, int field, char *label)

Protected Attributes

vtkPVSourcePVSource
vtkKWWidgetTarget
char * ColorSelectionCommand

Detailed Description

widget to select the array and field to use for color (or volume rendering).

This widget is nothing but a drop-down menu from which the user can select the type field data and array. It is designed to be used in vtkPVDisplayGUI to select color/volume rendering array. Note that this is not a PVWidget.

Definition at line 35 of file vtkPVColorSelectionWidget.h.


Constructor & Destructor Documentation

vtkPVColorSelectionWidget::vtkPVColorSelectionWidget  )  [protected]
 

vtkPVColorSelectionWidget::~vtkPVColorSelectionWidget  )  [protected]
 


Member Function Documentation

vtkPVColorSelectionWidget* vtkPVColorSelectionWidget::New  )  [static]
 

Reimplemented from vtkKWMenuButton.

vtkPVColorSelectionWidget::vtkTypeRevisionMacro vtkPVColorSelectionWidget  ,
vtkKWMenuButton 
 

void vtkPVColorSelectionWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWMenuButton.

vtkPVSource* vtkPVColorSelectionWidget::GetPVSource  )  [inline]
 

Need the source to get the input.

Definition at line 44 of file vtkPVColorSelectionWidget.h.

void vtkPVColorSelectionWidget::SetPVSource vtkPVSource src  )  [inline]
 

Need the source to get the input.

Definition at line 45 of file vtkPVColorSelectionWidget.h.

virtual char* vtkPVColorSelectionWidget::GetColorSelectionCommand  )  [virtual]
 

This is the command that is called on the Target when array is selected. This command is passed two arguments (arrayname , field type);

virtual void vtkPVColorSelectionWidget::SetColorSelectionCommand const char *   )  [virtual]
 

This is the command that is called on the Target when array is selected. This command is passed two arguments (arrayname , field type);

void vtkPVColorSelectionWidget::SetTarget vtkKWWidget t  )  [inline]
 

Definition at line 56 of file vtkPVColorSelectionWidget.h.

virtual vtkKWWidget* vtkPVColorSelectionWidget::GetTarget  )  [virtual]
 

void vtkPVColorSelectionWidget::Update int  remove_all = 1  ) 
 

Update the menu from PVSource. When remove_all=0, Update methods does not remove the entires already added to the widget. This provides for a means to explicitly add entries.

void vtkPVColorSelectionWidget::SetValue const char *  arrayname,
int  field
 

Sets the current array.

void vtkPVColorSelectionWidget::SetValue const char *  label  )  [virtual]
 

Sets the current array.

Reimplemented from vtkKWMenuButton.

void vtkPVColorSelectionWidget::AddArray vtkPVDataSetAttributesInformation attrInfo,
int  field_type
[protected]
 

vtkPVArrayInformation* vtkPVColorSelectionWidget::GetArrayInformation vtkPVDataInformation dataInfo,
const char *  arrayname,
int  field
[protected]
 

int vtkPVColorSelectionWidget::FormLabel vtkPVArrayInformation arrayInfo,
int  field,
char *  label
[protected]
 


Member Data Documentation

vtkPVSource* vtkPVColorSelectionWidget::PVSource [protected]
 

Definition at line 74 of file vtkPVColorSelectionWidget.h.

vtkKWWidget* vtkPVColorSelectionWidget::Target [protected]
 

Definition at line 75 of file vtkPVColorSelectionWidget.h.

char* vtkPVColorSelectionWidget::ColorSelectionCommand [protected]
 

Definition at line 76 of file vtkPVColorSelectionWidget.h.


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