Go to the documentation of this file.
3 #include <Inventor/SbVec3f.h>
37 IvWriter(
const std::vector<App::Element*>& elems);
40 bool saveIV(
const std::string& filename);
43 const std::vector<App::Element*>& _elems;
45 bool _createFaces(
pConstShape shape, std::vector<myFace>& myFaces, std::map<int, int>& face_2_material_index,
int colorIndex);
47 std::vector<myEdge>& myEdges,
48 std::map<int, int>& edge_2_material_index,
52 void _createMaterial(App::Element* e, SoMaterial* oiv_mat,
int& materialIndex,
bool& useMaterial);
Definition: ActiveScript.h:10
std::vector< SbVec3f > vertices
Definition: IvWriter.h:28
Definition: IvWriter.h:17
Definition: IvWriter.h:35
std::vector< long > coordinateIndices
Definition: IvWriter.h:29
IvWriter(const std::vector< App::Element * > &elems)
std::shared_ptr< Topo::Shape const > pConstShape
Definition: Variant.h:65
bool useNormals
Definition: IvWriter.h:22
bool saveIV(const std::string &filename)
Saves the document to 'filename'.
std::vector< long > coordinateIndices
Definition: IvWriter.h:21
std::vector< SbVec3f > verticesNormals
Definition: IvWriter.h:20
Definition: IvWriter.h:26
std::vector< SbVec3f > vertices
Definition: IvWriter.h:19