![]() |
Prusa Slicer 2.6.0
|
Classes | |
| struct | ObjData |
| struct | ObjGroup |
| struct | ObjObject |
| struct | ObjSmoothingGroup |
| struct | ObjUseMtl |
| struct | ObjVertex |
Functions | |
| static bool | obj_parseline (const char *line, ObjData &data) |
| bool | objparse (const char *path, ObjData &data) |
| bool | objparse (std::istream &stream, ObjData &data) |
| template<typename T > | |
| bool | savevector (FILE *pFile, const std::vector< T > &v) |
| bool | savevector (FILE *pFile, const std::vector< std::string > &v) |
| template<typename T > | |
| bool | savevectornameidx (FILE *pFile, const std::vector< T > &v) |
| template<typename T > | |
| bool | loadvector (FILE *pFile, std::vector< T > &v) |
| bool | loadvector (FILE *pFile, std::vector< std::string > &v) |
| template<typename T > | |
| bool | loadvectornameidx (FILE *pFile, std::vector< T > &v) |
| bool | objbinsave (const char *path, const ObjData &data) |
| bool | objbinload (const char *path, ObjData &data) |
| template<typename T > | |
| bool | vectorequal (const std::vector< T > &v1, const std::vector< T > &v2) |
| bool | vectorequal (const std::vector< std::string > &v1, const std::vector< std::string > &v2) |
| bool | objequal (const ObjData &data1, const ObjData &data2) |
| bool | operator== (const ObjVertex &v1, const ObjVertex &v2) |
| bool | operator== (const ObjUseMtl &v1, const ObjUseMtl &v2) |
| bool | operator== (const ObjObject &v1, const ObjObject &v2) |
| bool | operator== (const ObjGroup &v1, const ObjGroup &v2) |
| bool | operator== (const ObjSmoothingGroup &v1, const ObjSmoothingGroup &v2) |
| struct ObjParser::ObjData |
Collaboration diagram for ObjParser::ObjData:| Class Members | ||
|---|---|---|
| vector< float > | coordinates | |
| vector< ObjGroup > | groups | |
| vector< string > | mtllibs | |
| vector< float > | normals | |
| vector< ObjObject > | objects | |
| vector< float > | parameters | |
| vector< ObjSmoothingGroup > | smoothingGroups | |
| vector< float > | textureCoordinates | |
| vector< ObjUseMtl > | usemtls | |
| int | version | |
| vector< ObjVertex > | vertices | |
| struct ObjParser::ObjGroup |
| struct ObjParser::ObjObject |
| struct ObjParser::ObjUseMtl |
| bool ObjParser::loadvector | ( | FILE * | pFile, |
| std::vector< std::string > & | v | ||
| ) |
| bool ObjParser::loadvector | ( | FILE * | pFile, |
| std::vector< T > & | v | ||
| ) |
Referenced by objbinload().
Here is the caller graph for this function:| bool ObjParser::loadvectornameidx | ( | FILE * | pFile, |
| std::vector< T > & | v | ||
| ) |
Referenced by objbinload().
Here is the caller graph for this function:References EATWS, error, Slic3r::is_decimal_separator_point(), ObjParser::ObjUseMtl::name, ObjParser::ObjGroup::name, ObjParser::ObjSmoothingGroup::smoothingGroupID, ObjParser::ObjUseMtl::vertexIdxFirst, ObjParser::ObjObject::vertexIdxFirst, ObjParser::ObjGroup::vertexIdxFirst, and ObjParser::ObjSmoothingGroup::vertexIdxFirst.
Referenced by objparse(), and objparse().
Here is the call graph for this function:
Here is the caller graph for this function:References loadvector(), and loadvectornameidx().
Here is the call graph for this function:References savevector(), savevectornameidx(), and version.
Here is the call graph for this function:References ObjParser::ObjData::coordinates, ObjParser::ObjData::groups, ObjParser::ObjData::mtllibs, ObjParser::ObjData::normals, ObjParser::ObjData::objects, ObjParser::ObjData::parameters, ObjParser::ObjData::textureCoordinates, ObjParser::ObjData::usemtls, vectorequal(), and ObjParser::ObjData::vertices.
Here is the call graph for this function:References error, and obj_parseline().
Referenced by Slic3r::load_obj().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ObjParser::objparse | ( | std::istream & | stream, |
| ObjData & | data | ||
| ) |
References error, and obj_parseline().
Here is the call graph for this function:References ObjParser::ObjGroup::name, and ObjParser::ObjGroup::vertexIdxFirst.
References ObjParser::ObjObject::name, and ObjParser::ObjObject::vertexIdxFirst.
|
inline |
References ObjParser::ObjSmoothingGroup::smoothingGroupID, and ObjParser::ObjSmoothingGroup::vertexIdxFirst.
References ObjParser::ObjUseMtl::name, and ObjParser::ObjUseMtl::vertexIdxFirst.
References ObjParser::ObjVertex::coordIdx, ObjParser::ObjVertex::normalIdx, and ObjParser::ObjVertex::textureCoordIdx.
| bool ObjParser::savevector | ( | FILE * | pFile, |
| const std::vector< std::string > & | v | ||
| ) |
| bool ObjParser::savevector | ( | FILE * | pFile, |
| const std::vector< T > & | v | ||
| ) |
Referenced by objbinsave().
Here is the caller graph for this function:| bool ObjParser::savevectornameidx | ( | FILE * | pFile, |
| const std::vector< T > & | v | ||
| ) |
Referenced by objbinsave().
Here is the caller graph for this function:| bool ObjParser::vectorequal | ( | const std::vector< std::string > & | v1, |
| const std::vector< std::string > & | v2 | ||
| ) |
| bool ObjParser::vectorequal | ( | const std::vector< T > & | v1, |
| const std::vector< T > & | v2 | ||
| ) |
Referenced by objequal().
Here is the caller graph for this function: