PolyDataΒΆ
A PolyData is represents renderable geometry.
A PolyData is a JavaScript object with the following properties:
- name: An optional name string that describes this polydata.
- numberOfPoints: Number of points.
- points:- Float32Arrayof x,y,z point locations.
- verticesBufferSize: Integer size of the vertices buffer.
- vertices:- null | Uint32Arrayvertices identifiers in the format [1 pointIndex1 1 pointIndex2 1 pointIndex3 β¦ ].
- linesBufferSize: Integer size of the lines buffer.
- lines:- null | Uint32Arraylines in the format [nPointsLine1 pointIndex1 pointIndex2 nPointsLine2 pointIndex1 pointIndex2 β¦ ].
- polygonsBufferSize: Integer size of the polygons buffer.
- polygons:- null | Uint32Arraypolygons in the format [nPointsPolygon1 pointIndex1 pointIndex2 nPointsPolygon2 pointIndex1 pointIndex2 β¦ ].
- triangleStripsBufferSize: Integer size of the triangle strips buffer.
- triangleStrips:- null | Uint32Arraytriangle strips in the format [nPointsTriangleStrip1 pointIndex1 pointIndex2 nPointsTriangleStrip2 pointIndex1 pointIndex2 β¦ ].
- numberOfPointPixels: Integer number of point pixels.
- pointData:- null | TypedArraydata associated with points.
- numberOfCellPixels: Integer number of cell pixels.
- cellData:- null | TypedArraydata associated with cells.