VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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 "
vtkExporter.h
"
29
#include "vtkIOExportPDFModule.h"
// For export macro
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
vtkSetFilePathMacro
(FileName);
48
vtkGetFilePathMacro
(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,
vtkRenderer
* renderer);
61
62
char
*
Title
;
63
char
*
FileName
;
64
65
private
:
66
vtkPDFExporter
(
const
vtkPDFExporter
&) =
delete
;
67
void
operator=(
const
vtkPDFExporter
&) =
delete
;
68
69
struct
Details;
70
Details* Impl;
71
};
72
73
#endif
// vtkPDFExporter_h
vtkContextActor
provides a vtkProp derived object.
Definition:
vtkContextActor.h:77
vtkExporter
abstract class to write a scene to a file
Definition:
vtkExporter.h:48
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkPDFExporter
Exports vtkContext2D scenes to PDF.
Definition:
vtkPDFExporter.h:35
vtkPDFExporter::Title
char * Title
Definition:
vtkPDFExporter.h:62
vtkPDFExporter::RenderContextActors
void RenderContextActors()
vtkPDFExporter::vtkPDFExporter
vtkPDFExporter()
vtkPDFExporter::vtkSetFilePathMacro
vtkSetFilePathMacro(FileName)
The name of the exported file.
vtkPDFExporter::New
static vtkPDFExporter * New()
vtkPDFExporter::~vtkPDFExporter
~vtkPDFExporter() override
vtkPDFExporter::PrepareDocument
void PrepareDocument()
vtkPDFExporter::vtkGetFilePathMacro
vtkGetFilePathMacro(FileName)
The name of the exported file.
vtkPDFExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPDFExporter::WriteData
void WriteData() override
vtkPDFExporter::FileName
char * FileName
Definition:
vtkPDFExporter.h:63
vtkPDFExporter::RenderContextActor
void RenderContextActor(vtkContextActor *actor, vtkRenderer *renderer)
vtkPDFExporter::WritePDF
void WritePDF()
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:173
vtkExporter.h
Generated on Sat Feb 25 2023 08:59:35 for VTK by
1.9.4