The TopoShapeConvert.
更多...
#include <APITopoShapeConvert.h>
|
static RenderableEntity | ToEntity (const TopoShape &pTopoShape, Real tolerance) |
|
static SceneNode | ToSceneNode (const TopoShape &topoShape, Real tolerance) |
|
static EntitySceneNode | ToEntityNode (const TopoShape &pTopoShape, Real tolerance) |
|
static TopoShapeGroup | ToTopoShape (const SceneNode &sceneNode) |
|
static EntitySceneNode | ToFaceNode (const TopoShape &pTopoShape, Real tolerance) |
|
static EntitySceneNode | ToEdgeNode (const TopoShape &pTopoShape, Real tolerance) |
|
static RenderableEntity | CreateFaceEntity (const FloatList &vb, const UIntList &ib, const FloatList &nb, const FloatList &texcb, const AABox &bbox) |
|
static RenderableEntity | CreateColoredFaceEntity (const FloatList &vb, const UIntList &ib, const FloatList &nb, const FloatList &cb, const AABox &bbox) |
|
static RenderableEntity | CreateEdgeEntity (const FloatList &vb, const AABox &bbox) |
|
static RenderableEntity | CreatePointsCloud (const FloatList &buffer, Real pointSize) |
|
static ScreenWidget | CreateCoordinateWidget () |
|
static AxesWidget | CreateAxesWidget () |
|
static Real | Deflection () |
|
static void | SetDeflection (Real val) |
|
static AxesWidget AnyCAD::API::TopoShapeConvert::CreateAxesWidget |
( |
| ) |
|
|
static |
Convert buffer to triangle mesh.
- 参数
-
vb | the vertex buffer |
ib | the index buffer |
nb | the normal buffer |
cb | the color buffer |
bbox | the bounding box. |
- 返回
- the render able entity
static ScreenWidget AnyCAD::API::TopoShapeConvert::CreateCoordinateWidget |
( |
| ) |
|
|
static |
Create the coordinate widget.
- 返回
- the CoordinateWidget
Convert buffer to edge.
- 参数
-
vb | the vertex buffer |
bbox | the bounding box. |
- 返回
- the render able entity
Convert buffer to triangle mesh.
- 参数
-
vb | the vertex buffer |
ib | the index buffer |
nb | the normal buffer |
texcb | the UV buffer |
bbox | the bounding box. |
- 返回
- the render able entity
Convert points to render able entity.
- 参数
-
buffer | the vertex buffer |
pointSize | the per point size |
- 返回
- the render able entity
static Real AnyCAD::API::TopoShapeConvert::Deflection |
( |
| ) |
|
|
static |
Get the global deflection for discretization edges.
- 返回
- the deflection value.
static void AnyCAD::API::TopoShapeConvert::SetDeflection |
( |
Real |
val | ) |
|
|
static |
Set the global deflection for discretization edges.
- 参数
-
该类的文档由以下文件生成: