#include <surfacepatch3d.h>
Inheritance diagram for SurfacePatch3D:

Public Member Functions | |
| virtual SurfacePatch3D * | duplicate () const =0 |
| virtual bool | hasFinitBounding () const =0 |
| virtual Vector3 | getBoundingMin () const =0 |
| virtual Vector3 | getBoundingMax () const =0 |
| virtual void | prepareToRender () |
| virtual DBL | intersectBounding (const Ray &r) const =0 |
| virtual DBL | intersectBounding (const Ray &r, DBL tmax) const =0 |
| virtual Intersection * | intersect (const Ray &r) const |
| virtual Intersection * | intersectLimitedTime (const Ray &r, DBL maxtime) const =0 |
|
|
Create a duplicate of the object. Must be of the same type!
Implemented in Box, Cylinder, Isosurface, Plane, Sphere, and TrianglePatch.
|
|
|
Get bounding dimension (maximum edge). Implemented in Box, Object3D, Sphere, and TrianglePatch.
|
|
|
Get bounding dimension (minimum edge). Implemented in Box, Object3D, Sphere, and TrianglePatch.
|
|
|
Returns true if the surface can be enclosed by a finit box. Implemented in Box, Object3D, Sphere, and TrianglePatch.
|
|
|
Intersect object with ray.
Reimplemented in Object3D.
|
|
||||||||||||
|
Intersect Bounding with Ray limited to maximum time.
Implemented in Object3D, and TrianglePatch.
|
|
|
Intersect Bounding with Ray.
Implemented in Object3D, and TrianglePatch.
|
|
||||||||||||
|
Intersect object with ray limited to maximum time.
Implemented in Object3D, and TrianglePatch.
|
|
|
Prepare object for render process. Some optimisations can be done only before the rendering starts. This is the method that is to be called just before doing so. The object has to be tolerant against multiple calls of this method. Reimplemented in ObjectContainer.
|
1.3.8