VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPipelineSize Class Reference

compute the memory required by a pipeline More...

#include <vtkPipelineSize.h>

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

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPipelineSizeNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetEstimatedSize (vtkAlgorithm *input, int inputPort, int connection)
unsigned long GetNumberOfSubPieces (unsigned long memoryLimit, vtkPolyDataMapper *mapper)

Static Public Member Functions

static vtkPipelineSizeNew ()
static int IsTypeOf (const char *type)
static vtkPipelineSizeSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPipelineSize ()
void GenericComputeSourcePipelineSize (vtkAlgorithm *src, int outputPort, unsigned long size[3])
void ComputeSourcePipelineSize (vtkAlgorithm *src, int outputPort, unsigned long size[3])
void ComputeOutputMemorySize (vtkAlgorithm *src, int outputPort, unsigned long *inputSize, unsigned long size[2])
void GenericComputeOutputMemorySize (vtkAlgorithm *src, int outputPort, unsigned long *inputSize, unsigned long size[2])

Detailed Description

compute the memory required by a pipeline

Tests:
vtkPipelineSize (Tests)

Definition at line 30 of file vtkPipelineSize.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 34 of file vtkPipelineSize.h.


Constructor & Destructor Documentation

vtkPipelineSize::vtkPipelineSize ( ) [inline, protected]

Definition at line 55 of file vtkPipelineSize.h.


Member Function Documentation

static vtkPipelineSize* vtkPipelineSize::New ( ) [static]

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

Reimplemented from vtkObject.

static int vtkPipelineSize::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 vtkObject.

virtual int vtkPipelineSize::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 vtkObject.

Reimplemented from vtkObject.

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

Reimplemented from vtkObject.

Reimplemented from vtkObject.

virtual void vtkPipelineSize::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 vtkObject.

unsigned long vtkPipelineSize::GetEstimatedSize ( vtkAlgorithm input,
int  inputPort,
int  connection 
)

Compute an estimate of how much memory a pipline will require in kilobytes (1024 bytes not 1000) This is only an estimate and the calculations in here do not take into account the specifics of many sources and filters.

unsigned long vtkPipelineSize::GetNumberOfSubPieces ( unsigned long  memoryLimit,
vtkPolyDataMapper mapper 
)

Determine how many subpieces a mapper should use to fit a target memory limit. This takes into account the mapper's Piece and NumberOfPieces.

void vtkPipelineSize::GenericComputeSourcePipelineSize ( vtkAlgorithm src,
int  outputPort,
unsigned long  size[3] 
) [protected]
void vtkPipelineSize::ComputeSourcePipelineSize ( vtkAlgorithm src,
int  outputPort,
unsigned long  size[3] 
) [protected]
void vtkPipelineSize::ComputeOutputMemorySize ( vtkAlgorithm src,
int  outputPort,
unsigned long *  inputSize,
unsigned long  size[2] 
) [protected]
void vtkPipelineSize::GenericComputeOutputMemorySize ( vtkAlgorithm src,
int  outputPort,
unsigned long *  inputSize,
unsigned long  size[2] 
) [protected]

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