VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSMPContourGrid Class Reference

a subclass of vtkContourGrid that works in parallel vtkSMPContourGrid performs the same functionaliy as vtkContourGrid but does it using multiple threads. This will probably be merged with vtkContourGrid in the future. More...

#include <vtkSMPContourGrid.h>

Inheritance diagram for vtkSMPContourGrid:
Inheritance graph
[legend]
Collaboration diagram for vtkSMPContourGrid:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkContourGrid Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSMPContourGridNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetMergePieces (bool)
virtual bool GetMergePieces ()
virtual void MergePiecesOn ()
virtual void MergePiecesOff ()
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkSMPContourGridSafeDownCast (vtkObjectBase *o)
static vtkSMPContourGridNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSMPContourGrid ()
 ~vtkSMPContourGrid ()
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation (int port, vtkInformation *info)

Protected Attributes

bool MergePieces

Detailed Description

a subclass of vtkContourGrid that works in parallel vtkSMPContourGrid performs the same functionaliy as vtkContourGrid but does it using multiple threads. This will probably be merged with vtkContourGrid in the future.

Tests:
vtkSMPContourGrid (Tests)

Definition at line 31 of file vtkSMPContourGrid.h.


Member Typedef Documentation

Reimplemented from vtkContourGrid.

Definition at line 34 of file vtkSMPContourGrid.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkSMPContourGrid::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkContourGrid.

virtual int vtkSMPContourGrid::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkContourGrid.

Reimplemented from vtkContourGrid.

virtual vtkObjectBase* vtkSMPContourGrid::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkContourGrid.

Reimplemented from vtkContourGrid.

void vtkSMPContourGrid::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkContourGrid.

Constructor.

Reimplemented from vtkContourGrid.

virtual void vtkSMPContourGrid::SetMergePieces ( bool  ) [virtual]

If MergePieces is true (default), this filter will merge all pieces generated by processing the input with multiple threads. The output will be a vtkPolyData. Note that this has a slight overhead which becomes more significant as the number of threads used grows. If MergePieces is false, this filter will generate a vtkMultiBlock of vtkPolyData where the number of pieces will be equal to the number of threads used.

virtual bool vtkSMPContourGrid::GetMergePieces ( ) [virtual]

If MergePieces is true (default), this filter will merge all pieces generated by processing the input with multiple threads. The output will be a vtkPolyData. Note that this has a slight overhead which becomes more significant as the number of threads used grows. If MergePieces is false, this filter will generate a vtkMultiBlock of vtkPolyData where the number of pieces will be equal to the number of threads used.

virtual void vtkSMPContourGrid::MergePiecesOn ( ) [virtual]

If MergePieces is true (default), this filter will merge all pieces generated by processing the input with multiple threads. The output will be a vtkPolyData. Note that this has a slight overhead which becomes more significant as the number of threads used grows. If MergePieces is false, this filter will generate a vtkMultiBlock of vtkPolyData where the number of pieces will be equal to the number of threads used.

virtual void vtkSMPContourGrid::MergePiecesOff ( ) [virtual]

If MergePieces is true (default), this filter will merge all pieces generated by processing the input with multiple threads. The output will be a vtkPolyData. Note that this has a slight overhead which becomes more significant as the number of threads used grows. If MergePieces is false, this filter will generate a vtkMultiBlock of vtkPolyData where the number of pieces will be equal to the number of threads used.

see vtkAlgorithm for details

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkSMPContourGrid::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkContourGrid.

virtual int vtkSMPContourGrid::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

Definition at line 69 of file vtkSMPContourGrid.h.


The documentation for this class was generated from the following file: