VTK  9.7.1
vtkAlembicExporter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
19 #ifndef vtkAlembicExporter_h
20 #define vtkAlembicExporter_h
21 
22 #include "vtkExporter.h"
23 #include "vtkIOAlembicModule.h" // For export macro
24 
25 #include <string> // for std::string
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKIOALEMBIC_EXPORT vtkAlembicExporter : public vtkExporter
29 {
30 public:
31  static vtkAlembicExporter* New();
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
39  vtkSetFilePathMacro(FileName);
40  vtkGetFilePathMacro(FileName);
42 
43 protected:
45  ~vtkAlembicExporter() override;
46 
47  void WriteData() override;
48 
49  char* FileName;
50 
51 private:
52  vtkAlembicExporter(const vtkAlembicExporter&) = delete;
53  void operator=(const vtkAlembicExporter&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif
export a scene into Alembic format.
abstract class to write a scene to a file
Definition: vtkExporter.h:38
virtual void WriteData()=0
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...