VTK  9.2.20220926
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 
28 VTK_ABI_NAMESPACE_BEGIN
29 class vtkRenderer;
30 class vtkProp;
31 class vtkInformation;
32 
33 class VTKRENDERINGCORE_EXPORT vtkFrameBufferObjectBase : public vtkObject
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  virtual int* GetLastSize() = 0;
44  virtual void GetLastSize(int& _arg1, int& _arg2) = 0;
45  virtual void GetLastSize(int _arg[2]) = 0;
47 
48 protected:
49  vtkFrameBufferObjectBase(); // no default constructor.
51 
52 private:
54  void operator=(const vtkFrameBufferObjectBase&) = delete;
55 };
56 
58 #endif
abstract interface to OpenGL FBOs
virtual int * GetLastSize()=0
Dimensions in pixels of the framebuffer.
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.
a simple class to control print indentation
Definition: vtkIndent.h:120
Store vtkAlgorithm input/output information.
abstract base class for most VTK objects
Definition: vtkObject.h:83
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:77
abstract specification for renderers
Definition: vtkRenderer.h:183