src
paraview-5.12
Remoting
Views
vtkChartWarning.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
4
14
#ifndef vtkChartWarning_h
15
#define vtkChartWarning_h
16
17
#include "
vtkBlockItem.h
"
18
#include "vtkRemotingViewsModule.h"
// For export macro
19
20
class
vtkChart
;
21
22
class
VTKREMOTINGVIEWS_EXPORT
vtkChartWarning
:
public
vtkBlockItem
23
{
24
public
:
25
static
vtkChartWarning
*
New
();
26
vtkTypeMacro(
vtkChartWarning
,
vtkBlockItem
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
32
bool
Paint
(
vtkContext2D
* painter)
override
;
33
37
bool
Hit
(
const
vtkContextMouseEvent
& mouse)
override
;
38
39
vtkSetMacro(TextPad,
double
);
40
vtkGetMacro(TextPad,
double
);
41
42
protected
:
43
vtkChartWarning
();
44
~
vtkChartWarning
()
override
;
45
46
bool
ArePlotsImproperlyScaled(
vtkChart
*);
47
48
double
TextPad
;
49
50
private
:
51
vtkChartWarning
(
const
vtkChartWarning
&) =
delete
;
52
void
operator=
(
const
vtkChartWarning
&) =
delete
;
53
};
54
55
#endif // vtkChartWarning_h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkChartWarning
a vtkContextItem that draws a block (optional label).
Definition:
vtkChartWarning.h:22
vtkContextMouseEvent
vtkChart
vtkBlockItem::Paint
virtual bool Paint(vtkContext2D *painter)
vtkContext2D
vtkBlockItem::Hit
virtual bool Hit(const vtkContextMouseEvent &mouse)
vtkIndent
vtkChartWarning::TextPad
double TextPad
Definition:
vtkChartWarning.h:48
vtkBlockItem.h
vtkBlockItem::New
static vtkBlockItem * New()
vtkBlockItem::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkBlockItem
Generated by
1.8.17 on Wed Mar 27 2024