VTK
|
compute the memory required by a pipeline More...
#include <vtkPipelineSize.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPipelineSize * | NewInstance () 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 vtkPipelineSize * | New () |
static int | IsTypeOf (const char *type) |
static vtkPipelineSize * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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]) |
compute the memory required by a pipeline
Definition at line 30 of file vtkPipelineSize.h.
typedef vtkObject vtkPipelineSize::Superclass |
Reimplemented from vtkObject.
Definition at line 34 of file vtkPipelineSize.h.
vtkPipelineSize::vtkPipelineSize | ( | ) | [inline, protected] |
Definition at line 55 of file vtkPipelineSize.h.
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.
static vtkPipelineSize* vtkPipelineSize::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkPipelineSize::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkPipelineSize* vtkPipelineSize::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
virtual void vtkPipelineSize::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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] |