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
=========================================================================*/
35
#ifndef vtkBackgroundColorMonitor_h
36
#define vtkBackgroundColorMonitor_h
37
38
#include "vtkRenderingCoreModule.h"
// for export macro
39
#include "
vtkObject.h
"
40
41
class
vtkRenderer
;
42
43
class
VTKRENDERINGCORE_EXPORT
vtkBackgroundColorMonitor
:
public
vtkObject
44
{
45
public
:
46
static
vtkBackgroundColorMonitor
*
New
();
47
vtkTypeMacro(
vtkBackgroundColorMonitor
,
vtkObject
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
57
bool
StateChanged(
vtkRenderer
*ren);
58
63
void
Update
(
vtkRenderer
*ren);
64
65
protected
:
66
vtkBackgroundColorMonitor
();
67
~vtkBackgroundColorMonitor
(){}
68
69
private
:
70
unsigned
int
UpTime;
71
bool
Gradient;
72
double
Color1[3];
73
double
Color2[3];
74
75
private
:
76
vtkBackgroundColorMonitor
(
const
vtkBackgroundColorMonitor
&) VTK_DELETE_FUNCTION;
77
void
operator=(
const
vtkBackgroundColorMonitor
&) VTK_DELETE_FUNCTION;
78
};
79
80
#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:43
Update
virtual void Update()
Updates the extensions string.
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
vtkBackgroundColorMonitor::~vtkBackgroundColorMonitor
~vtkBackgroundColorMonitor()
Definition:
vtkBackgroundColorMonitor.h:67
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
Generated by
1.8.16