Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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.

[NOHEADER]

virtual const char * GetClassName ()
virtual int IsA (const char *type)
vtkPipelineSize * New ()
int IsTypeOf (const char *type)
vtkPipelineSize * SafeDownCast (vtkObject *o)

Public Methods

unsigned long GetEstimatedSize (vtkDataObject *input)
unsigned long GetNumberOfSubPieces (unsigned long memoryLimit, vtkPolyDataMapper *mapper)

Protected Methods

 vtkPipelineSize ()
void GenericComputeSourcePipelineSize (vtkSource *src, vtkDataObject *output, unsigned long size[3])
void ComputeSourcePipelineSize (vtkSource *src, vtkDataObject *output, unsigned long size[3])
void ComputeOutputMemorySize (vtkSource *src, vtkDataObject *output, unsigned long *inputSize, unsigned long size[2])
void GenericComputeOutputMemorySize (vtkSource *src, vtkDataObject *output, unsigned long *inputSize, unsigned long size[2])
void ComputeDataPipelineSize (vtkDataObject *input, unsigned long sizes[3])

Detailed Description

compute the memory required by a pipeline.

Date:
2001/10/11 13:38:00
Revision:
1.5
Tests:
vtkPipelineSize (Tests)

Definition at line 57 of file vtkPipelineSize.h.


Constructor & Destructor Documentation

vtkPipelineSize::vtkPipelineSize   [inline, protected]
 

Definition at line 80 of file vtkPipelineSize.h.


Member Function Documentation

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]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

int vtkPipelineSize::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkPipelineSize::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

vtkPipelineSize* vtkPipelineSize::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

unsigned long vtkPipelineSize::GetEstimatedSize vtkDataObject   input
 

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 vtkSource   src,
vtkDataObject   output,
unsigned long    size[3]
[protected]
 

void vtkPipelineSize::ComputeSourcePipelineSize vtkSource   src,
vtkDataObject   output,
unsigned long    size[3]
[protected]
 

void vtkPipelineSize::ComputeOutputMemorySize vtkSource   src,
vtkDataObject   output,
unsigned long *    inputSize,
unsigned long    size[2]
[protected]
 

void vtkPipelineSize::GenericComputeOutputMemorySize vtkSource   src,
vtkDataObject   output,
unsigned long *    inputSize,
unsigned long    size[2]
[protected]
 

void vtkPipelineSize::ComputeDataPipelineSize vtkDataObject   input,
unsigned long    sizes[3]
[protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:38:53 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001