OBJ file loader filter.
More...
#include <WavefrontObjFileLoader.h>
|
static void | buildPrimitiveVertex (Vertex &dstVert, Vertex &srcVert, int texIdx, int normalIdx, std::vector< dvec2 > const &texcoords, std::vector< dvec3 > const &normals) |
| Build dstVertex considering data of srcVert. More...
|
|
|
OGRSpatialReference * | sourceCRS |
|
std::map< std::string, ObjectT > | params |
| Available parameters.
|
|
std::map< std::string, Material > | materials |
| Available materials.
|
|
ScenePart * | primsOut = nullptr |
| ScenePart used to build the output. Not strictly necessary for any filter.
|
|
◆ WavefrontObjFileLoader()
WavefrontObjFileLoader::WavefrontObjFileLoader |
( |
| ) |
|
|
inline |
◆ buildPrimitiveVertex()
void WavefrontObjFileLoader::buildPrimitiveVertex |
( |
Vertex & |
dstVert, |
|
|
Vertex & |
srcVert, |
|
|
int |
texIdx, |
|
|
int |
normalIdx, |
|
|
std::vector< dvec2 > const & |
texcoords, |
|
|
std::vector< dvec3 > const & |
normals |
|
) |
| |
|
static |
Build dstVertex considering data of srcVert.
- Parameters
-
dstVert | Vertex to be built. It belongs to a primitive. |
srcVert | Vertex used to built. It comes from the set of vertices in obj file. |
texIdx | Index of texture to be used |
normalIdx | Index of normal to be used. |
texcoords | Vector of texture coordinates. |
normals | Vector of normals. It contains the normal for each vertex. |
◆ run()
The documentation for this class was generated from the following files: