VTK  9.1.0
vtkMotionFXCFGReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkMotionFXCFGReader.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm 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=========================================================================*/
15#ifndef vtkMotionFXCFGReader_h
16#define vtkMotionFXCFGReader_h
17
18#include "vtkIOMotionFXModule.h" // for export macro
20
21#include <string> // for std::string
22
39class VTKIOMOTIONFX_EXPORT vtkMotionFXCFGReader : public vtkMultiBlockDataSetAlgorithm
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
50 void SetFileName(VTK_FILEPATH const char* fname);
51 VTK_FILEPATH const char* GetFileName() const
52 {
53 return this->FileName.empty() ? nullptr : this->FileName.c_str();
54 }
56
58
61 vtkSetClampMacro(TimeResolution, int, 1, VTK_INT_MAX);
62 vtkGetMacro(TimeResolution, int);
64
65protected:
68
71
76
81
82private:
84 void operator=(const vtkMotionFXCFGReader&) = delete;
85
86 class vtkInternals;
87 vtkInternals* Internals;
88};
89
90#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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
Definition: vtkTimeStamp.h:52
@ string
Definition: vtkX3D.h:496
#define VTK_INT_MAX
Definition: vtkType.h:155
#define VTK_FILEPATH