VTK  9.7.20260916
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
18
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
27VTK_ABI_NAMESPACE_BEGIN
28
29class VTKIOALEMBIC_EXPORT vtkAlembicExporter : public vtkExporter
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
43
51 void Start();
52
54
58 vtkSetMacro(TimeValue, double);
59 vtkGetMacro(TimeValue, double);
61
66 void Finish();
67
68protected:
71
72 void WriteData() override;
73
74 char* FileName;
75
76 double TimeValue = 0.0;
77 bool Started = false;
78
79private:
81 void operator=(const vtkAlembicExporter&) = delete;
82
83 class vtkAlembicExporterInternals;
84 vtkAlembicExporterInternals* Internal;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif
static vtkAlembicExporter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FileName)
Specify the name of the file to write.
void Start()
Begin a multi-frame export.
void Finish()
Save and close the archive accumulated since Start().
vtkGetFilePathMacro(FileName)
Specify the name of the file to write.
void WriteData() override
~vtkAlembicExporter() override
a simple class to control print indentation
Definition vtkIndent.h:108