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

vtkPVFieldMenu Class Reference

A menu to select point or cell fields. More...

#include <vtkPVFieldMenu.h>

Inheritance diagram for vtkPVFieldMenu:

Inheritance graph
[legend]
Collaboration diagram for vtkPVFieldMenu:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVFieldMenu, vtkPVWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void Update ()
virtual void Trace (ofstream *file)
virtual void UpdateEnableState ()
virtual void SetInputMenu (vtkPVInputMenu *)
virtual vtkPVInputMenuGetInputMenu ()
void SetValue (int field)
virtual int GetValue ()
vtkPVDataSetAttributesInformationGetFieldInformation ()
virtual vtkPVFieldMenuClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
virtual void Accept ()
virtual void ResetInternal ()
virtual void Initialize ()

Static Public Member Functions

vtkPVFieldMenuNew ()

Protected Member Functions

 vtkPVFieldMenu ()
 ~vtkPVFieldMenu ()
int ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser)
void UpdateProperty ()
vtkPVInputPropertyGetInputProperty ()
virtual vtkPVWidgetClonePrototypeInternal (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
virtual void CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
 vtkPVFieldMenu (const vtkPVFieldMenu &)
void operator= (const vtkPVFieldMenu &)

Protected Attributes

vtkKWLabelLabel
vtkKWMenuButtonFieldMenu
vtkPVInputMenuInputMenu
int Value

Detailed Description

A menu to select point or cell fields.

This menu works with vtkPVInputMenu and vtkPVArrayMenu. It was developed for the Threshold filter which can threshold based on a cell or point array. Input menu supplies the DataSet information of the current input. It also calls update when the value of the input menu changes. The array menu can use this field menu as a source of its arrays.

Definition at line 39 of file vtkPVFieldMenu.h.


Constructor & Destructor Documentation

vtkPVFieldMenu::vtkPVFieldMenu  )  [protected]
 

vtkPVFieldMenu::~vtkPVFieldMenu  )  [protected]
 

vtkPVFieldMenu::vtkPVFieldMenu const vtkPVFieldMenu  )  [protected]
 


Member Function Documentation

vtkPVFieldMenu* vtkPVFieldMenu::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

vtkPVFieldMenu::vtkTypeRevisionMacro vtkPVFieldMenu  ,
vtkPVWidget 
 

void vtkPVFieldMenu::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVWidget.

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

Create the widget.

Reimplemented from vtkPVWidget.

virtual void vtkPVFieldMenu::SetInputMenu vtkPVInputMenu  )  [virtual]
 

This input menu supplies the data information. You must set this (XML).

virtual vtkPVInputMenu* vtkPVFieldMenu::GetInputMenu  )  [virtual]
 

This input menu supplies the data information. You must set this (XML).

void vtkPVFieldMenu::SetValue int  field  ) 
 

Set the menus value as a string. Used by the Accept and Reset callbacks. Can also be used from a script.

virtual int vtkPVFieldMenu::GetValue  )  [virtual]
 

Set the menus value as a string. Used by the Accept and Reset callbacks. Can also be used from a script.

vtkPVDataSetAttributesInformation* vtkPVFieldMenu::GetFieldInformation  ) 
 

A convenience method that returns information of the data attribute selected.

virtual void vtkPVFieldMenu::Update  )  [virtual]
 

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

Reimplemented from vtkPVWidget.

virtual vtkPVFieldMenu* vtkPVFieldMenu::ClonePrototype 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 using NewInstance() and then copy some necessary state parameters.

Reimplemented from vtkPVWidget.

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

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

Implements vtkPVWidget.

virtual void vtkPVFieldMenu::Accept  )  [virtual]
 

Called when the accept or reset button is pressed.

Implements vtkPVWidget.

virtual void vtkPVFieldMenu::ResetInternal  )  [virtual]
 

Called when the accept or reset button is pressed.

Reimplemented from vtkPVWidget.

virtual void vtkPVFieldMenu::Initialize  )  [virtual]
 

Called after the widget is created. Initializes the gui from server manager

Implements vtkPVWidget.

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

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

Called by vtkPVXMLPackageParser to configure the widget from XML attributes.

Reimplemented from vtkPVWidget.

void vtkPVFieldMenu::UpdateProperty  )  [protected]
 

vtkPVInputProperty* vtkPVFieldMenu::GetInputProperty  )  [protected]
 

The property filters the allowable values of this menu..

virtual vtkPVWidget* vtkPVFieldMenu::ClonePrototypeInternal vtkPVSource pvSource,
vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *  map
[protected, virtual]
 

Reimplemented from vtkPVWidget.

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

Reimplemented from vtkPVWidget.

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


Member Data Documentation

vtkKWLabel* vtkPVFieldMenu::Label [protected]
 

Definition at line 116 of file vtkPVFieldMenu.h.

vtkKWMenuButton* vtkPVFieldMenu::FieldMenu [protected]
 

Definition at line 117 of file vtkPVFieldMenu.h.

vtkPVInputMenu* vtkPVFieldMenu::InputMenu [protected]
 

Definition at line 118 of file vtkPVFieldMenu.h.

int vtkPVFieldMenu::Value [protected]
 

Definition at line 125 of file vtkPVFieldMenu.h.


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