Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
phcerdan
VTK-m
Commits
3bab4087
Commit
3bab4087
authored
Apr 09, 2018
by
James Kress
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding delete and assignment oeprators to annotations.
parent
e3ccd7f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
vtkm/rendering/AxisAnnotation2D.h
vtkm/rendering/AxisAnnotation2D.h
+4
-0
vtkm/rendering/AxisAnnotation3D.h
vtkm/rendering/AxisAnnotation3D.h
+4
-0
vtkm/rendering/ColorLegendAnnotation.h
vtkm/rendering/ColorLegendAnnotation.h
+2
-0
No files found.
vtkm/rendering/AxisAnnotation2D.h
View file @
3bab4087
...
...
@@ -66,6 +66,10 @@ public:
~
AxisAnnotation2D
();
AxisAnnotation2D
(
const
AxisAnnotation2D
&
)
=
delete
;
AxisAnnotation2D
&
operator
=
(
const
AxisAnnotation2D
&
)
=
delete
;
void
SetLogarithmic
(
bool
l
)
{
this
->
Logarithmic
=
l
;
}
void
SetMoreOrLessTickAdjustment
(
int
offset
)
{
this
->
MoreOrLessTickAdjustment
=
offset
;
}
...
...
vtkm/rendering/AxisAnnotation3D.h
View file @
3bab4087
...
...
@@ -61,6 +61,10 @@ public:
~
AxisAnnotation3D
();
AxisAnnotation3D
(
const
AxisAnnotation3D
&
)
=
delete
;
AxisAnnotation3D
&
operator
=
(
const
AxisAnnotation3D
&
)
=
delete
;
VTKM_CONT
void
SetMoreOrLessTickAdjustment
(
int
offset
)
{
this
->
MoreOrLessTickAdjustment
=
offset
;
}
...
...
vtkm/rendering/ColorLegendAnnotation.h
View file @
3bab4087
...
...
@@ -45,6 +45,8 @@ private:
public:
ColorLegendAnnotation
();
~
ColorLegendAnnotation
();
ColorLegendAnnotation
(
const
ColorLegendAnnotation
&
)
=
delete
;
ColorLegendAnnotation
&
operator
=
(
const
ColorLegendAnnotation
&
)
=
delete
;
void
Clear
();
void
AddItem
(
const
std
::
string
&
label
,
vtkm
::
rendering
::
Color
color
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment