VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
tmp
buildd
vtk6-6.1.0+dfsg
Charts
Core
vtkPlotPie.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPlotPie.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
25
#ifndef __vtkPlotPie_h
26
#define __vtkPlotPie_h
27
28
#include "
vtkChartsCoreModule.h
"
// For export macro
29
#include "
vtkPlot.h
"
30
#include "
vtkSmartPointer.h
"
// To hold ColorSeries etc.
31
32
class
vtkContext2D
;
33
class
vtkColorSeries
;
34
class
vtkPoints2D
;
35
36
class
vtkPlotPiePrivate;
37
38
class
VTKCHARTSCORE_EXPORT
vtkPlotPie
:
public
vtkPlot
39
{
40
public
:
41
vtkTypeMacro
(
vtkPlotPie
,
vtkPlot
);
42
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
43
44
static
vtkPlotPie
*
New
();
45
47
virtual
bool
Paint
(
vtkContext2D
*painter);
48
54
bool
PaintLegend
(
vtkContext2D
*painter,
const
vtkRectf
& rect,
int
legendIndex);
55
59
void
SetDimensions(
int
arg1
,
int
arg2
,
int
arg3
,
int
arg4);
60
64
void
SetDimensions(
int
arg[4]);
65
67
70
vtkGetVector4Macro
(Dimensions,
int
);
72
74
void
SetColorSeries(
vtkColorSeries
*colorSeries);
75
77
vtkColorSeries
*GetColorSeries();
78
79
//BTX
81
84
virtual
vtkIdType
GetNearestPoint
(
const
vtkVector2f
&
point
,
85
const
vtkVector2f
& tolerance,
86
vtkVector2f
*
location
);
88
89
protected
:
90
vtkPlotPie
();
91
~
vtkPlotPie
();
92
94
bool
UpdateTableCache(
vtkTable
*
table
);
95
96
int
Dimensions[4];
97
99
vtkSmartPointer<vtkColorSeries>
ColorSeries
;
100
102
vtkPoints2D
*
Points
;
103
105
vtkTimeStamp
BuildTime
;
106
107
private
:
108
vtkPlotPie
(
const
vtkPlotPie
&);
// Not implemented.
109
void
operator=(
const
vtkPlotPie
&);
// Not implemented.
110
111
vtkPlotPiePrivate *Private;
112
//ETX
113
};
114
115
#endif //__vtkPlotPie_h
vtkPlot::PaintLegend
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
vtkAbstractContextItem::Paint
virtual bool Paint(vtkContext2D *painter)
vtkTimeStamp
record modification and/or execution time
Definition:
vtkTimeStamp.h:34
vtkPlotPie::ColorSeries
vtkSmartPointer< vtkColorSeries > ColorSeries
Definition:
vtkPlotPie.h:99
vtkgl::arg1
GLuint GLuint GLuint GLuint arg1
Definition:
vtkgl.h:16715
vtkSmartPointer< vtkColorSeries >
vtkIdType
int vtkIdType
Definition:
vtkType.h:268
vtkgl::table
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition:
vtkgl.h:11332
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:619
vtkContext2D
Class for drawing 2D primitives to a graphical context.
Definition:
vtkContext2D.h:56
vtkRectf
Definition:
vtkRect.h:108
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkgl::arg3
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg3
Definition:
vtkgl.h:16717
vtkPoints2D
represent and manipulate 2D points
Definition:
vtkPoints2D.h:35
vtkgl::arg2
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
Definition:
vtkgl.h:16716
vtkGetVector4Macro
#define vtkGetVector4Macro(name, type)
Definition:
vtkSetGet.h:331
vtkPlot
Abstract class for 2D plots.
Definition:
vtkPlot.h:51
vtkVector2f
Definition:
vtkVector.h:293
vtkPlot::GetNearestPoint
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
vtkSmartPointer.h
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:67
vtkColorSeries
stores a list of colors.
Definition:
vtkColorSeries.h:53
vtkPlot::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkPlot.h
vtkX3D::point
Definition:
vtkX3D.h:236
vtkgl::location
GLint location
Definition:
vtkgl.h:12002
vtkPlotPie::BuildTime
vtkTimeStamp BuildTime
Definition:
vtkPlotPie.h:105
vtkObject::New
static vtkObject * New()
vtkPlotPie
Class for drawing a Pie diagram.
Definition:
vtkPlotPie.h:38
vtkPlotPie::Points
vtkPoints2D * Points
Definition:
vtkPlotPie.h:102
VTKCHARTSCORE_EXPORT
#define VTKCHARTSCORE_EXPORT
Definition:
vtkChartsCoreModule.h:15
vtkChartsCoreModule.h
Generated on Sat Jun 21 2014 07:56:56 for VTK by
1.8.7