17 #ifndef NCCAPOINTBAKE_H_ 18 #define NCCAPOINTBAKE_H_ 79 void setFrame(const
unsigned int frame ) noexcept;
84 bool loadPointBake( const
std::
string &_fileName) noexcept;
90 bool loadBinaryPointBake(const
std::
string &_fileName) noexcept;
95 bool saveBinaryPointBake( const
std::
string &_fileName) noexcept;
108 void setMeshToFrame( const
unsigned int _frame) noexcept;
113 unsigned int getNumFrames() const noexcept{
return m_numFrames-1;}
129 std::vector<Vec3> & getRawDataPointerAtFrame(
unsigned int _f) noexcept;
137 void reorderVerts() noexcept;
150 std::vector < std::vector<Vec3> >
m_data;
180 #endif // end include guard main definition of types and namespace
unsigned int m_startFrame
the start frame
std::vector< std::vector< Vec3 > > m_data
The actual data of the clip stored per vertex in sequence v0 - vn and then per frame frame index is a...
unsigned int getNumVerts() const noexcept
return the number of verts loaded from the PointBake file
std::vector< std::vector< Vec3 > > & getRawDataPointer() noexcept
get a Raw data pointer to the un-sorted PointBake data
unsigned int m_nVerts
Number of verts in the actual clip.
bool m_binFile
flag to indicate if we have a binary or xml based file loaded
implementation files for RibExport class
encapsulates a 4d Homogenous Point / Vector object
an abstract base mesh used to build specific meshes such as Obj
unsigned int m_numFrames
the number of frames in the clip file
basic obj loader inherits from AbstractMesh
std::string m_meshName
the name of the mesh
AbstractMesh * m_mesh
pointer to mesh attatched to data
unsigned int m_currFrame
Current active frame when animating.
unsigned int m_endFrame
the end frame
Class to load and manipulate NCCAPointBake data, this will replace the Houdini Clip files as they are...
GLsizei const GLchar *const * string