VTK  9.3.0
vtkRenderLargeImage.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
22#ifndef vtkRenderLargeImage_h
23#define vtkRenderLargeImage_h
24
25#include "vtkAlgorithm.h"
26#include "vtkFiltersHybridModule.h" // For export macro
27#include "vtkImageData.h" // makes things a bit easier
28
29VTK_ABI_NAMESPACE_BEGIN
30class vtkRenderer;
32class vtkCollection;
33class vtkRenderLargeImage2DHelperClass;
34
35class VTKFILTERSHYBRID_EXPORT vtkRenderLargeImage : public vtkAlgorithm
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
46 vtkSetMacro(Magnification, int);
47 vtkGetMacro(Magnification, int);
49
53 virtual void SetInput(vtkRenderer*);
54
56
59 vtkGetObjectMacro(Input, vtkRenderer);
61
66
72
73protected:
76
81
82 // see algorithm for more info
83 int FillOutputPortInformation(int port, vtkInformation* info) override;
84
85 // Adjust the coordinates of all 2D actors to fit new window size
87 // Shift each actor according to the tile we are rendering
88 void Shift2DActors(int x, int y);
89 // put them all back to their previous state when finished.
91 // 2D Actors need to be rescaled and shifted about for each tile
92 // use this helper class to make life easier.
93 vtkRenderLargeImage2DHelperClass* StoredData;
94
95private:
97 void operator=(const vtkRenderLargeImage&) = delete;
98};
99
100VTK_ABI_NAMESPACE_END
101#endif
a list of 2D actors
Superclass for all sources, filters, and sinks in VTK.
create and manipulate ordered lists of objects
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Use tiling to generate a large rendering.
void RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkRenderLargeImage2DHelperClass * StoredData
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkRenderLargeImage() override
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkImageData * GetOutput()
Get the output data object for a port on this algorithm.
void RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetInput(vtkRenderer *)
Indicates what renderer to get the pixel data from.
void Shift2DActors(int x, int y)
static vtkRenderLargeImage * New()
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
abstract specification for renderers
Definition vtkRenderer.h:68
int vtkTypeBool
Definition vtkABI.h:64