Inheritance Graph

graph BT
	MeshBuilder
	MeshBuilder --> Object
	click MeshBuilder "escript_type_Rendering_MeshBuilder"
	click Object "escript_type_Object"

Deprecated

   
createArrow(p0, p1) [ESF] (static) Mesh Rendering.MeshBuilder.createArrow(Number radius, Number length)
Deprecated: use Rendering.createArrow(…) instead.
createBox(p0) [ESF] (static) Mesh Rendering.MeshBuilder.createBox(Box)
Deprecated: use Rendering.(…) instead.
createCone(p0, p1, p2) [ESF] (static) Mesh Rendering.MeshBuilder.createCone(Number radius, Number height, Number segments)
Deprecated: use Rendering.createCone(…) instead.
createConicalFrustum(p0, p1, p2, p3) [ESF] (static) Mesh Rendering.MeshBuilder.createConicalFrustum(Number radiusBottom, Number radiusTop, Number height, Number segments)
Deprecated: use Rendering.createConicalFrustum(…) instead.
createDiscSector(p0, p1 [, p2]) [ESF] (static) Mesh Rendering.MeshBuilder.createDiscSector(Number radius, Number segments, Number angle)
Deprecated: use Rendering.createDiscSector(…) instead.
createDome([p0 [, p1 [, p2 [, p3 [, p4]]]]]) [ESF] (static) Mesh Rendering.MeshBuilder.createDome(radius=100,
int horiRes = 40, int vertRes = 40,
double halfSphereFraction = 1.0,
double imagePercentage = 1.0)
Deprecated: use Rendering.createDome(…) instead. */
createHexGrid(p0, p1, p2, p3, p4) [ESF] (static) Mesh Rendering.MeshBuilder.createHexGrid(VertexDescription, Number width, Number height, Number rows, Number columns)
Deprecated: use Rendering.createHexGrid(…) instead.
createMeshFromBitmaps(p0 [, p1 [, p2]]) [ESMF] new Rendering.MeshBuilder.createMeshFromBitmaps(Util.Bitmap depth[, Util.Bitmap color[, Util.Bitmap normals]])
Deprecated: use Rendering.createMeshFromBitmaps(…) instead.
createRectangle(p0, p1 [, p2]) [ESF] (static) Mesh Rendering.MeshBuilder.createRectangle([VertexDescription],width,height)
Deprecated: use Rendering.createRectangle(…) instead.
createRingSector(p0, p1, p2 [, p3]) [ESF] (static) Mesh Rendering.MeshBuilder.createRingSector(Number innerRadius, Number outerRadius, Number segments, Number angle)
Deprecated: use Rendering.createRingSector(…) instead.
createSphere(p0, p1) [ESF] (static) Mesh Rendering.MeshBuilder.createSphere(Number, Number)
Deprecated: use Rendering.(…) instead.
createTorus(p0, p1, p2, p3) [ESF] (static) Mesh Rendering.MeshBuilder.createTorus(Number, Number, Number, Number)
Deprecated: use Rendering.createTorus(…) instead.
createVoxelMesh(p0, p1, p2) [ESF] (static) Mesh Rendering.MeshBuilder.createVoxelMesh(VertexDescription, Util.PixelAccessor voxelBitmap, Number depth)
Deprecated: use Rendering.createVoxelMesh(…) instead.

Functions

   
_constructor([p0]) [ESMF] new Rendering.MeshBuilder( [VertexDescription] )
addIndex(p0) [ESMF] thisEObj MeshBuilder.addIndex( idx )
addMesh(p0) [ESMF] thisEObj MeshBuilder.addMesh( Mesh )
addQuad(p0, p1, p2, p3) [ESMF] thisEObj MeshBuilder.addQuad( idx,idx,idx,idx )
addTriangle(p0, p1, p2) [ESMF] thisEObj MeshBuilder.addSphere( Sphere,inclinationSegments,azimuthSegments )
[ESMF] thisEObj MeshBuilder.addBox( Box )
[ESMF] thisEObj MeshBuilder.addTriangle( idx,idx,idx )
addVertex([p0 [, p1 [, p2 [, p3 [, p4 [, p5 [, p6 [, p7]]]]]]]]) [ESMF] Number MeshBuilder.addVertex( [Vec3f pos ,Vec3 normal, float r, g, b, a, float u, v )
buildMesh() [ESMF] E_Mesh MeshBuilder.buildMesh()
color(p0 [, p1]) [ESMF] thisEObj MeshBuilder.color( Color4f | Color4ub, [String attribute] )
getNextIndex() int MeshBuilder.getNextIndex()
getTransformation() Matrix4x4 MeshBuilder.getTransformation()
isEmpty() bool MeshBuilder.isEmpty()
normal(p0 [, p1]) [ESMF] thisEObj MeshBuilder.normal( Vec3, [String attribute] )
position(p0 [, p1]) [ESMF] thisEObj MeshBuilder.position( Vec3, [String attribute] )
position2D(p0 [, p1]) [ESMF] thisEObj MeshBuilder.position2D(Vec2, [String attribute])
position4D(p0 [, p1]) [ESMF] thisEObj MeshBuilder.position4D(Vec4, [String attribute])
setTransformation(p0) [ESMF] thisEObj MeshBuilder.setTransformation( Matrix4x4 | SRT )
texCoord0(p0 [, p1]) [ESMF] thisEObj MeshBuilder.texCoord0( Vec2, [String attribute] )
value(p0, p1) [ESMF] thisEObj MeshBuilder.value(Number value, String attribute)
valueUInt(p0, p1) [ESMF] thisEObj MeshBuilder.valueUInt(Number value, String attribute)
values(p0, p1) [ESMF] thisEObj MeshBuilder.values(Array values, String attribute)
valuesUInt(p0, p1) [ESMF] thisEObj MeshBuilder.valuesUInt(Array values, String attribute)

MeshBuilder

   
addArrow(p0, p1) [ESMF] thisEObj Rendering.MeshBuilder.addArrow(float radius, float length)
addBox(p0) [ESMF] thisEObj Rendering.MeshBuilder.addBox(Box)
addCone(p0, p1, p2) [ESMF] thisEObj Rendering.MeshBuilder.addCone(float radius, float height, uint8_t numSegments)
addConicalFrustum(p0, p1, p2, p3) [ESMF] thisEObj Rendering.MeshBuilder.addConicalFrustum(float radiusBottom, float radiusTop, float height, uint8_t numSegments)
addCube() [ESMF] thisEObj Rendering.MeshBuilder.addCube()
addDiscSector(p0, p1 [, p2]) [ESMF] thisEObj Rendering.MeshBuilder.addDiscSector(float radius, uint8_t numSegments, float angle)
addDodecahedron() [ESMF] thisEObj Rendering.MeshBuilder.addDodecahedron()
addDome([p0 [, p1 [, p2 [, p3 [, p4]]]]]) [ESMF] thisEObj Rendering.MeshBuilder.addDome(radius=100, int horiRes = 40, int vertRes = 40, double halfSphereFraction = 1.0, double imagePercentage = 1.0)
addGrid(p0, p1, p2, p3) [ESMF] thisEObj Rendering.MeshBuilder.addGrid(float width, float height, uint32_t rows, uint32_t columns)
addHexGrid(p0, p1, p2, p3) [ESMF] thisEObj Rendering.MeshBuilder.addHexGrid(float width, float height, uint32_t rows, uint32_t columns)
addIcosahedron() [ESMF] thisEObj Rendering.MeshBuilder.addIcosahedron()
addLine(p0, p1) [ESMF] thisEObj Rendering.MeshBuilder.addLine(float radius, float length)
addMeshFromBitmaps(p0 [, p1 [, p2]]) [ESMF] thisEObj Rendering.MeshBuilder.addMeshFromBitmaps(Util.PixelAccessor depth, [Util.PixelAccessor color, [Util.PixelAccessor normal]])
addOctahedron() [ESMF] thisEObj Rendering.MeshBuilder.addOctahedron()
addRectangle(p0 [, p1]) [ESMF] thisEObj Rendering.MeshBuilder.addRectangle(Rect | [width,height])
addRingSector(p0, p1, p2 [, p3]) [ESMF] thisEObj Rendering.MeshBuilder.addRingSector(float innerRadius, float outerRadius, uint8_t numSegments, float angle)
addSphere(p0, p1, p2) [ESMF] thisEObj Rendering.MeshBuilder.addSphere(Sphere, inclinationSegments, azimuthSegments)
addTetrahedron() [ESMF] thisEObj Rendering.MeshBuilder.addTetrahedron()
addTorus(p0, p1, p2, p3) [ESMF] thisEObj Rendering.MeshBuilder.addTorus(float innerRadius, float outerRadius, uint32_t majorSegments, uint32_t minorSegments)
addVoxelMesh(p0, p1) [ESMF] thisEObj Rendering.MeshBuilder.addVoxelMesh(Util.PixelAccessor voxelBitmap, Number depth)
addWireBox(p0) [ESMF] thisEObj Rendering.MeshBuilder.addWireBox(Box)
addWireCircle(p0, p1) [ESMF] thisEObj Rendering.MeshBuilder.addWireCircle(float radius, uint8_t numSegments, float angle)
addWireFrustum(p0) [ESMF] thisEObj Rendering.MeshBuilder.addWireFrustum(Frustum)
addWireRectangle(p0 [, p1]) [ESMF] thisEObj Rendering.MeshBuilder.addWireRectangle(Rect | [width,height])
addWireSphere(p0, p1) [ESMF] thisEObj Rendering.MeshBuilder.addWireSphere(Sphere, segments)