vtkPipelineSize Class Reference

#include <vtkPipelineSize.h>

Inheritance diagram for vtkPipelineSize:

Inheritance graph
[legend]
Collaboration diagram for vtkPipelineSize:

Collaboration graph
[legend]

List of all members.


Detailed Description

compute the memory required by a pipeline

Tests:
vtkPipelineSize (Tests)

Definition at line 29 of file vtkPipelineSize.h.


Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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])

Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 33 of file vtkPipelineSize.h.


Constructor & Destructor Documentation

vtkPipelineSize::vtkPipelineSize (  )  [inline, protected]

Definition at line 54 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.

virtual const char* vtkPipelineSize::GetClassName (  )  [virtual]

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.

static vtkPipelineSize* vtkPipelineSize::SafeDownCast ( vtkObject o  )  [static]

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:

Generated on Mon Sep 27 18:40:31 2010 for VTK by  doxygen 1.5.6