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
30 class vtkRenderer;
32 
34 {
35 public:
36  static vtkPVX3DExporter* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  vtkSetMacro(ExportColorLegends, bool);
44  vtkGetMacro(ExportColorLegends, bool);
45  vtkBooleanMacro(ExportColorLegends, bool);
46 
47 protected:
49  ~vtkPVX3DExporter() override;
50 
52 
56  void WriteAdditionalNodes(vtkX3DExporterWriter* writer) override;
57 
61  void WriteColorLegends(vtkX3DExporterWriter* writer);
62 
66  void WriteColorLegend(vtkRenderer* bottomRenderer, vtkRenderer* annotationRenderer,
68 
69 private:
70  vtkPVX3DExporter(const vtkPVX3DExporter&) = delete;
71  void operator=(const vtkPVX3DExporter&) = delete;
72 };
73 
74 #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 &)