Remoting
Export
vtkPVX3DExporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkPVX3DExporter.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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
=========================================================================*/
21
#ifndef vtkPVX3DExporter_h
22
#define vtkPVX3DExporter_h
23
24
#include "
vtkRemotingExportModule.h
"
//needed for exports
25
26
#include "
vtkX3DExporter.h
"
27
28
// Forward declarations
29
class
vtkContext2DScalarBarActor
;
30
class
vtkRenderer
;
31
class
vtkX3DExporterWriter
;
32
33
class
VTKREMOTINGEXPORT_EXPORT
vtkPVX3DExporter
:
public
vtkX3DExporter
34
{
35
public
:
36
static
vtkPVX3DExporter
*
New
();
37
vtkTypeMacro(
vtkPVX3DExporter
,
vtkX3DExporter
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
39
43
vtkSetMacro(ExportColorLegends,
bool
);
44
vtkGetMacro(ExportColorLegends,
bool
);
45
vtkBooleanMacro(ExportColorLegends,
bool
);
46
47
protected
:
48
vtkPVX3DExporter
();
49
~
vtkPVX3DExporter
()
override
;
50
51
bool
ExportColorLegends
;
52
56
void
WriteAdditionalNodes(
vtkX3DExporterWriter
* writer)
override
;
57
61
void
WriteColorLegends(
vtkX3DExporterWriter
* writer);
62
66
void
WriteColorLegend(
vtkRenderer
* bottomRenderer,
vtkRenderer
* annotationRenderer,
67
vtkContext2DScalarBarActor
* actor,
vtkX3DExporterWriter
* writer);
68
69
private
:
70
vtkPVX3DExporter
(
const
vtkPVX3DExporter
&) =
delete
;
71
void
operator=
(
const
vtkPVX3DExporter
&) =
delete
;
72
};
73
74
#endif
VTKREMOTINGEXPORT_EXPORT
#define VTKREMOTINGEXPORT_EXPORT
Definition:
vtkRemotingExportModule.h:15
vtkX3DExporterWriter
vtkX3DExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkRenderer
vtkX3DExporter
vtkIndent
vtkPVX3DExporter
ParaView-specific X3D exporter that handles export of color legends in addition to the items exported...
Definition:
vtkPVX3DExporter.h:33
vtkContext2DScalarBarActor
Custom scalar bar actor for ParaView that uses the Charts API.
Definition:
vtkContext2DScalarBarActor.h:51
vtkPVX3DExporter::ExportColorLegends
bool ExportColorLegends
Definition:
vtkPVX3DExporter.h:51
vtkX3DExporter::New
static vtkX3DExporter * New()
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkRemotingExportModule.h
vtkX3DExporter.h
Generated by
1.8.13 on Wed Jan 27 2021