vtkPVX3DExporter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkPVX3DExporter_h
10 #define vtkPVX3DExporter_h
11 
12 #include "vtkRemotingExportModule.h" //needed for exports
13 
14 #include "vtkX3DExporter.h"
15 
16 // Forward declarations
18 class vtkRenderer;
20 
22 {
23 public:
24  static vtkPVX3DExporter* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
31  vtkSetMacro(ExportColorLegends, bool);
32  vtkGetMacro(ExportColorLegends, bool);
33  vtkBooleanMacro(ExportColorLegends, bool);
34 
35 protected:
37  ~vtkPVX3DExporter() override;
38 
40 
44  void WriteAdditionalNodes(vtkX3DExporterWriter* writer) override;
45 
49  void WriteColorLegends(vtkX3DExporterWriter* writer);
50 
54  void WriteColorLegend(vtkRenderer* bottomRenderer, vtkRenderer* annotationRenderer,
56 
57 private:
58  vtkPVX3DExporter(const vtkPVX3DExporter&) = delete;
59  void operator=(const vtkPVX3DExporter&) = delete;
60 };
61 
62 #endif
#define VTKREMOTINGEXPORT_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
ParaView-specific X3D exporter that handles export of color legends in addition to the items exported...
Custom scalar bar actor for ParaView that uses the Charts API.
static vtkX3DExporter * New()
void operator=(const vtkObjectBase &)