Commit ae8691fa authored by Ben Boeckel's avatar Ben Boeckel

Rendering/OpenGL2: use VTK_SIZEHINT

parent 5401596b
......@@ -108,7 +108,7 @@ public:
/**
* Get the current size of the window in pixels.
*/
int *GetSize() override;
int *GetSize() VTK_SIZEHINT(2) override;
//@{
/**
......@@ -121,12 +121,12 @@ public:
/**
* Get the current size of the screen in pixels.
*/
int *GetScreenSize() override;
int *GetScreenSize() VTK_SIZEHINT(2) override;
/**
* Get the position in screen coordinates of the window.
*/
int *GetPosition() override;
int *GetPosition() VTK_SIZEHINT(2) override;
/**
* Set the name of the window. This appears at the top of the window
......
......@@ -115,12 +115,12 @@ public:
/**
* Get the current size of the screen in pixels.
*/
virtual int *GetScreenSize();
virtual int *GetScreenSize() VTK_SIZEHINT(2);
/**
* Get the position in screen coordinates (pixels) of the window.
*/
virtual int *GetPosition();
virtual int *GetPosition() VTK_SIZEHINT(2);
//@{
/**
......
......@@ -96,7 +96,7 @@ public:
void* GetGenericDrawable() override;
void SetWindowInfo(char*) override;
void SetParentInfo(char*) override;
int* GetScreenSize() override;
int* GetScreenSize() VTK_SIZEHINT(2) override;
void Start() override;
void HideCursor() override;
void ShowCursor() override;
......
......@@ -107,7 +107,7 @@ public:
/**
* Get the current size of the window in pixels.
*/
int *GetSize() override;
int *GetSize() VTK_SIZEHINT(2) override;
//@{
/**
......@@ -120,12 +120,12 @@ public:
/**
* Get the current size of the screen in pixels.
*/
int *GetScreenSize() override;
int *GetScreenSize() VTK_SIZEHINT(2) override;
/**
* Get the position in screen coordinates of the window.
*/
int *GetPosition() override;
int *GetPosition() VTK_SIZEHINT(2) override;
/**
* Set the name of the window. This appears at the top of the window
......
......@@ -88,12 +88,12 @@ public:
/**
* Get the current size of the screen in pixels.
*/
virtual int *GetScreenSize();
virtual int *GetScreenSize() VTK_SIZEHINT(2);
/**
* Get the position in screen coordinates (pixels) of the window.
*/
virtual int *GetPosition();
virtual int *GetPosition() VTK_SIZEHINT(2);
//@{
/**
......
......@@ -95,7 +95,7 @@ public:
/**
* Get the current size of the window in pixels.
*/
int *GetSize() override;
int *GetSize() VTK_SIZEHINT(2) override;
//@{
/**
......@@ -108,12 +108,12 @@ public:
/**
* Get the current size of the screen in pixels.
*/
int *GetScreenSize() override;
int *GetScreenSize() VTK_SIZEHINT(2) override;
/**
* Get the position in screen coordinates of the window.
*/
int *GetPosition() override;
int *GetPosition() VTK_SIZEHINT(2) override;
/**
* Set the name of the window. This appears at the top of the window
......
......@@ -160,12 +160,12 @@ public:
/**
* Get the current size of the screen in pixels.
*/
int *GetScreenSize() override;
int *GetScreenSize() VTK_SIZEHINT(2) override;
/**
* Get the position in screen coordinates (pixels) of the window.
*/
int *GetPosition() override;
int *GetPosition() VTK_SIZEHINT(2) override;
/**
* Get this RenderWindow's X display id.
......
vtkCocoaRenderWindow GetPosition 304 2
vtkCocoaRenderWindow GetScreenSize 304 2
vtkCocoaRenderWindow GetSize 304 2
vtkDataObject GetUpdateExtent 304 6
vtkDataObject GetWholeExtent 304 6
vtkDICOMImageReader GetImageOrientationPatient 301 6
vtkDICOMImageReader GetImagePositionPatient 301 3
vtkDICOMImageReader GetPixelSpacing 307 3
vtkDirectionEncoder GetDecodedGradient 301 3
vtkEGLRenderWindow GetPosition 304 2
vtkEGLRenderWindow GetScreenSize 304 2
vtkEGLRenderWindow GetSize 304 2
vtkExodusIIReader GetModeShapesRange 304 2
vtkExtractUnstructuredGrid GetExtent 307 6
vtkFunctionParser GetVectorResult 307 3
vtkFunctionParser GetVectorVariableValue 307 3
vtkGenericOpenGLRenderWindow GetPosition 304 2
vtkGenericOpenGLRenderWindow GetScreenSize 304 2
vtkGenericOpenGLRenderWindow GetSize 304 2
vtkGeometryFilter GetExtent 307 6
vtkGridSynchronizedTemplates3D GetExecuteExtent 304 6
vtkHyperStreamline GetStartPosition 307 3
......@@ -47,9 +38,6 @@ vtkImageSpatialFilter GetKernelSize 304 3
vtkImageVectorConvolve GetKernel 301 3
vtkImageViewer GetPosition 304 2
vtkImageViewer GetSize 304 2
vtkIOSRenderWindow GetPosition 304 2
vtkIOSRenderWindow GetScreenSize 304 2
vtkIOSRenderWindow GetSize 304 2
vtkLinearTransform TransformDoubleNormal 307 3
vtkLinearTransform TransformDoubleVector 307 3
vtkLinearTransform TransformFloatNormal 301 3
......@@ -62,9 +50,6 @@ vtkMatrix4x4 MultiplyPoint 301 4
vtkMedicalImageProperties GetNthWindowLevelPreset 307 2
vtkMedicalImageProperties GetWindowLevelPreset 307 2
vtkMINCImageReader GetDataRange 307 2
vtkOSOpenGLRenderWindow GetPosition 304 2
vtkOSOpenGLRenderWindow GetScreenSize 304 2
vtkOSOpenGLRenderWindow GetSize 304 2
vtkPainterPolyDataMapper GetBounds 307 6
vtkPolyData GetUpdateExtent 304 6
vtkPolygon ConvertEllipseToImplicit 307 5
......@@ -92,11 +77,5 @@ vtkViewRays GetParallelIncrements 301 2
vtkViewRays GetParallelStartPosition 301 3
vtkVolumeMapper GetBounds 307 6
vtkWarpLens GetCenter 307 2
vtkWin32OpenGLRenderWindow GetPosition 304 2
vtkWin32OpenGLRenderWindow GetScreenSize 304 2
vtkWin32OpenGLRenderWindow GetSize 304 2
vtkWindowLevelLookupTable GetMaximumTableValue 307 4
vtkWindowLevelLookupTable GetMinimumTableValue 307 4
vtkXOpenGLRenderWindow GetPosition 304 2
vtkXOpenGLRenderWindow GetScreenSize 304 2
vtkXOpenGLRenderWindow GetSize 304 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment