irr::scene::ChIrrCascadeMeshTools Class Reference

Description

Tools to convert an OpenCASCADE shapes into 'Irrlicht' triangle meshes.

#include <ChIrrCascadeMeshTools.h>

Static Public Member Functions

static void fillIrrlichtMeshFromCascadeFace (scene::IMesh *pMesh, const TopoDS_Face &F, video::SColor clr=video::SColor(255, 255, 255, 255))
 Function to use to convert a OpenCASCADE face into a Irrlicht mesh, so that it can be used for visualizing it. More...
 
static void fillIrrlichtMeshFromCascade (scene::IMesh *pMesh, const TopoDS_Shape &mshape, double deflection=1, bool relative_deflection=false, double angulardeflection=0.5, video::SColor clr=video::SColor(255, 255, 255, 255))
 Function to use to convert a OpenCASCADE shape into a Irrlicht mesh, so that it can be used for visualizing it. More...
 

Member Function Documentation

static void irr::scene::ChIrrCascadeMeshTools::fillIrrlichtMeshFromCascade ( scene::IMesh *  pMesh,
const TopoDS_Shape &  mshape,
double  deflection = 1,
bool  relative_deflection = false,
double  angulardeflection = 0.5,
video::SColor  clr = video::SColor(255, 255, 255, 255) 
)
static

Function to use to convert a OpenCASCADE shape into a Irrlicht mesh, so that it can be used for visualizing it.

static void irr::scene::ChIrrCascadeMeshTools::fillIrrlichtMeshFromCascadeFace ( scene::IMesh *  pMesh,
const TopoDS_Face &  F,
video::SColor  clr = video::SColor(255, 255, 255, 255) 
)
static

Function to use to convert a OpenCASCADE face into a Irrlicht mesh, so that it can be used for visualizing it.