Parallel/vtkPipelineSize.h Source File

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

# Parallel/vtkPipelineSize.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkPipelineSize.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00036 #ifndef __vtkPipelineSize_h
    00037 #define __vtkPipelineSize_h
    00038
    00039 #include "vtkObject.h"
    00040 class vtkSource;
    00041 class vtkDataObject;
    00042 class vtkPolyDataMapper;
    00043
    00044 class VTK_PARALLEL_EXPORT vtkPipelineSize : public vtkObject
    00045 {
    00046 public:
    00048   static vtkPipelineSize* New();
    00049   vtkTypeRevisionMacro(vtkPipelineSize,vtkObject);
    00050   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00052
    00057   unsigned long GetEstimatedSize(vtkDataObject *input);
    00058
    00060
    00063   unsigned long GetNumberOfSubPieces(unsigned long memoryLimit,
    00064                                      vtkPolyDataMapper *mapper);
    00066
    00067 protected:
    00068   vtkPipelineSize() {};
    00069   void GenericComputeSourcePipelineSize(vtkSource *src,
    00070                                         vtkDataObject *output,
    00071                                         unsigned long size[3]);
    00072   void ComputeSourcePipelineSize(vtkSource *src,
    00073                                  vtkDataObject *output,
    00074                                  unsigned long size[3]);
    00075   void ComputeOutputMemorySize( vtkSource *src,
    00076                                 vtkDataObject *output,
    00077                                 unsigned long *inputSize,
    00078                                 unsigned long size[2] );
    00079   void GenericComputeOutputMemorySize( vtkSource *src,
    00080                                        vtkDataObject *output,
    00081                                        unsigned long *inputSize,
    00082                                        unsigned long size[2] );
    00083   void ComputeDataPipelineSize(vtkDataObject *input,
    00084                                unsigned long sizes[3]);
    00085
    00086
    00087 private:
    00088   vtkPipelineSize(const vtkPipelineSize&);  // Not implemented.
    00089   void operator=(const vtkPipelineSize&);  // Not implemented.
    00090 };
    00091
    00092 #endif
    00093
    00094