VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAppendPolyData Class Reference

appends one or more polygonal datasets together More...

#include <vtkAppendPolyData.h>

Inherits vtkPolyDataAlgorithm.

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 ()
 
vtkPolyData * GetInput (int idx)
 
vtkPolyData * GetInput ()
 
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 vtkObjectBase * NewInstanceInternal () 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)
 
vtkIdType * AppendCells (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

typedef vtkPolyDataAlgorithm vtkAppendPolyData::Superclass

Definition at line 52 of file vtkAppendPolyData.h.

Constructor & Destructor Documentation

vtkAppendPolyData::vtkAppendPolyData ( )
protected
vtkAppendPolyData::~vtkAppendPolyData ( )
protected

Member Function Documentation

static vtkAppendPolyData* vtkAppendPolyData::New ( )
static
static int vtkAppendPolyData::IsTypeOf ( const char *  type)
static
virtual int vtkAppendPolyData::IsA ( const char *  type)
virtual
static vtkAppendPolyData* vtkAppendPolyData::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkAppendPolyData::NewInstanceInternal ( ) const
protectedvirtual
vtkAppendPolyData* vtkAppendPolyData::NewInstance ( ) const
void vtkAppendPolyData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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.

virtual int vtkAppendPolyData::GetUserManagedInputs ( )
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::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.

void vtkAppendPolyData::AddInputData ( vtkPolyData *  )

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

void vtkAppendPolyData::RemoveInputData ( vtkPolyData *  )

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

vtkPolyData* vtkAppendPolyData::GetInput ( int  idx)

Get any input of this filter.

vtkPolyData* vtkAppendPolyData::GetInput ( )
inline

Get any input of this filter.

Definition at line 78 of file vtkAppendPolyData.h.

void vtkAppendPolyData::SetNumberOfInputs ( int  num)

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

void vtkAppendPolyData::SetInputConnectionByNumber ( int  num,
vtkAlgorithmOutput *  input 
)
void vtkAppendPolyData::SetInputDataByNumber ( int  num,
vtkPolyData *  ds 
)
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.

virtual int vtkAppendPolyData::GetParallelStreaming ( )
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::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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkAppendPolyData::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkAppendPolyData::FillInputPortInformation ( int  ,
vtkInformation *   
)
protectedvirtual
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

int vtkAppendPolyData::ParallelStreaming
protected

Definition at line 112 of file vtkAppendPolyData.h.


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