#include <VrmlData_ShapeConvert.hxx>
Algorithm converting one shape or a set of shapes to VrmlData_Scene.
◆ VrmlData_ShapeConvert()
Constructor.
- Parameters
-
theScene | Scene receiving all Vrml data. |
theScale | Scale factor, considering that VRML standard specifies coordinates in meters. So if your data are in mm, you should provide theScale=0.001 |
◆ AddShape()
void VrmlData_ShapeConvert::AddShape |
( |
const TopoDS_Shape & |
theShape, |
|
|
const char * |
theName = 0L |
|
) |
| |
Add one shape to the internal list, may be called several times with different shapes.
◆ Convert()
Convert all accumulated shapes and store them in myScene. The internal data structures are cleared in the end of convertion.
- Parameters
-
theExtractFaces | If True, converter extracst faces from the shapes. |
theExtractEdges | If True, converter extracts edges from the shapes. |
theDeflection | Deflection for tessellation of geometrical lines/surfaces. Existing mesh is used if its deflection is smaller than the one given by this parameter. |
theDeflAngle | Angular deflection for tessellation of geometrical lines. |
◆ defaultMaterialEdge()
◆ defaultMaterialFace()
◆ polToIndexedLineSet()
◆ triToIndexedFaceSet()
The documentation for this class was generated from the following file: