Classes | |
| class | ShKernelLib |
| class | ShKernelLight |
| class | ShKernelSurface |
| class | ShKernelSurfMap |
| struct | ShMeshType |
| struct | ShMeshVertex |
| struct | ShMeshFace |
| struct | ShMeshEdge |
| class | ShMesh |
| ShMesh class stores a mesh using a half-edge data structure. More... | |
| struct | Triple |
| struct | ObjVertLess |
| struct | ShObjVertex |
| struct | ShObjFace |
| struct | ShObjEdge |
| class | ShObjMesh |
Typedefs | |
| typedef std::vector< Triple > | ShObjIndexedFace |
|
typedef ShMeshType< ShObjVertex, ShObjFace, ShObjEdge > | ShObjMeshType |
Functions | |
| template<int N, typename T> | |
| ShGeneric< N, T > | deprecated_smoothstep (const ShGeneric< N, T > &a, const ShGeneric< N, T > &b, const ShGeneric< N, T > x) |
| Cubic interpolated step between 0 and 1. | |
| template<int N, typename T> | |
| ShGeneric< N, T > | hashlcg (const ShGeneric< N, T > &p) |
| Parallel linear congruential generator. | |
| template<typename T> | |
| ShGeneric< 3, T > | changeBasis (const ShGeneric< 3, T > &b0, const ShGeneric< 3, T > &b1, const ShGeneric< 3, T > &b2, const ShGeneric< 3, T > &v) |
| Given 3 orthonormal basis vectors b0, b1, b2, specified relative to a coordinate space C, this does a change of basis on a vector v in space C to the orthonormal basis. | |
| template<int N, typename T> | |
| ShAttrib4f | bernstein_basis_4 (const ShGeneric< N, T > &t) |
| Evaluate cubic Bernstein (Bezier) basis functions. | |
| template<int N, typename T> | |
| ShGeneric< N, T > | bezier (const ShGeneric< N, T > &t, const ShAttrib4f &p) |
| Evaluate cubic Bezier spline. | |
| std::istream & | operator>> (std::istream &in, ShObjMesh &mesh) |
| string | normalize_path (const string &path) |
| std::string | normalize_path (const std::string &path) |
| Converts "/" to "\" on Windows and the reverse on other OSes. | |
All the extra Sh utility functions and objects reside within this namespace.
|
||||||||||||||||||||
|
Cubic interpolated step between 0 and 1. Returns 0 if x < a, 1 if x > b, cubic interpolation between 0 and 1 otherwise Definition at line 36 of file ShFuncImpl.hpp. References SH::clamp(), and SH::mad(). |
|
||||||||||
|
Parallel linear congruential generator. This does not work very well right now. Use hashmrg instead.
Definition at line 54 of file ShFuncImpl.hpp. References SH::frac(), and SH::mad(). |
1.4.3-20050530