Parallel/vtkPipelineSize.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00022 #ifndef __vtkPipelineSize_h
00023 #define __vtkPipelineSize_h
00024
00025 #include "vtkObject.h"
00026 class vtkSource;
00027 class vtkDataObject;
00028 class vtkPolyDataMapper;
00029
00030 class VTK_PARALLEL_EXPORT vtkPipelineSize : public vtkObject
00031 {
00032 public:
00034 static vtkPipelineSize* New();
00035 vtkTypeRevisionMacro(vtkPipelineSize,vtkObject);
00036 virtual void PrintSelf(ostream& os, vtkIndent indent);
00038
00043 unsigned long GetEstimatedSize(vtkDataObject *input);
00044
00046
00049 unsigned long GetNumberOfSubPieces(unsigned long memoryLimit,
00050 vtkPolyDataMapper *mapper);
00052
00053 protected:
00054 vtkPipelineSize() {};
00055 void GenericComputeSourcePipelineSize(vtkSource *src,
00056 vtkDataObject *output,
00057 unsigned long size[3]);
00058 void ComputeSourcePipelineSize(vtkSource *src,
00059 vtkDataObject *output,
00060 unsigned long size[3]);
00061 void ComputeOutputMemorySize( vtkSource *src,
00062 vtkDataObject *output,
00063 unsigned long *inputSize,
00064 unsigned long size[2] );
00065 void GenericComputeOutputMemorySize( vtkSource *src,
00066 vtkDataObject *output,
00067 unsigned long *inputSize,
00068 unsigned long size[2] );
00069 void ComputeDataPipelineSize(vtkDataObject *input,
00070 unsigned long sizes[3]);
00071
00072
00073 private:
00074 vtkPipelineSize(const vtkPipelineSize&);
00075 void operator=(const vtkPipelineSize&);
00076 };
00077
00078 #endif
00079
00080