VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCuller.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00030 #ifndef __vtkCuller_h 00031 #define __vtkCuller_h 00032 00033 #include "vtkRenderingCoreModule.h" // For export macro 00034 #include "vtkObject.h" 00035 00036 class vtkProp; 00037 class vtkRenderer; 00038 00039 class VTKRENDERINGCORE_EXPORT vtkCuller : public vtkObject 00040 { 00041 public: 00042 vtkTypeMacro(vtkCuller, vtkObject); 00043 virtual void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 00047 virtual double Cull( vtkRenderer *ren, vtkProp **propList, 00048 int& listLength, int& initialized ) = 0; 00050 00051 protected: 00052 vtkCuller(); 00053 ~vtkCuller(); 00054 00055 private: 00056 vtkCuller(const vtkCuller&); // Not implemented. 00057 void operator=(const vtkCuller&); // Not implemented. 00058 }; 00059 00060 #endif