OCC.Core.Visualization module¶
-
class
Display3d(Display3d self) → Display3d¶ Bases:
object-
ChangeRenderingParams(Display3d self, int Method, int RaytracingDepth, bool IsShadowEnabled, bool IsReflectionEnabled, bool IsAntialiasingEnabled, bool IsTransparentShadowEnabled, int StereoMode, int AnaglyphFilter, bool ToReverseStere)¶
-
DisableVBO(Display3d self)¶
-
EnableVBO(Display3d self)¶
-
GetContext(Display3d self) → Handle_AIS_InteractiveContext¶
-
GetImageData(Display3d self, int bufType=0) → PyObject¶
-
GetSize(Display3d self) → PyObject *¶
-
GetView(Display3d self) → Handle_V3d_View &¶
-
GetViewer(Display3d self) → Handle_V3d_Viewer &¶
-
Init(Display3d self, long const handle)¶
-
InitOffscreen(Display3d self, int size_x, int size_y) → bool¶
-
IsOffscreen(Display3d self) → bool¶
-
SetAnaglyphMode(Display3d self, int mode)¶
-
SetSize(Display3d self, int size_x, int size_y) → bool¶
-
Test(Display3d self)¶
-
property
thisown¶ The membership flag
-
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
property
thisown¶ The membership flag
-
value()¶
-
-
class
Tesselator(Tesselator self, TopoDS_Shape aShape, theTextureMappingRule aTxtMapType, float anAutoScaleSizeOnU, float anAutoScaleSizeOnV, float aDeviation, float aUOrigin, float aVOrigin, float aURepeat, float aVRepeat, float aScaleU, float aScaleV, float aRotationAngle) → Tesselator¶ Bases:
object__init__(Tesselator self, TopoDS_Shape aShape) -> Tesselator
-
Compute(Tesselator self, bool uv_coords=True, bool compute_edges=False, float mesh_quality=1.0, bool parallel=False)¶
-
ExportShapeToThreejsJSONString(Tesselator self, char * shape_function_name, bool export_uv=False) → std::string¶
-
ExportShapeToX3D(Tesselator self, char * filename, int diffR=1, int diffG=0, int diffB=0)¶
-
ExportShapeToX3DIndexedFaceSet(Tesselator self) → std::string¶
-
GetEdgeVertex(Tesselator self, int iEdge, int ivert)¶
-
GetNormal(Tesselator self, int inorm)¶
-
GetNormalsAsTuple(Tesselator self) → vector_float¶
-
GetTriangleIndex(Tesselator self, int triangleIdx)¶
-
GetVertex(Tesselator self, int ivert)¶
-
GetVerticesPositionAsTuple(Tesselator self) → vector_float¶
-
ObjEdgeGetVertexCount(Tesselator self, int iEdge) → int¶
-
ObjGetEdgeCount(Tesselator self) → int¶
-
ObjGetNormalCount(Tesselator self) → int¶
-
ObjGetTriangleCount(Tesselator self) → int¶
-
ObjGetVertexCount(Tesselator self) → int¶
-
VerticesList(Tesselator self) → float *¶
-
property
thisown¶ The membership flag
-