vtkPipelineSize.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00032 #ifndef __vtkPipelineSize_h
00033 #define __vtkPipelineSize_h
00034
00035 #include "vtkObject.h"
00036 class vtkAlgorithm;
00037 class vtkPolyDataMapper;
00038
00039 class VTK_PARALLEL_EXPORT vtkPipelineSize : public vtkObject
00040 {
00041 public:
00043 static vtkPipelineSize* New();
00044 vtkTypeRevisionMacro(vtkPipelineSize,vtkObject);
00045 virtual void PrintSelf(ostream& os, vtkIndent indent);
00047
00049
00053 unsigned long GetEstimatedSize(vtkAlgorithm *input, int inputPort,
00054 int connection);
00056
00058
00061 unsigned long GetNumberOfSubPieces(unsigned long memoryLimit,
00062 vtkPolyDataMapper *mapper);
00064
00065 protected:
00066 vtkPipelineSize() {};
00067 void GenericComputeSourcePipelineSize(vtkAlgorithm *src,
00068 int outputPort,
00069 unsigned long size[3]);
00070 void ComputeSourcePipelineSize(vtkAlgorithm *src,
00071 int outputPort,
00072 unsigned long size[3]);
00073 void ComputeOutputMemorySize( vtkAlgorithm *src,
00074 int outputPort,
00075 unsigned long *inputSize,
00076 unsigned long size[2] );
00077 void GenericComputeOutputMemorySize( vtkAlgorithm *src,
00078 int outputPort,
00079 unsigned long *inputSize,
00080 unsigned long size[2] );
00081
00082
00083 private:
00084 vtkPipelineSize(const vtkPipelineSize&);
00085 void operator=(const vtkPipelineSize&);
00086 };
00087
00088 #endif
00089
00090