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