VTK
vtkRenderLargeImage.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRenderLargeImage.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=========================================================================*/
28#ifndef vtkRenderLargeImage_h
29#define vtkRenderLargeImage_h
30
31#include "vtkFiltersHybridModule.h" // For export macro
32#include "vtkAlgorithm.h"
33#include "vtkImageData.h" // makes things a bit easier
34
35class vtkRenderer;
37class vtkCollection;
38class vtkRenderLargeImage2DHelperClass;
39
40class VTKFILTERSHYBRID_EXPORT vtkRenderLargeImage : public vtkAlgorithm
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent);
46
48
51 vtkSetMacro(Magnification,int);
52 vtkGetMacro(Magnification,int);
54
58 virtual void SetInput(vtkRenderer*);
59
61
64 vtkGetObjectMacro(Input,vtkRenderer);
66
71
78
79protected:
82
89
90 // see algorithm for more info
92
93 // Adjust the coordinates of all 2D actors to fit new window size
95 // Shift each actor according to the tile we are rendering
96 void Shift2DActors(int x, int y);
97 // put them all back to their previous state when finished.
99 // 2D Actors need to be rescaled and shifted about for each tile
100 // use this helper class to make life easier.
101 vtkRenderLargeImage2DHelperClass *StoredData;
102
103private:
104 vtkRenderLargeImage(const vtkRenderLargeImage&) VTK_DELETE_FUNCTION;
105 void operator=(const vtkRenderLargeImage&) VTK_DELETE_FUNCTION;
106};
107
108#endif
a list of 2D actors
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
a simple class to control print indentation
Definition: vtkIndent.h:40
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
vtkImageData * GetOutput()
Get the output data object for a port on this algorithm.
void RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
see vtkAlgorithm for details
virtual void SetInput(vtkRenderer *)
Indicates what renderer to get the pixel data from.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
void Shift2DActors(int x, int y)
static vtkRenderLargeImage * New()
abstract specification for renderers
Definition: vtkRenderer.h:64
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.