new ProxyGeometryGenerator()
Generates the Proxy-Geometry / https://developer.nvidia.com/gpugems/gpugems/part-vi-beyond-triangles/chapter-39-volume-rendering-techniques
- Source:
Methods
calcIntersection(plane, line, vertices) → {boolean}
Returns the intersection point of a plane/line intersection
Parameters:
Name | Type | Description |
---|---|---|
plane |
THREE.Plane | plane for slice |
line |
THREE.Line3 | intersection line |
vertices |
THREE.Vector3 | vertices who intersect |
- Source:
calcIntersection(plane, line, vertices) → {boolean}
Returns the intersection point of a plane/line intersection
Parameters:
Name | Type | Description |
---|---|---|
plane |
THREE.Plane | plane for slice |
line |
THREE.Line3 | intersection line |
vertices |
THREE.Vector3 | vertices who intersect |
- Source:
setBoundingBox()
Update bounding box.
- Source:
setBoundingBox()
Update bounding box.
- Source:
sortPolygonEdges()
Calculates the centroid of intersectionVertices, sorts the intersection Vertices according in ascending order of the angle
to the centroid, and adds the centroid at the end of intersectionVertices
- Source:
sortPolygonEdges()
Calculates the centroid of intersectionVertices, sorts the intersection Vertices according in ascending order of the angle
to the centroid, and adds the centroid at the end of intersectionVertices
- Source:
updateProxyGeometries(camera) → {Array}
Calculates the proxy geometries created by intersection view aligned slices with the volume bounding box
Parameters:
Name | Type | Description |
---|---|---|
camera |
THREE.OrthographicCamera | the orthographic camera |
- Source:
updateProxyGeometries(camera) → {Array}
Calculates the proxy geometries created by intersection view aligned slices with the volume bounding box
Parameters:
Name | Type | Description |
---|---|---|
camera |
THREE.OrthographicCamera | the orthographic camera |
- Source: