VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkScalarsToColorsItem.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkScalarsToColorsItem.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
=========================================================================*/
15
29
#ifndef __vtkScalarsToColorsItem_h
30
#define __vtkScalarsToColorsItem_h
31
32
#include "
vtkPlot.h
"
33
34
class
vtkCallbackCommand
;
35
class
vtkImageData
;
36
class
vtkPoints2D
;
37
38
class
VTK_CHARTS_EXPORT
vtkScalarsToColorsItem
:
public
vtkPlot
39
{
40
public
:
41
vtkTypeMacro(
vtkScalarsToColorsItem
,
vtkPlot
);
42
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
43
47
virtual
void
GetBounds
(
double
bounds[4]);
48
52
virtual
bool
Paint
(
vtkContext2D
*painter);
53
55
58
vtkGetObjectMacro(PolyLinePen,
vtkPen
);
60
62
67
vtkSetMacro(MaskAboveCurve,
bool
);
68
vtkGetMacro(MaskAboveCurve,
bool
);
70
71
protected
:
72
vtkScalarsToColorsItem
();
73
virtual
~
vtkScalarsToColorsItem
();
74
78
virtual
void
ComputeTexture() = 0;
79
81
83
virtual
void
ScalarsToColorsModified(
vtkObject
* caller,
unsigned
long
eid,
void
* calldata);
84
static
void
OnScalarsToColorsModified(
vtkObject
* caller,
unsigned
long
eid,
void
*clientdata,
void
* calldata);
86
87
vtkImageData
*
Texture
;
88
bool
Interpolate
;
89
vtkPoints2D
*
Shape
;
90
vtkCallbackCommand
*
Callback
;
91
92
vtkPen
*
PolyLinePen
;
93
bool
MaskAboveCurve
;
94
private
:
95
vtkScalarsToColorsItem
(
const
vtkScalarsToColorsItem
&);
// Not implemented.
96
void
operator=(
const
vtkScalarsToColorsItem
&);
// Not implemented.
97
};
98
99
#endif
VTK_CHARTS_EXPORT
#define VTK_CHARTS_EXPORT
Definition:
vtkWin32Header.h:285
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:60
vtkAbstractContextItem::Paint
virtual bool Paint(vtkContext2D *painter)
vtkPlot::GetBounds
virtual void GetBounds(double bounds[4])
Definition:
vtkPlot.h:213
vtkScalarsToColorsItem::Texture
vtkImageData * Texture
Definition:
vtkScalarsToColorsItem.h:87
vtkScalarsToColorsItem
Abstract class for ScalarsToColors items.
Definition:
vtkScalarsToColorsItem.h:38
vtkScalarsToColorsItem::PolyLinePen
vtkPen * PolyLinePen
Definition:
vtkScalarsToColorsItem.h:92
vtkScalarsToColorsItem::Interpolate
bool Interpolate
Definition:
vtkScalarsToColorsItem.h:88
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:54
vtkCallbackCommand
supports function callbacks
Definition:
vtkCallbackCommand.h:48
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkPoints2D
represent and manipulate 2D points
Definition:
vtkPoints2D.h:34
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:43
vtkScalarsToColorsItem::Callback
vtkCallbackCommand * Callback
Definition:
vtkScalarsToColorsItem.h:90
vtkScalarsToColorsItem::MaskAboveCurve
bool MaskAboveCurve
Definition:
vtkScalarsToColorsItem.h:93
vtkPen
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Definition:
vtkPen.h:37
vtkPlot
Abstract class for 2D plots.
Definition:
vtkPlot.h:50
vtkPlot::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkPlot.h
vtkScalarsToColorsItem::Shape
vtkPoints2D * Shape
Definition:
vtkScalarsToColorsItem.h:89
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6