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
Scott Wittenburg
VTK
Commits
f982c875
Commit
f982c875
authored
Dec 14, 2017
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Interaction/Image: use VTK_SIZEHINT
parent
07caabb7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
Interaction/Image/vtkImageViewer.h
Interaction/Image/vtkImageViewer.h
+2
-2
Interaction/Image/vtkImageViewer2.h
Interaction/Image/vtkImageViewer2.h
+2
-2
Wrapping/Tools/hints
Wrapping/Tools/hints
+0
-2
No files found.
Interaction/Image/vtkImageViewer.h
View file @
f982c875
...
...
@@ -104,7 +104,7 @@ public:
/**
* Set/Get the position in screen coordinates of the rendering window.
*/
int
*
GetPosition
()
{
return
this
->
RenderWindow
->
GetPosition
();};
int
*
GetPosition
()
VTK_SIZEHINT
(
2
)
{
return
this
->
RenderWindow
->
GetPosition
();};
void
SetPosition
(
int
a
,
int
b
)
{
this
->
RenderWindow
->
SetPosition
(
a
,
b
);};
virtual
void
SetPosition
(
int
a
[
2
]);
//@}
...
...
@@ -113,7 +113,7 @@ public:
/**
* Set/Get the size of the window in screen coordinates in pixels.
*/
int
*
GetSize
()
{
return
this
->
RenderWindow
->
GetSize
();};
int
*
GetSize
()
VTK_SIZEHINT
(
2
)
{
return
this
->
RenderWindow
->
GetSize
();};
void
SetSize
(
int
a
,
int
b
)
{
this
->
RenderWindow
->
SetSize
(
a
,
b
);};
virtual
void
SetSize
(
int
a
[
2
]);
//@}
...
...
Interaction/Image/vtkImageViewer2.h
View file @
f982c875
...
...
@@ -177,7 +177,7 @@ public:
/**
* Set/Get the position in screen coordinates of the rendering window.
*/
virtual
int
*
GetPosition
();
virtual
int
*
GetPosition
()
VTK_SIZEHINT
(
2
)
;
virtual
void
SetPosition
(
int
a
,
int
b
);
virtual
void
SetPosition
(
int
a
[
2
])
{
this
->
SetPosition
(
a
[
0
],
a
[
1
]);
}
//@}
...
...
@@ -186,7 +186,7 @@ public:
/**
* Set/Get the size of the window in screen coordinates in pixels.
*/
virtual
int
*
GetSize
();
virtual
int
*
GetSize
()
VTK_SIZEHINT
(
2
)
;
virtual
void
SetSize
(
int
a
,
int
b
);
virtual
void
SetSize
(
int
a
[
2
])
{
this
->
SetSize
(
a
[
0
],
a
[
1
]);
}
//@}
...
...
Wrapping/Tools/hints
View file @
f982c875
...
...
@@ -11,8 +11,6 @@ vtkImageSpatialAlgorithm GetKernelSize 304 3
vtkImageSpatialFilter GetKernelMiddle 304 3
vtkImageSpatialFilter GetKernelSize 304 3
vtkImageVectorConvolve GetKernel 301 3
vtkImageViewer GetPosition 304 2
vtkImageViewer GetSize 304 2
vtkPainterPolyDataMapper GetBounds 307 6
vtkPolyData GetUpdateExtent 304 6
vtkPolygon ConvertEllipseToImplicit 307 5
...
...
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