15 typedef std::unordered_map< std::string, GeometryDataPtr >
GroupMap;
28 ModelData(
const std::string &fileName,
bool flipT =
false,
bool flipZ =
false);
34 ModelData(
bool flipT =
false,
bool flipZ =
false);
47 virtual GroupMap
getData()
const;
virtual ~ModelData()
Virtual destructor.
Definition: ModelData.cpp:27
virtual ModelData & load(const std::string &fileName)
Loads the model from a file.
Definition: ModelData.cpp:37
ModelData()
Constructor.
Definition: ModelData.h:21
bool getFlipT()
Returns true if the T axis of texture is flipped.
Definition: ModelData.h:51
virtual GroupMap getData() const
Returns the geometry groups.
Definition: ModelData.cpp:32
bool getFlipZ()
Returns true if the Z axis of the geometry is flipped.
Definition: ModelData.h:55
Definition: ModelData.h:11
std::unordered_map< std::string, GeometryDataPtr > GroupMap
Definition: ModelData.h:15
Loads and processes OBJ models and materials.
Definition: OBJLoader.h:16