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

vtkPVSelectArrays Class Reference

Widget for selecting a set of cell arrays. More...

#include <vtkPVSelectArrays.h>

Inheritance diagram for vtkPVSelectArrays:

Inheritance graph
[legend]
Collaboration diagram for vtkPVSelectArrays:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVSelectArrays, vtkPVWidget)
void PrintSelf (ostream &os, vtkIndent indent)
void Create (vtkKWApplication *app)
void SaveInBatchScript (ofstream *file)
void ShowAllArraysCheckCallback ()
virtual void Trace (ofstream *file)
virtual void ResetInternal ()
virtual void Initialize ()
virtual void Update ()
virtual void UpdateEnableState ()
void ClearAllSelections ()
void SetSelectState (const char *arrayName, int val)
virtual void Accept ()
virtual void SetInputMenu (vtkPVInputMenu *)
virtual vtkPVInputMenuGetInputMenu ()
vtkPVSelectArraysClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
virtual void CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)

Static Public Member Functions

vtkPVSelectArraysNew ()

Protected Member Functions

 vtkPVSelectArrays ()
 ~vtkPVSelectArrays ()
void Inactivate ()
int StringMatch (const char *arrayName)
int ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser)
 vtkPVSelectArrays (const vtkPVSelectArrays &)
void operator= (const vtkPVSelectArrays &)

Protected Attributes

vtkKWFrameButtonFrame
vtkKWLabelShowAllLabel
vtkKWCheckButtonShowAllCheck
vtkKWListBoxArraySelectionList
vtkCollection * ArrayLabelCollection
int Field
int Deactivate
int FilterArrays
int Active
vtkStringListSelectedArrayNames
vtkPVInputMenuInputMenu

Detailed Description

Widget for selecting a set of cell arrays.

This widget started for selecting volume fraction arrays in CTH data sets. I am generalizing it to select any arrays. I may generalize it further to select point arrays as well.

Definition at line 38 of file vtkPVSelectArrays.h.


Constructor & Destructor Documentation

vtkPVSelectArrays::vtkPVSelectArrays  )  [protected]
 

vtkPVSelectArrays::~vtkPVSelectArrays  )  [protected]
 

vtkPVSelectArrays::vtkPVSelectArrays const vtkPVSelectArrays  )  [protected]
 


Member Function Documentation

vtkPVSelectArrays* vtkPVSelectArrays::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

vtkPVSelectArrays::vtkTypeRevisionMacro vtkPVSelectArrays  ,
vtkPVWidget 
 

void vtkPVSelectArrays::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVWidget.

void vtkPVSelectArrays::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkPVWidget.

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

Save this source to a file.

Reimplemented from vtkPVWidget.

void vtkPVSelectArrays::ShowAllArraysCheckCallback  ) 
 

Button callbacks.

void vtkPVSelectArrays::ClearAllSelections  ) 
 

Access metod necessary for scripting.

void vtkPVSelectArrays::SetSelectState const char *  arrayName,
int  val
 

Access metod necessary for scripting.

virtual void vtkPVSelectArrays::Trace ofstream *  file  )  [virtual]
 

This serves a dual purpose. For tracing and for saving state.

Implements vtkPVWidget.

virtual void vtkPVSelectArrays::Accept  )  [virtual]
 

Called when the Accept button is pressed. It moves the widget values to the VTK calculator filter.

Implements vtkPVWidget.

virtual void vtkPVSelectArrays::ResetInternal  )  [virtual]
 

This method resets the widget values from the VTK filter.

Reimplemented from vtkPVWidget.

virtual void vtkPVSelectArrays::Initialize  )  [virtual]
 

Initialize after creation.

Implements vtkPVWidget.

virtual void vtkPVSelectArrays::SetInputMenu vtkPVInputMenu  )  [virtual]
 

This input menu supplies the array options.

virtual vtkPVInputMenu* vtkPVSelectArrays::GetInputMenu  )  [virtual]
 

This input menu supplies the array options.

virtual void vtkPVSelectArrays::Update  )  [virtual]
 

This is called to update the menus if something (InputMenu) changes.

Reimplemented from vtkPVWidget.

vtkPVSelectArrays* vtkPVSelectArrays::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 parameters.

Reimplemented from vtkPVWidget.

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

Creates and returns a copy of this widget. It will create a new instance of the same type as the current object parameters.

Reimplemented from vtkPVWidget.

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

void vtkPVSelectArrays::Inactivate  )  [protected]
 

int vtkPVSelectArrays::StringMatch const char *  arrayName  )  [protected]
 

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

Called by vtkPVXMLPackageParser to configure the widget from XML attributes.

Reimplemented from vtkPVWidget.

void vtkPVSelectArrays::operator= const vtkPVSelectArrays  )  [protected]
 


Member Data Documentation

vtkKWFrame* vtkPVSelectArrays::ButtonFrame [protected]
 

Definition at line 109 of file vtkPVSelectArrays.h.

vtkKWLabel* vtkPVSelectArrays::ShowAllLabel [protected]
 

Definition at line 110 of file vtkPVSelectArrays.h.

vtkKWCheckButton* vtkPVSelectArrays::ShowAllCheck [protected]
 

Definition at line 111 of file vtkPVSelectArrays.h.

vtkKWListBox* vtkPVSelectArrays::ArraySelectionList [protected]
 

Definition at line 113 of file vtkPVSelectArrays.h.

vtkCollection* vtkPVSelectArrays::ArrayLabelCollection [protected]
 

Definition at line 115 of file vtkPVSelectArrays.h.

int vtkPVSelectArrays::Field [protected]
 

Definition at line 122 of file vtkPVSelectArrays.h.

int vtkPVSelectArrays::Deactivate [protected]
 

Definition at line 128 of file vtkPVSelectArrays.h.

int vtkPVSelectArrays::FilterArrays [protected]
 

Definition at line 134 of file vtkPVSelectArrays.h.

int vtkPVSelectArrays::Active [protected]
 

Definition at line 138 of file vtkPVSelectArrays.h.

vtkStringList* vtkPVSelectArrays::SelectedArrayNames [protected]
 

Definition at line 139 of file vtkPVSelectArrays.h.

vtkPVInputMenu* vtkPVSelectArrays::InputMenu [protected]
 

Definition at line 141 of file vtkPVSelectArrays.h.


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