6.1.1.8.1.2. thyrsis.viewer_3d.mesh module¶
- class thyrsis.viewer_3d.mesh.Mesh(dataProvider, colorLegend, zColumn, invertNrml=False, parent=None)¶
Bases:
object
3D mesh
- colorLegend()¶
Return the color legend
- Returns
legend
- Return type
- compileShaders()¶
Compile GLSL shader into binaries
- render(context=None)¶
Create render
- Parameters
context (QOpenGLContext) – openGL context
- scaleZ(factor)¶
Apply a x factor to the z value
- Parameters
factor (float) – factor
- setColorPerElement(flag)¶
Apply color per element, is the mesh is based on element
- Parameters
flag – flag for element base mesh
flag – bool
- updateSymbology()¶
Update 3D rendering