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
- Renvoie
legend
- Type renvoyé
- compileShaders()¶
Compile GLSL shader into binaries
- render(context=None)¶
Create render
- Paramètres
context (QOpenGLContext) – openGL context
- scaleZ(factor)¶
Apply a x factor to the z value
- Paramètres
factor (float) – factor
- setColorPerElement(flag)¶
Apply color per element, is the mesh is based on element
- Paramètres
flag – flag for element base mesh
flag – bool
- updateSymbology()¶
Update 3D rendering