AGX Dynamics  2.35.0.1
MeshReaderOBJ.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGXIO_MESHREADEROBJ_H
18 #define AGXIO_MESHREADEROBJ_H
19 
20 #include <agxIO/MeshReader.h>
21 namespace agxIO
22 {
23 
31  {
32  public:
33 
36 
47  size_t readFile( const agx::String& filename );
48 
58  size_t readString( const agx::String& mesh );
60 
61  protected:
62  virtual ~MeshReaderOBJ() {}
63 
64  };
65 
67 }
68 
69 #endif
#define AGXPHYSICS_EXPORT
Class for reading a Wavefront OBJ file.
Definition: MeshReaderOBJ.h:31
virtual ~MeshReaderOBJ()
Definition: MeshReaderOBJ.h:62
size_t readString(const agx::String &mesh)
OBSOLETE.
MeshReaderOBJ()
Constructor.
Definition: MeshReaderOBJ.h:35
size_t readFile(const agx::String &filename)
OBSOLETE.
Class for reading a mesh object from file and extracting vertices, normals and indices for collision ...
Definition: MeshReader.h:83
virtual size_t readString(const agx::String &mesh, FileExtension::FileType fet)
Read a specified string containing a mesh description in some mesh format defined as a string.
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:30
The agxIO namespace contains classes for reading, writing and finding files.
Definition: Material.h:42
agx::ref_ptr< MeshReaderOBJ > MeshReaderOBJRef
Definition: MeshReaderOBJ.h:66