VTK
dox
Rendering
Core
vtkBackgroundColorMonitor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBackgroundColorMonitor
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
=========================================================================*/
32
#ifndef vtkBackgroundColorMonitor_h
33
#define vtkBackgroundColorMonitor_h
34
35
#include "vtkRenderingCoreModule.h"
// for export macro
36
#include "
vtkObject.h
"
37
38
class
vtkRenderer
;
39
40
class
VTKRENDERINGCORE_EXPORT
vtkBackgroundColorMonitor
:
public
vtkObject
41
{
42
public
:
43
static
vtkBackgroundColorMonitor
*
New
();
44
vtkTypeMacro(
vtkBackgroundColorMonitor
,
vtkObject
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
54
bool
StateChanged(
vtkRenderer
*ren);
55
60
void
Update(
vtkRenderer
*ren);
61
62
protected
:
63
vtkBackgroundColorMonitor
();
64
~vtkBackgroundColorMonitor
()
override
{}
65
66
private
:
67
unsigned
int
UpTime;
68
bool
Gradient;
69
double
Color1[3];
70
double
Color2[3];
71
72
private
:
73
vtkBackgroundColorMonitor
(
const
vtkBackgroundColorMonitor
&) =
delete
;
74
void
operator=(
const
vtkBackgroundColorMonitor
&) =
delete
;
75
};
76
77
#endif
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkBackgroundColorMonitor
Definition:
vtkBackgroundColorMonitor.h:40
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
vtkBackgroundColorMonitor::~vtkBackgroundColorMonitor
~vtkBackgroundColorMonitor() override
Definition:
vtkBackgroundColorMonitor.h:64
Generated by
1.8.16