20#ifndef vtkPipelineSize_h
21#define vtkPipelineSize_h
23#include "vtkFiltersParallelModule.h"
49 unsigned long memoryLimit,
vtkAlgorithm* mapper,
int piece,
int numPieces);
56 vtkAlgorithm* src,
int outputPort,
unsigned long* inputSize,
unsigned long size[2]);
58 vtkAlgorithm* src,
int outputPort,
unsigned long* inputSize,
unsigned long size[2]);
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
abstract base class for most VTK objects
compute the memory required by a pipeline
void GenericComputeSourcePipelineSize(vtkAlgorithm *src, int outputPort, unsigned long size[3])
vtkPipelineSize()=default
void ComputeSourcePipelineSize(vtkAlgorithm *src, int outputPort, unsigned long size[3])
static vtkPipelineSize * New()
unsigned long GetNumberOfSubPieces(unsigned long memoryLimit, vtkAlgorithm *mapper, int piece, int numPieces)
Determine how many subpieces a mapper should use to fit a target memory limit.
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])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned long GetEstimatedSize(vtkAlgorithm *input, int inputPort, int connection)
Compute an estimate of how much memory a pipline will require in kibibytes (1024 bytes) This is only ...