VTK
9.2.6
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
=========================================================================*/
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
vtkExporter
abstract class to write a scene to a file
Definition:
vtkExporter.h:47
vtkExporter::WriteData
virtual void WriteData()=0
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:72
vtkPDFExporter::FileName
char * FileName
Definition:
vtkPDFExporter.h:66
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkContextActor
provides a vtkProp derived object.
Definition:
vtkContextActor.h:40
vtkExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExporter.h
vtkPDFExporter::Title
char * Title
Definition:
vtkPDFExporter.h:65
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:37
Generated on Mon Oct 16 2023 11:19:45 for VTK by
1.8.10