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

vtkPVExtractDataSetsWidget Class Reference

widget that lists block of a composite dataset More...

#include <vtkPVExtractDataSetsWidget.h>

Inheritance diagram for vtkPVExtractDataSetsWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkPVExtractDataSetsWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVExtractDataSetsWidget, vtkPVWidget)
void PrintSelf (ostream &os, vtkIndent indent)
void Create (vtkKWApplication *app)
void SaveInBatchScript (ofstream *file)
void SetSelectState (int idx, int val)
virtual void Trace (ofstream *file)
virtual void Accept ()
virtual void UpdateEnableState ()
void PartSelectionCallback ()
void AllOnCallback ()
void AllOffCallback ()
virtual void ResetInternal ()
virtual void Initialize ()

Static Public Member Functions

vtkPVExtractDataSetsWidgetNew ()

Protected Member Functions

 vtkPVExtractDataSetsWidget ()
 ~vtkPVExtractDataSetsWidget ()
void CommonInit ()

Protected Attributes

vtkKWFrameButtonFrame
vtkKWPushButtonAllOnButton
vtkKWPushButtonAllOffButton
vtkKWListBoxPartSelectionList

Detailed Description

widget that lists block of a composite dataset

vtkPVExtractDataSetsWidget is basically a vtkKWListBox that lists all blocks in a vtkHierarchicalDataSet (through vtkPVDataInformation). It allows the user to select zero or more blocks and assigns them in a SM property in pairs: (group, id), (group, id) ... The property should look like:

     <IntVectorProperty 
        name="SelectedDataSets" 
        command="AddDataSet"
        clean_command="ClearDataSetList"
        repeat_command="1"
        number_of_elements_per_command="2"/>
 
See also:
vtkPVCompositeDataInformation

Definition at line 49 of file vtkPVExtractDataSetsWidget.h.


Constructor & Destructor Documentation

vtkPVExtractDataSetsWidget::vtkPVExtractDataSetsWidget  )  [protected]
 

vtkPVExtractDataSetsWidget::~vtkPVExtractDataSetsWidget  )  [protected]
 


Member Function Documentation

vtkPVExtractDataSetsWidget* vtkPVExtractDataSetsWidget::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

vtkPVExtractDataSetsWidget::vtkTypeRevisionMacro vtkPVExtractDataSetsWidget  ,
vtkPVWidget 
 

void vtkPVExtractDataSetsWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVWidget.

void vtkPVExtractDataSetsWidget::Create vtkKWApplication app  )  [virtual]
 

Set up the UI for this source

Reimplemented from vtkPVWidget.

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

Save this source to a file.

Reimplemented from vtkPVWidget.

void vtkPVExtractDataSetsWidget::AllOnCallback  ) 
 

Button callbacks.

void vtkPVExtractDataSetsWidget::AllOffCallback  ) 
 

Button callbacks.

void vtkPVExtractDataSetsWidget::SetSelectState int  idx,
int  val
 

Access metod necessary for scripting.

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

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

Implements vtkPVWidget.

virtual void vtkPVExtractDataSetsWidget::Accept  )  [virtual]
 

Called when the Accept button is pressed. It moves the widget state to the SM property.

Implements vtkPVWidget.

virtual void vtkPVExtractDataSetsWidget::ResetInternal  )  [virtual]
 

This method resets the widget values from the VTK filter.

Reimplemented from vtkPVWidget.

virtual void vtkPVExtractDataSetsWidget::Initialize  )  [virtual]
 

This method resets the widget values from the VTK filter.

Implements vtkPVWidget.

virtual void vtkPVExtractDataSetsWidget::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 vtkPVExtractDataSetsWidget::PartSelectionCallback  ) 
 

Called when an item is selected. This checks if the user clicked on a group item and selects/unselects the whole group.

void vtkPVExtractDataSetsWidget::CommonInit  )  [protected]
 


Member Data Documentation

vtkKWFrame* vtkPVExtractDataSetsWidget::ButtonFrame [protected]
 

Definition at line 100 of file vtkPVExtractDataSetsWidget.h.

vtkKWPushButton* vtkPVExtractDataSetsWidget::AllOnButton [protected]
 

Definition at line 101 of file vtkPVExtractDataSetsWidget.h.

vtkKWPushButton* vtkPVExtractDataSetsWidget::AllOffButton [protected]
 

Definition at line 102 of file vtkPVExtractDataSetsWidget.h.

vtkKWListBox* vtkPVExtractDataSetsWidget::PartSelectionList [protected]
 

Definition at line 104 of file vtkPVExtractDataSetsWidget.h.


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