VTK  9.3.20240329
vtkFrameBufferObjectBase.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkFrameBufferObjectBase_h
11 #define vtkFrameBufferObjectBase_h
12 
13 #include "vtkObject.h"
14 #include "vtkRenderingCoreModule.h" // For export macro
15 
16 VTK_ABI_NAMESPACE_BEGIN
17 class vtkRenderer;
18 class vtkProp;
19 class vtkInformation;
20 
21 class VTKRENDERINGCORE_EXPORT vtkFrameBufferObjectBase : public vtkObject
22 {
23 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
31  virtual int* GetLastSize() = 0;
32  virtual void GetLastSize(int& _arg1, int& _arg2) = 0;
33  virtual void GetLastSize(int _arg[2]) = 0;
35 
36 protected:
37  vtkFrameBufferObjectBase(); // no default constructor.
39 
40 private:
42  void operator=(const vtkFrameBufferObjectBase&) = delete;
43 };
44 
45 VTK_ABI_NAMESPACE_END
46 #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:108
Store vtkAlgorithm input/output information.
abstract base class for most VTK objects
Definition: vtkObject.h:162
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:66
abstract specification for renderers
Definition: vtkRenderer.h:172