VTK
dox
IO
ExportPDF
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
=========================================================================*/
25
#ifndef vtkPDFExporter_h
26
#define vtkPDFExporter_h
27
28
#include "vtkIOExportPDFModule.h"
// For export macro
29
#include "
vtkExporter.h
"
30
31
class
vtkContextActor
;
32
class
vtkRenderer
;
33
34
class
VTKIOEXPORTPDF_EXPORT
vtkPDFExporter
:
public
vtkExporter
35
{
36
public
:
37
static
vtkPDFExporter
*
New
();
38
vtkTypeMacro(
vtkPDFExporter
,
vtkExporter
)
39
void
PrintSelf
(ostream &os,
vtkIndent
indent)
override
;
40
42
vtkSetStringMacro(Title)
43
vtkGetStringMacro(Title)
47
vtkSetStringMacro(FileName)
48
vtkGetStringMacro(FileName)
51
protected
:
52
vtkPDFExporter
();
53
~
vtkPDFExporter
()
override
;
54
55
void
WriteData
()
override
;
56
57
void
WritePDF();
58
void
PrepareDocument();
59
void
RenderContextActors();
60
void
RenderContextActor(
vtkContextActor
*actor,
61
vtkRenderer
*renderer);
62
63
char
*
Title
;
64
char
*
FileName
;
65
66
private
:
67
vtkPDFExporter
(
const
vtkPDFExporter
&) =
delete
;
68
void
operator=(
const
vtkPDFExporter
&) =
delete
;
69
70
struct
Details;
71
Details *Impl;
72
};
73
74
#endif // vtkPDFExporter_h
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkPDFExporter::FileName
char * FileName
Definition:
vtkPDFExporter.h:64
vtkExporter::WriteData
virtual void WriteData()=0
vtkContextActor
provides a vtkProp derived object.
Definition:
vtkContextActor.h:40
vtkPDFExporter
Exports vtkContext2D scenes to PDF.
Definition:
vtkPDFExporter.h:34
vtkPDFExporter::Title
char * Title
Definition:
vtkPDFExporter.h:63
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExporter
abstract class to write a scene to a file
Definition:
vtkExporter.h:47
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
vtkExporter.h
Generated by
1.8.16