VTK
vtkCuller.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCuller.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef vtkCuller_h
29 #define vtkCuller_h
30 
31 #include "vtkObject.h"
32 #include "vtkRenderingCoreModule.h" // For export macro
33 
34 class vtkProp;
35 class vtkRenderer;
36 
37 class VTKRENDERINGCORE_EXPORT vtkCuller : public vtkObject
38 {
39 public:
40  vtkTypeMacro(vtkCuller, vtkObject);
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  virtual double Cull(vtkRenderer* ren, vtkProp** propList, int& listLength, int& initialized) = 0;
47 
48 protected:
49  vtkCuller();
50  ~vtkCuller() override;
51 
52 private:
53  vtkCuller(const vtkCuller&) = delete;
54  void operator=(const vtkCuller&) = delete;
55 };
56 
57 #endif
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:53
vtkCuller
a superclass for prop cullers
Definition: vtkCuller.h:37
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkProp
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:47
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:58