VTK  9.1.0
vtkFrameBufferObjectBase.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkFrameBufferObjectBase.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=========================================================================*/
22#ifndef vtkFrameBufferObjectBase_h
23#define vtkFrameBufferObjectBase_h
24
25#include "vtkObject.h"
26#include "vtkRenderingCoreModule.h" // For export macro
27
28class vtkRenderer;
29class vtkProp;
30class vtkInformation;
31
32class VTKRENDERINGCORE_EXPORT vtkFrameBufferObjectBase : public vtkObject
33{
34public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
42 virtual int* GetLastSize() = 0;
43 virtual void GetLastSize(int& _arg1, int& _arg2) = 0;
44 virtual void GetLastSize(int _arg[2]) = 0;
46
47protected:
48 vtkFrameBufferObjectBase(); // no default constructor.
50
51private:
53 void operator=(const vtkFrameBufferObjectBase&) = delete;
54};
55
56#endif
abstract interface to OpenGL FBOs
virtual void GetLastSize(int &_arg1, int &_arg2)=0
Dimensions in pixels of the framebuffer.
~vtkFrameBufferObjectBase() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void GetLastSize(int _arg[2])=0
Dimensions in pixels of the framebuffer.
virtual int * GetLastSize()=0
Dimensions in pixels of the framebuffer.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
abstract base class for most VTK objects
Definition: vtkObject.h:82
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:76
abstract specification for renderers
Definition: vtkRenderer.h:182