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

vtkPVPointSourceWidget Class Reference

a PointWidget which contains a separate point source This widget contains a vtkPointWidget as well as a vtkPointSource. This vtkPointSource (which is created on all processes) can be used as input or source to filters (for example as streamline seed). More...

#include <vtkPVPointSourceWidget.h>

Inheritance diagram for vtkPVPointSourceWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkPVPointSourceWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPVPointSourceWidget, vtkPVPointWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual int GetModifiedFlag ()
virtual void SaveInBatchScript (ofstream *file)
virtual void ResetInternal ()
virtual void Initialize ()
virtual void Trace (ofstream *file)
virtual void Update ()
virtual void UpdateEnableState ()
virtual vtkSMProxyGetProxyByName (const char *)
virtual void EnableAnimation ()
virtual void DisableAnimation ()
virtual vtkPVScaleFactorEntryGetRadiusWidget ()
virtual vtkPVVectorEntryGetNumberOfPointsWidget ()
virtual void Accept ()
virtual void SetRadiusScaleFactor (float)
virtual void SetDefaultRadius (float)
virtual void SetDefaultNumberOfPoints (int)
virtual void SetShowEntries (int)
void SetInputMenu (vtkPVInputMenu *im)

Static Public Member Functions

vtkPVPointSourceWidgetNew ()

Protected Member Functions

 vtkPVPointSourceWidget ()
 ~vtkPVPointSourceWidget ()
virtual void CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map)
virtual int ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser)
virtual void SetSourceProxyName (const char *)
 vtkPVPointSourceWidget (const vtkPVPointSourceWidget &)
void operator= (const vtkPVPointSourceWidget &)

Protected Attributes

vtkSMSourceProxySourceProxy
char * SourceProxyName
vtkPVScaleFactorEntryRadiusWidget
vtkPVVectorEntryNumberOfPointsWidget
float RadiusScaleFactor
float DefaultRadius
vtkPVInputMenuInputMenu
int DefaultNumberOfPoints
int ShowEntries

Detailed Description

a PointWidget which contains a separate point source This widget contains a vtkPointWidget as well as a vtkPointSource. This vtkPointSource (which is created on all processes) can be used as input or source to filters (for example as streamline seed).

If an InputMenu is specified, then DefaultRadius has no effect. If InputMenu is not specified, then RadiusScaleFactor has no effect.

Definition at line 35 of file vtkPVPointSourceWidget.h.


Constructor & Destructor Documentation

vtkPVPointSourceWidget::vtkPVPointSourceWidget  )  [protected]
 

vtkPVPointSourceWidget::~vtkPVPointSourceWidget  )  [protected]
 

vtkPVPointSourceWidget::vtkPVPointSourceWidget const vtkPVPointSourceWidget  )  [protected]
 


Member Function Documentation

vtkPVPointSourceWidget* vtkPVPointSourceWidget::New  )  [static]
 

Reimplemented from vtkPVPointWidget.

vtkPVPointSourceWidget::vtkTypeRevisionMacro vtkPVPointSourceWidget  ,
vtkPVPointWidget 
 

void vtkPVPointSourceWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkPVPointWidget.

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

Create the widget.

Reimplemented from vtkPVPointWidget.

virtual vtkPVScaleFactorEntry* vtkPVPointSourceWidget::GetRadiusWidget  )  [virtual]
 

Controls the radius of the point cloud.

virtual vtkPVVectorEntry* vtkPVPointSourceWidget::GetNumberOfPointsWidget  )  [virtual]
 

Controls the number of points in the point cloud.

virtual int vtkPVPointSourceWidget::GetModifiedFlag  )  [virtual]
 

Returns if any subwidgets are modified.

Reimplemented from vtkPVWidget.

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

Create the point source in the VTK Tcl script. Savea a point source (one for all parts).

Reimplemented from vtkPVPointWidget.

virtual void vtkPVPointSourceWidget::Accept  )  [virtual]
 

The methods get called when the Accept button is pressed. It sets the VTK objects value using this widgets value.

Reimplemented from vtkPVPointWidget.

virtual void vtkPVPointSourceWidget::ResetInternal  )  [virtual]
 

The methods get called when the Reset button is pressed. It sets this widgets value using the VTK objects value.

Reimplemented from vtkPVPointWidget.

virtual void vtkPVPointSourceWidget::Initialize  )  [virtual]
 

Initialize widget after creation

Reimplemented from vtkPVPointWidget.

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

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

Reimplemented from vtkPVPointWidget.

virtual void vtkPVPointSourceWidget::SetRadiusScaleFactor float   )  [virtual]
 

Values to be set from XML.

virtual void vtkPVPointSourceWidget::SetDefaultRadius float   )  [virtual]
 

Values to be set from XML.

virtual void vtkPVPointSourceWidget::SetDefaultNumberOfPoints int   )  [virtual]
 

Values to be set from XML.

virtual void vtkPVPointSourceWidget::SetShowEntries int   )  [virtual]
 

Values to be set from XML.

void vtkPVPointSourceWidget::SetInputMenu vtkPVInputMenu im  ) 
 

Values to be set from XML.

virtual void vtkPVPointSourceWidget::Update  )  [virtual]
 

This is called if the input menu changes.

Reimplemented from vtkPVWidget.

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

virtual vtkSMProxy* vtkPVPointSourceWidget::GetProxyByName const char *   )  [inline, virtual]
 

Provide access to the proxy used by this widget.

Reimplemented from vtkPV3DWidget.

Definition at line 100 of file vtkPVPointSourceWidget.h.

virtual void vtkPVPointSourceWidget::EnableAnimation  )  [virtual]
 

Register the animatable proxies and make them available for animation. Called by vtkPVSelectWidget when the widget is selected. This is to make sure that only the selected widget shows up in the animation interface and thus avoids confusion.

Reimplemented from vtkPV3DWidget.

virtual void vtkPVPointSourceWidget::DisableAnimation  )  [virtual]
 

Unregister animatable proxies so that they are not available for animation. Called by vtkPVSelectWidget when this widget is deselected. is to make sure that only the selected widget shows up in the animation interface and thus avoids confusion.

Reimplemented from vtkPV3DWidget.

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

Reimplemented from vtkPV3DWidget.

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

Called by vtkPVXMLPackageParser to configure the widget from XML attributes.

Reimplemented from vtkPVPointWidget.

virtual void vtkPVPointSourceWidget::SetSourceProxyName const char *   )  [protected, virtual]
 

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


Member Data Documentation

vtkSMSourceProxy* vtkPVPointSourceWidget::SourceProxy [protected]
 

Definition at line 127 of file vtkPVPointSourceWidget.h.

char* vtkPVPointSourceWidget::SourceProxyName [protected]
 

Definition at line 128 of file vtkPVPointSourceWidget.h.

vtkPVScaleFactorEntry* vtkPVPointSourceWidget::RadiusWidget [protected]
 

Definition at line 131 of file vtkPVPointSourceWidget.h.

vtkPVVectorEntry* vtkPVPointSourceWidget::NumberOfPointsWidget [protected]
 

Definition at line 132 of file vtkPVPointSourceWidget.h.

float vtkPVPointSourceWidget::RadiusScaleFactor [protected]
 

Definition at line 134 of file vtkPVPointSourceWidget.h.

float vtkPVPointSourceWidget::DefaultRadius [protected]
 

Definition at line 135 of file vtkPVPointSourceWidget.h.

vtkPVInputMenu* vtkPVPointSourceWidget::InputMenu [protected]
 

Definition at line 136 of file vtkPVPointSourceWidget.h.

int vtkPVPointSourceWidget::DefaultNumberOfPoints [protected]
 

Definition at line 137 of file vtkPVPointSourceWidget.h.

int vtkPVPointSourceWidget::ShowEntries [protected]
 

Definition at line 138 of file vtkPVPointSourceWidget.h.


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