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

vtkPVTempTessellatorEntry Class Reference

#include <vtkPVTempTessellatorEntry.h>

Inheritance diagram for vtkPVTempTessellatorEntry:

Inheritance graph
[legend]
Collaboration diagram for vtkPVTempTessellatorEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVTempTessellatorEntry, vtkPVWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void ChangeCriterionCallback ()
virtual void ToggleCriterionCallback ()
virtual void PointDataSelectedCallback ()
virtual void Trace (ofstream *file)
virtual void Update ()
virtual void ResetInternal ()
virtual void Initialize ()
virtual void UpdateEnableState ()
virtual void SetLabel (const char *)
const char * GetLabel () const
char * GetLabel ()
void SetFieldCriterion (int fieldNumber, float criterion)
void ResetFieldCriteria ()
virtual void Accept ()
virtual void SetResetCriteriaCommand (const char *)
virtual void SetSetFieldCriterionCommand (const char *)
virtual void SetInputMenu (vtkPVInputMenu *)
virtual vtkPVInputMenuGetInputMenu ()
const vtkPVInputMenuGetInputMenu () const
vtkPVDataSetAttributesInformationGetPointDataInformation ()

Static Public Member Functions

vtkPVTempTessellatorEntryNew ()

Protected Member Functions

 vtkPVTempTessellatorEntry ()
 ~vtkPVTempTessellatorEntry ()
virtual void UpdateProperty ()
 vtkPVTempTessellatorEntry (const vtkPVTempTessellatorEntry &)
void operator= (const vtkPVTempTessellatorEntry &)
virtual void CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
int ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser)
virtual void SaveInBatchScriptForPart (ofstream *file, vtkClientServerID)

Protected Attributes

char * ResetCriteriaCommand
char * SetFieldCriterionCommand
vtkPVInputMenuInputMenu
vtkTessellatorEntryData * Data

Detailed Description

Date
2005/06/16 20:51:41
Revision
1.7

This widget lets the user add/remove a floating point value for each point field defined over the input dataset. These floating point values are used as the maximum allowable chord error for edge subdivisions during tessellation.

To use this widget as part of the GUI for a source or filter module, you create an XML description of the GUI that contains an entry for a TessellatorEntry widget like so: <TessellatorEntry label="Max Field Error Squared" trace_name="FieldError2" property="FieldError2" help="The square of the maximum field error allowed at any edge midpoint in the output tessellation." input_menu_id="tess_source_select" /> The variable and type attributes specify the name and type of the underlying filter's member variable that is controlled by the TessellatorEntry GUI. The input_menu_id must correspond to the value of an InputMenu GUI entry's id attribute. The TessellatorEntry must reference the current input to the filter so that it can collect the names of point data arrays for its listbox. The property attribute specifies the server-manager property to be used with this widget. This property handles calling the appropriate commands to synchronize the filter with the GUI values when the user presses the Accept button.

Definition at line 54 of file vtkPVTempTessellatorEntry.h.


Constructor & Destructor Documentation

vtkPVTempTessellatorEntry::vtkPVTempTessellatorEntry  )  [protected]
 

vtkPVTempTessellatorEntry::~vtkPVTempTessellatorEntry  )  [protected]
 

vtkPVTempTessellatorEntry::vtkPVTempTessellatorEntry const vtkPVTempTessellatorEntry  )  [protected]
 


Member Function Documentation

vtkPVTempTessellatorEntry* vtkPVTempTessellatorEntry::New  )  [static]
 

Reimplemented from vtkPVTracedWidget.

vtkPVTempTessellatorEntry::vtkTypeRevisionMacro vtkPVTempTessellatorEntry  ,
vtkPVWidget 
 

void vtkPVTempTessellatorEntry::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVWidget.

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

Create the widget.

Reimplemented from vtkPVWidget.

virtual void vtkPVTempTessellatorEntry::SetLabel const char *   )  [virtual]
 

Access to the label (for scripting)

const char* vtkPVTempTessellatorEntry::GetLabel  )  const
 

Access to the label (for scripting)

char* vtkPVTempTessellatorEntry::GetLabel  ) 
 

Access to the label (for scripting)

void vtkPVTempTessellatorEntry::SetFieldCriterion int  fieldNumber,
float  criterion
 

Actions that may performed on the widget

void vtkPVTempTessellatorEntry::ResetFieldCriteria  ) 
 

Actions that may performed on the widget

virtual void vtkPVTempTessellatorEntry::ChangeCriterionCallback  )  [virtual]
 

Callback when a field criterion is changed.

virtual void vtkPVTempTessellatorEntry::ToggleCriterionCallback  )  [virtual]
 

Callback when a field criterion is enabled/disabled.

virtual void vtkPVTempTessellatorEntry::PointDataSelectedCallback  )  [virtual]
 

Callback when a point field is selected. This callback must set the widget values (CriterionEnable and CriterionValue) to match those for the selected field.

virtual void vtkPVTempTessellatorEntry::Accept  )  [virtual]
 

Called when Accept is pressed

Implements vtkPVWidget.

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

Trace calls and/or save state.

Implements vtkPVWidget.

virtual void vtkPVTempTessellatorEntry::Update  )  [virtual]
 

Called when the GUI should be updated using the state of the PVSource that serves as its input. It is called when the user modifies the input menu associated with the filter. This modifies the state of the GUI but not the Property, which stores the values last sent to the server. See ResetInternal.

Reimplemented from vtkPVWidget.

virtual void vtkPVTempTessellatorEntry::ResetInternal  )  [virtual]
 

Called when the widget should update its GUI entries from the Property that stores the values last sent to the server. If values have never been sent to the server (i.e., the user has never hit the "Accept" button), then Update is called to put default entries into the GUI.

Reimplemented from vtkPVWidget.

virtual void vtkPVTempTessellatorEntry::Initialize  )  [virtual]
 

Initialize widget right after creation

Implements vtkPVWidget.

virtual void vtkPVTempTessellatorEntry::SetResetCriteriaCommand const char *   )  [virtual]
 

Set the names of the tessellator filter's methods used to add or reset subdivision criteria.

virtual void vtkPVTempTessellatorEntry::SetSetFieldCriterionCommand const char *   )  [virtual]
 

Set the names of the tessellator filter's methods used to add or reset subdivision criteria.

virtual void vtkPVTempTessellatorEntry::UpdateEnableState  )  [virtual]
 

Enable/disable parts of the widget. Used in this class to disable the widget when the filter's input has no scalar fields (and thus no possible criteria may be added).

Reimplemented from vtkKWWidget.

virtual void vtkPVTempTessellatorEntry::SetInputMenu vtkPVInputMenu  )  [virtual]
 

Get/Set the widget that is used to select the PVSource of the module.

virtual vtkPVInputMenu* vtkPVTempTessellatorEntry::GetInputMenu  )  [virtual]
 

Get/Set the widget that is used to select the PVSource of the module.

const vtkPVInputMenu* vtkPVTempTessellatorEntry::GetInputMenu  )  const [inline]
 

Get/Set the widget that is used to select the PVSource of the module.

Definition at line 131 of file vtkPVTempTessellatorEntry.h.

vtkPVDataSetAttributesInformation* vtkPVTempTessellatorEntry::GetPointDataInformation  ) 
 

Get the point data associated with the module's source dataset. This isn't wrapped because vtkPVDataSetAttributesInformation is in the vtkPVFilters library, which doesn't get wrapped.

virtual void vtkPVTempTessellatorEntry::UpdateProperty  )  [protected, virtual]
 

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

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

Reimplemented from vtkPVWidget.

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

Read attributes from the module description.

Reimplemented from vtkPVWidget.

virtual void vtkPVTempTessellatorEntry::SaveInBatchScriptForPart ofstream *  file,
vtkClientServerID 
[protected, virtual]
 

Save a script to reproduce the state of the widget in a .pvs file.

Reimplemented from vtkPVWidget.


Member Data Documentation

char* vtkPVTempTessellatorEntry::ResetCriteriaCommand [protected]
 

Definition at line 147 of file vtkPVTempTessellatorEntry.h.

char* vtkPVTempTessellatorEntry::SetFieldCriterionCommand [protected]
 

Definition at line 148 of file vtkPVTempTessellatorEntry.h.

vtkPVInputMenu* vtkPVTempTessellatorEntry::InputMenu [protected]
 

Definition at line 150 of file vtkPVTempTessellatorEntry.h.

vtkTessellatorEntryData* vtkPVTempTessellatorEntry::Data [protected]
 

Definition at line 152 of file vtkPVTempTessellatorEntry.h.


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