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

appends one or more polygonal datasets together More...

#include <vtkAppendPolyData.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkAppendPolyDataNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void AddInputData (vtkPolyData *)
void RemoveInputData (vtkPolyData *)
void SetNumberOfInputs (int num)
void SetInputConnectionByNumber (int num, vtkAlgorithmOutput *input)
void SetInputDataByNumber (int num, vtkPolyData *ds)
int ExecuteAppend (vtkPolyData *output, vtkPolyData *inputs[], int numInputs)
virtual void SetUserManagedInputs (int)
virtual int GetUserManagedInputs ()
virtual void UserManagedInputsOn ()
virtual void UserManagedInputsOff ()
vtkPolyDataGetInput (int idx)
vtkPolyDataGetInput ()
virtual void SetParallelStreaming (int)
virtual int GetParallelStreaming ()
virtual void ParallelStreamingOn ()
virtual void ParallelStreamingOff ()

Static Public Member Functions

static vtkAppendPolyDataNew ()
static int IsTypeOf (const char *type)
static vtkAppendPolyDataSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkAppendPolyData ()
 ~vtkAppendPolyData ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int, vtkInformation *)
void AppendData (vtkDataArray *dest, vtkDataArray *src, vtkIdType offset)
void AppendDifferentPoints (vtkDataArray *dest, vtkDataArray *src, vtkIdType offset)
vtkIdTypeAppendCells (vtkIdType *pDest, vtkCellArray *src, vtkIdType offset)

Protected Attributes

int ParallelStreaming

Detailed Description

appends one or more polygonal datasets together

vtkAppendPolyData is a filter that appends one of more polygonal datasets into a single polygonal dataset. All geometry is extracted and appended, but point and cell attributes (i.e., scalars, vectors, normals) are extracted and appended only if all datasets have the point and/or cell attributes available. (For example, if one dataset has point scalars but another does not, point scalars will not be appended.)

See also:
vtkAppendFilter
Examples:
vtkAppendPolyData (Examples)
Tests:
vtkAppendPolyData (Tests)

Definition at line 47 of file vtkAppendPolyData.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 52 of file vtkAppendPolyData.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

static int vtkAppendPolyData::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 vtkPolyDataAlgorithm.

virtual int vtkAppendPolyData::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 vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkAppendPolyData::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 vtkPolyDataAlgorithm.

virtual void vtkAppendPolyData::SetUserManagedInputs ( int  ) [virtual]

UserManagedInputs allows the user to set inputs by number instead of using the AddInput/RemoveInput functions. Calls to SetNumberOfInputs/SetInputConnectionByNumber should not be mixed with calls to AddInput/RemoveInput. By default, UserManagedInputs is false.

UserManagedInputs allows the user to set inputs by number instead of using the AddInput/RemoveInput functions. Calls to SetNumberOfInputs/SetInputConnectionByNumber should not be mixed with calls to AddInput/RemoveInput. By default, UserManagedInputs is false.

virtual void vtkAppendPolyData::UserManagedInputsOn ( ) [virtual]

UserManagedInputs allows the user to set inputs by number instead of using the AddInput/RemoveInput functions. Calls to SetNumberOfInputs/SetInputConnectionByNumber should not be mixed with calls to AddInput/RemoveInput. By default, UserManagedInputs is false.

virtual void vtkAppendPolyData::UserManagedInputsOff ( ) [virtual]

UserManagedInputs allows the user to set inputs by number instead of using the AddInput/RemoveInput functions. Calls to SetNumberOfInputs/SetInputConnectionByNumber should not be mixed with calls to AddInput/RemoveInput. By default, UserManagedInputs is false.

Add a dataset to the list of data to append. Should not be used when UserManagedInputs is true, use SetInputByNumber instead.

Remove a dataset from the list of data to append. Should not be used when UserManagedInputs is true, use SetInputByNumber (NULL) instead.

Get any input of this filter.

Reimplemented from vtkPolyDataAlgorithm.

Get any input of this filter.

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 78 of file vtkAppendPolyData.h.

Directly set(allocate) number of inputs, should only be used when UserManagedInputs is true.

virtual void vtkAppendPolyData::SetParallelStreaming ( int  ) [virtual]

ParallelStreaming is for a particular application. It causes this filter to ask for a different piece from each of its inputs. If all the inputs are the same, then the output of this append filter is the whole dataset pieced back together. Duplicate points are create along the seams. The purpose of this feature is to get data parallelism at a course scale. Each of the inputs can be generated in a different process at the same time.

ParallelStreaming is for a particular application. It causes this filter to ask for a different piece from each of its inputs. If all the inputs are the same, then the output of this append filter is the whole dataset pieced back together. Duplicate points are create along the seams. The purpose of this feature is to get data parallelism at a course scale. Each of the inputs can be generated in a different process at the same time.

virtual void vtkAppendPolyData::ParallelStreamingOn ( ) [virtual]

ParallelStreaming is for a particular application. It causes this filter to ask for a different piece from each of its inputs. If all the inputs are the same, then the output of this append filter is the whole dataset pieced back together. Duplicate points are create along the seams. The purpose of this feature is to get data parallelism at a course scale. Each of the inputs can be generated in a different process at the same time.

virtual void vtkAppendPolyData::ParallelStreamingOff ( ) [virtual]

ParallelStreaming is for a particular application. It causes this filter to ask for a different piece from each of its inputs. If all the inputs are the same, then the output of this append filter is the whole dataset pieced back together. Duplicate points are create along the seams. The purpose of this feature is to get data parallelism at a course scale. Each of the inputs can be generated in a different process at the same time.

int vtkAppendPolyData::ExecuteAppend ( vtkPolyData output,
vtkPolyData inputs[],
int  numInputs 
)
virtual int vtkAppendPolyData::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

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

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkAppendPolyData::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

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

Reimplemented from vtkPolyDataAlgorithm.

void vtkAppendPolyData::AppendData ( vtkDataArray dest,
vtkDataArray src,
vtkIdType  offset 
) [protected]
void vtkAppendPolyData::AppendDifferentPoints ( vtkDataArray dest,
vtkDataArray src,
vtkIdType  offset 
) [protected]
vtkIdType* vtkAppendPolyData::AppendCells ( vtkIdType pDest,
vtkCellArray src,
vtkIdType  offset 
) [protected]

Member Data Documentation

Definition at line 112 of file vtkAppendPolyData.h.


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