VTK
dox
Charts
Core
vtkLookupTableItem.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkLookupTableItem.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
16
#ifndef vtkLookupTableItem_h
17
#define vtkLookupTableItem_h
18
19
#include "vtkChartsCoreModule.h"
// For export macro
20
#include "
vtkScalarsToColorsItem.h
"
21
22
class
vtkLookupTable
;
23
24
// Description:
25
// vtkPlot::Color, vtkPlot::Brush, vtkScalarsToColors::DrawPolyLine,
26
// vtkScalarsToColors::MaskAboveCurve have no effect here.
27
class
VTKCHARTSCORE_EXPORT
vtkLookupTableItem
:
public
vtkScalarsToColorsItem
28
{
29
public
:
30
static
vtkLookupTableItem
*
New
();
31
vtkTypeMacro(
vtkLookupTableItem
,
vtkScalarsToColorsItem
);
32
void
PrintSelf
(ostream &os,
vtkIndent
indent)
override
;
33
34
void
SetLookupTable
(
vtkLookupTable
* t);
35
vtkGetObjectMacro(LookupTable,
vtkLookupTable
);
36
37
protected
:
38
vtkLookupTableItem
();
39
~vtkLookupTableItem
()
override
;
40
41
// Description:
42
// Reimplemented to return the range of the lookup table
43
void
ComputeBounds
(
double
bounds[4])
override
;
44
45
46
void
ComputeTexture
()
override
;
47
vtkLookupTable
*
LookupTable
;
48
49
private
:
50
vtkLookupTableItem
(
const
vtkLookupTableItem
&) =
delete
;
51
void
operator=(
const
vtkLookupTableItem
&) =
delete
;
52
};
53
54
#endif
vtkScalarsToColorsItem
Abstract class for ScalarsToColors items.
Definition:
vtkScalarsToColorsItem.h:41
vtkLookupTableItem::ComputeTexture
void ComputeTexture() override
Need to be reimplemented by subclasses, ComputeTexture() is called at paint time if the texture is no...
vtkLookupTableItem::vtkLookupTableItem
vtkLookupTableItem()
vtkScalarsToColorsItem.h
vtkLookupTableItem::LookupTable
vtkLookupTable * LookupTable
Definition:
vtkLookupTableItem.h:47
vtkLookupTableItem::~vtkLookupTableItem
~vtkLookupTableItem() override
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkLookupTableItem
Definition:
vtkLookupTableItem.h:28
vtkLookupTable
map scalar values into colors via a lookup table
Definition:
vtkLookupTable.h:75
vtkLookupTableItem::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLookupTableItem::SetLookupTable
void SetLookupTable(vtkLookupTable *t)
vtkLookupTableItem::ComputeBounds
void ComputeBounds(double bounds[4]) override
vtkLookupTableItem::New
static vtkLookupTableItem * New()
Generated by
1.8.18