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

vtkPVArraySelection Class Reference

widget to select a set of data arrays. More...

#include <vtkPVArraySelection.h>

Inheritance diagram for vtkPVArraySelection:

Inheritance graph
[legend]
Collaboration diagram for vtkPVArraySelection:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVArraySelection, vtkPVWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ResetInternal ()
virtual void Initialize ()
virtual void Create (vtkKWApplication *app)
void SetArrayStatus (const char *name, int status)
int GetNumberOfArrays ()
virtual void SaveInBatchScript (ofstream *file)
virtual void UpdateEnableState ()
virtual void Accept ()
virtual void PostAccept ()
virtual void SetLabelText (const char *)
virtual char * GetLabelText ()
void AllOnCallback ()
void AllOffCallback ()
vtkPVArraySelectionClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)

Static Public Member Functions

vtkPVArraySelectionNew ()

Protected Member Functions

 vtkPVArraySelection ()
 ~vtkPVArraySelection ()
virtual void Trace (ofstream *file)
virtual void UpdateGUI ()
virtual void UpdateSelections (int fromReader)
virtual void SetPropertyFromGUI ()
virtual void CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
int ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser)

Protected Attributes

char * LabelText
vtkKWFrameWithLabelLabeledFrame
vtkKWFrameButtonFrame
vtkKWPushButtonAllOnButton
vtkKWPushButtonAllOffButton
vtkKWFrameCheckFrame
vtkCollection * ArrayCheckButtons
vtkKWLabelNoArraysLabel
vtkDataArraySelection * Selection
vtkPVArraySelectionArraySet * ArraySet

Detailed Description

widget to select a set of data arrays.

vtkPVArraySelection is used for selecting which set of data arrays to load when a reader has the ability to selectively load arrays. This class is able to deal with two different (though similar) type of domains: vtkSMStringListDomain and vtkSMStringListRangeDomain

Definition at line 37 of file vtkPVArraySelection.h.


Constructor & Destructor Documentation

vtkPVArraySelection::vtkPVArraySelection  )  [protected]
 

vtkPVArraySelection::~vtkPVArraySelection  )  [protected]
 


Member Function Documentation

vtkPVArraySelection* vtkPVArraySelection::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

vtkPVArraySelection::vtkTypeRevisionMacro vtkPVArraySelection  ,
vtkPVWidget 
 

void vtkPVArraySelection::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVWidget.

virtual void vtkPVArraySelection::Accept  )  [virtual]
 

Methods for setting the value of the VTKReader from the widget. Used internally when user hits Accept.

Implements vtkPVWidget.

virtual void vtkPVArraySelection::PostAccept  )  [virtual]
 

Methods for setting the value of the VTKReader from the widget. Used internally when user hits Accept.

Reimplemented from vtkPVWidget.

virtual void vtkPVArraySelection::ResetInternal  )  [virtual]
 

Methods for setting the value of the widget from the VTKReader. Used internally when user hits Reset.

Reimplemented from vtkPVWidget.

virtual void vtkPVArraySelection::Initialize  )  [virtual]
 

Update our local vtkDataArraySelection instance with the reader's settings.

Implements vtkPVWidget.

virtual void vtkPVArraySelection::SetLabelText const char *   )  [virtual]
 

Used to change the label of the widget. If not specified, the label is constructed using the AttributeName

virtual char* vtkPVArraySelection::GetLabelText  )  [virtual]
 

Used to change the label of the widget. If not specified, the label is constructed using the AttributeName

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

Create the widget.

Reimplemented from vtkPVWidget.

void vtkPVArraySelection::AllOnCallback  ) 
 

Callback for the AllOn and AllOff buttons.

void vtkPVArraySelection::AllOffCallback  ) 
 

Callback for the AllOn and AllOff buttons.

void vtkPVArraySelection::SetArrayStatus const char *  name,
int  status
 

Access to change this widgets state from a script. Used for tracing.

int vtkPVArraySelection::GetNumberOfArrays  ) 
 

Get the number of array names listed in this widget.

vtkPVArraySelection* vtkPVArraySelection::ClonePrototype vtkPVSource pvSource,
vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *  map
 

Creates and returns a copy of this widget. It will create a new instance of the same type as the current object using NewInstance() and then copy some necessary state parameters.

Reimplemented from vtkPVWidget.

virtual void vtkPVArraySelection::SaveInBatchScript ofstream *  file  )  [virtual]
 

Save this widget to a file. Ingore parts for thsi reader specific widget.

Reimplemented from vtkPVWidget.

virtual void vtkPVArraySelection::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 vtkPVArraySelection::Trace ofstream *  file  )  [protected, virtual]
 

Used by subclasses to save this widgets state into a PVScript. This method does not initialize trace variable or check modified.

Implements vtkPVWidget.

virtual void vtkPVArraySelection::UpdateGUI  )  [protected, virtual]
 

virtual void vtkPVArraySelection::UpdateSelections int  fromReader  )  [protected, virtual]
 

virtual void vtkPVArraySelection::SetPropertyFromGUI  )  [protected, virtual]
 

virtual void vtkPVArraySelection::CopyProperties vtkPVWidget clone,
vtkPVSource pvSource,
vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *  map
[protected, virtual]
 

Reimplemented from vtkPVWidget.

int vtkPVArraySelection::ReadXMLAttributes vtkPVXMLElement element,
vtkPVXMLPackageParser parser
[protected, virtual]
 

Called by vtkPVXMLPackageParser to configure the widget from XML attributes.

Reimplemented from vtkPVWidget.


Member Data Documentation

char* vtkPVArraySelection::LabelText [protected]
 

Definition at line 117 of file vtkPVArraySelection.h.

vtkKWFrameWithLabel* vtkPVArraySelection::LabeledFrame [protected]
 

Definition at line 119 of file vtkPVArraySelection.h.

vtkKWFrame* vtkPVArraySelection::ButtonFrame [protected]
 

Definition at line 121 of file vtkPVArraySelection.h.

vtkKWPushButton* vtkPVArraySelection::AllOnButton [protected]
 

Definition at line 122 of file vtkPVArraySelection.h.

vtkKWPushButton* vtkPVArraySelection::AllOffButton [protected]
 

Definition at line 123 of file vtkPVArraySelection.h.

vtkKWFrame* vtkPVArraySelection::CheckFrame [protected]
 

Definition at line 125 of file vtkPVArraySelection.h.

vtkCollection* vtkPVArraySelection::ArrayCheckButtons [protected]
 

Definition at line 126 of file vtkPVArraySelection.h.

vtkKWLabel* vtkPVArraySelection::NoArraysLabel [protected]
 

Definition at line 127 of file vtkPVArraySelection.h.

vtkDataArraySelection* vtkPVArraySelection::Selection [protected]
 

Definition at line 129 of file vtkPVArraySelection.h.

vtkPVArraySelectionArraySet* vtkPVArraySelection::ArraySet [protected]
 

Definition at line 131 of file vtkPVArraySelection.h.


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