VTK
9.2.6
Main Page
Related Pages
Topics
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
=========================================================================*/
28
#ifndef vtkPDFExporter_h
29
#define vtkPDFExporter_h
30
31
#include "
vtkExporter.h
"
32
#include "vtkIOExportPDFModule.h"
// For export macro
33
34
class
vtkContextActor
;
35
class
vtkRenderer
;
36
37
class
VTKIOEXPORTPDF_EXPORT
vtkPDFExporter
:
public
vtkExporter
38
{
39
public
:
40
static
vtkPDFExporter
*
New
();
41
vtkTypeMacro(
vtkPDFExporter
,
vtkExporter
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
vtkSetStringMacro(Title);
46
vtkGetStringMacro(Title);
50
vtkSetFilePathMacro
(FileName);
51
vtkGetFilePathMacro
(FileName);
54
protected
:
55
vtkPDFExporter
();
56
~vtkPDFExporter
()
override
;
57
58
void
WriteData
()
override
;
59
60
void
WritePDF
();
61
void
PrepareDocument
();
62
void
RenderContextActors
();
63
void
RenderContextActor
(
vtkContextActor
* actor,
vtkRenderer
* renderer);
64
65
char
*
Title
;
66
char
*
FileName
;
67
68
private
:
69
vtkPDFExporter
(
const
vtkPDFExporter
&) =
delete
;
70
void
operator=(
const
vtkPDFExporter
&) =
delete
;
71
72
struct
Details;
73
Details* Impl;
74
};
75
76
#endif
// vtkPDFExporter_h
vtkContextActor
provides a vtkProp derived object.
Definition
vtkContextActor.h:41
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:40
vtkPDFExporter
Exports vtkContext2D scenes to PDF.
Definition
vtkPDFExporter.h:38
vtkPDFExporter::Title
char * Title
Definition
vtkPDFExporter.h:65
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:66
vtkPDFExporter::RenderContextActor
void RenderContextActor(vtkContextActor *actor, vtkRenderer *renderer)
vtkPDFExporter::WritePDF
void WritePDF()
vtkRenderer
abstract specification for renderers
Definition
vtkRenderer.h:73
vtkExporter.h
Generated on Thu Dec 7 2023 00:00:00 for VTK by
1.10.0