VTK
dox
Rendering
Core
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
=========================================================================*/
31
#ifndef vtkCuller_h
32
#define vtkCuller_h
33
34
#include "vtkRenderingCoreModule.h"
// For export macro
35
#include "
vtkObject.h
"
36
37
class
vtkProp
;
38
class
vtkRenderer
;
39
40
class
VTKRENDERINGCORE_EXPORT
vtkCuller
:
public
vtkObject
41
{
42
public
:
43
vtkTypeMacro(
vtkCuller
,
vtkObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
49
virtual
double
Cull
(
vtkRenderer
*ren,
vtkProp
**propList,
50
int
& listLength,
int
& initialized ) = 0;
51
52
protected
:
53
vtkCuller
();
54
~vtkCuller
()
override
;
55
56
private
:
57
vtkCuller
(
const
vtkCuller
&) =
delete
;
58
void
operator=(
const
vtkCuller
&) =
delete
;
59
};
60
61
#endif
vtkCuller::Cull
virtual double Cull(vtkRenderer *ren, vtkProp **propList, int &listLength, int &initialized)=0
This is called outside the render loop by vtkRenderer.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:60
vtkCuller::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCuller::vtkCuller
vtkCuller()
vtkCuller
a superclass for prop cullers
Definition:
vtkCuller.h:41
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkObject.h
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:53
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:64
vtkCuller::~vtkCuller
~vtkCuller() override
Generated by
1.8.18