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

vtkAppendPolyData Class Reference

#include <vtkAppendPolyData.h>

Inheritance diagram for vtkAppendPolyData:

Inheritance graph
[legend]
Collaboration diagram for vtkAppendPolyData:

Collaboration graph
[legend]
List of all members.

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 46 of file vtkAppendPolyData.h.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void AddInput (vtkPolyData *)
void SetNumberOfInputs (int num)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetUserManagedInputs (int)
virtual int GetUserManagedInputs ()
virtual void UserManagedInputsOn ()
virtual void UserManagedInputsOff ()
void RemoveInput (vtkPolyData *)
vtkPolyDataGetInput (int idx)
vtkPolyDataGetInput ()
void SetInputByNumber (int num, vtkPolyData *input)
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 (vtkObject *o)

Protected Member Functions

 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


Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkAppendPolyData::Superclass
 

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 51 of file vtkAppendPolyData.h.


Constructor & Destructor Documentation

vtkAppendPolyData::vtkAppendPolyData  )  [protected]
 

vtkAppendPolyData::~vtkAppendPolyData  )  [protected]
 


Member Function Documentation

static vtkAppendPolyData* vtkAppendPolyData::New  )  [static]
 

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

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkAppendPolyData::GetClassName  )  [virtual]
 

Reimplemented from vtkPolyDataAlgorithm.

static int vtkAppendPolyData::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkAppendPolyData::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

static vtkAppendPolyData* vtkAppendPolyData::SafeDownCast vtkObject o  )  [static]
 

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/SetInputByNumber should not be mixed with calls to AddInput/RemoveInput. By default, UserManagedInputs is false.

virtual int vtkAppendPolyData::GetUserManagedInputs  )  [virtual]
 

virtual void vtkAppendPolyData::UserManagedInputsOn  )  [virtual]
 

virtual void vtkAppendPolyData::UserManagedInputsOff  )  [virtual]
 

void vtkAppendPolyData::AddInput vtkPolyData  ) 
 

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

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

Reimplemented from vtkPolyDataAlgorithm.

vtkPolyData* vtkAppendPolyData::GetInput  )  [inline]
 

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

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 75 of file vtkAppendPolyData.h.

References vtkPolyDataAlgorithm::GetInput().

void vtkAppendPolyData::SetNumberOfInputs int  num  ) 
 

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

void vtkAppendPolyData::SetInputByNumber int  num,
vtkPolyData input
 

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]
 

virtual void vtkAppendPolyData::ParallelStreamingOn  )  [virtual]
 

virtual void vtkAppendPolyData::ParallelStreamingOff  )  [virtual]
 

virtual int vtkAppendPolyData::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

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

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkAppendPolyData::RequestUpdateExtent vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

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

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkAppendPolyData::FillInputPortInformation int  ,
vtkInformation
[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

int vtkAppendPolyData::ParallelStreaming [protected]
 

Definition at line 104 of file vtkAppendPolyData.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:33:51 2008 for VTK by  doxygen 1.4.3-20050530