OCC.Visualization module¶
-
class
Display3d
(Display3d self) → Display3d¶ Bases:
object
-
ChangeRenderingParams
()¶ Display3d_ChangeRenderingParams(Display3d self, int Method, int RaytracingDepth, bool IsShadowEnabled, bool IsReflectionEnabled, bool IsAntialiasingEnabled, bool IsTransparentShadowEnabled, int StereoMode, int AnaglyphFilter, bool ToReverseStere)
-
GetContext
()¶ Display3d_GetContext(Display3d self) -> Handle_AIS_InteractiveContext
-
GetImageData
(int bufType=0) → PyObject¶ Display3d_GetImageData(Display3d self) -> PyObject *
-
GetSize
()¶ Display3d_GetSize(Display3d self) -> PyObject *
-
GetView
()¶ Display3d_GetView(Display3d self) -> Handle_V3d_View &
-
GetViewer
()¶ Display3d_GetViewer(Display3d self) -> Handle_V3d_Viewer &
-
Init
()¶ Display3d_Init(Display3d self, long const handle)
-
InitOffscreen
()¶ Display3d_InitOffscreen(Display3d self, int size_x, int size_y) -> bool
-
IsOffscreen
()¶ Display3d_IsOffscreen(Display3d self) -> bool
-
SetAnaglyphMode
()¶ Display3d_SetAnaglyphMode(Display3d self, int mode)
-
SetSize
()¶ Display3d_SetSize(Display3d self, int size_x, int size_y) -> bool
-
SetVBBO
()¶ Display3d_SetVBBO(Display3d self)
-
Test
()¶ Display3d_Test(Display3d self)
-
UnsetVBBO
()¶ Display3d_UnsetVBBO(Display3d self)
-
thisown
¶ The membership flag
-
-
class
Tesselator
(*args)¶ Bases:
object
-
Compute
()¶
-
ExportShapeToThreejsJSONString
()¶
-
ExportShapeToX3D
()¶
-
ExportShapeToX3DIndexedFaceSet
()¶
-
GetEdgeVertex
()¶
-
GetNormal
()¶
-
GetTriangleIndex
()¶
-
GetVertex
()¶
-
ObjEdgeGetVertexCount
()¶
-
ObjGetEdgeCount
()¶
-
ObjGetNormalCount
()¶
-
ObjGetTriangleCount
()¶
-
ObjGetVertexCount
()¶
-
VerticesList
()¶
-
thisown
¶ The membership flag
-
-
new_instancemethod
(func, inst, cls)¶