VTK
dox
IO
Export
vtkPDFExporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPDFExporter.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 vtkPDFExporter_h
23
#define vtkPDFExporter_h
24
25
#include "vtkIOExportModule.h"
// For export macro
26
#include "
vtkExporter.h
"
27
28
class
vtkContextActor
;
29
class
vtkRenderer
;
30
31
class
VTKIOEXPORT_EXPORT
vtkPDFExporter
:
public
vtkExporter
32
{
33
public
:
34
static
vtkPDFExporter
*
New
();
35
vtkTypeMacro(
vtkPDFExporter
,
vtkExporter
)
36
void
PrintSelf
(ostream &os,
vtkIndent
indent) VTK_OVERRIDE;
37
39
vtkSetStringMacro(Title)
40
vtkGetStringMacro
(Title)
44
vtkSetStringMacro(FileName)
45
vtkGetStringMacro
(FileName)
48
protected
:
49
vtkPDFExporter
();
50
~
vtkPDFExporter
() VTK_OVERRIDE;
51
52
void
WriteData() VTK_OVERRIDE;
53
54
void
WritePDF();
55
void
PrepareDocument();
56
void
RenderContextActors();
57
void
RenderContextActor(
vtkContextActor
*actor,
58
vtkRenderer
*renderer);
59
60
char
*Title;
61
char
*FileName;
62
63
private:
64
vtkPDFExporter
(const
vtkPDFExporter
&) VTK_DELETE_FUNCTION;
65
void
operator=(const
vtkPDFExporter
&) VTK_DELETE_FUNCTION;
66
67
struct Details;
68
Details *Impl;
69
};
70
71
#endif // vtkPDFExporter_h
vtkExporter
abstract class to write a scene to a file
Definition:
vtkExporter.h:46
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:57
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkContextActor
provides a vtkProp derived object.
Definition:
vtkContextActor.h:37
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExporter.h
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkPDFExporter
Exports vtkContext2D scenes to PDF.
Definition:
vtkPDFExporter.h:31
Generated by
1.8.13