VTK  9.3.20240420
vtkMotionFXCFGReader.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
3#ifndef vtkMotionFXCFGReader_h
4#define vtkMotionFXCFGReader_h
5
6#include "vtkIOMotionFXModule.h" // for export macro
8
9#include <string> // for std::string
10
30VTK_ABI_NAMESPACE_BEGIN
31class VTKIOMOTIONFX_EXPORT vtkMotionFXCFGReader : public vtkMultiBlockDataSetAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
42 void SetFileName(VTK_FILEPATH const char* fname);
43 VTK_FILEPATH const char* GetFileName() const
44 {
45 return this->FileName.empty() ? nullptr : this->FileName.c_str();
46 }
48
50
53 vtkSetClampMacro(TimeResolution, int, 1, VTK_INT_MAX);
54 vtkGetMacro(TimeResolution, int);
56
57protected:
60
63
68
69 std::string FileName;
73
74private:
76 void operator=(const vtkMotionFXCFGReader&) = delete;
77
78 class vtkInternals;
79 vtkInternals* Internals;
80};
81
82VTK_ABI_NAMESPACE_END
83#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
reader for MotionFX motion definitions cfg files.
void SetFileName(VTK_FILEPATH const char *fname)
Get/Set the filename.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkMotionFXCFGReader * New()
~vtkMotionFXCFGReader() override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool ReadMetaData()
Reads meta-data.
VTK_FILEPATH const char * GetFileName() const
Get/Set the filename.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
record modification and/or execution time
#define VTK_INT_MAX
Definition vtkType.h:144
#define VTK_FILEPATH