RenderTools Namespace Reference

Program is used for the matrix stack. More...


Namespaces

namespace  Matrix

Classes

class  Error
class  Vec2
class  Mat2
class  Vec3
class  Mat3
class  Vec4
class  Quat
class  Mat4
struct  GLenumStruct
struct  GLbooleanStruct
struct  BooleanStruct
class  Rectangle
class  NAABB
class  AABB
struct  IntersectionMaskStruct
class  XMLNode
class  KeyboardEvent
class  MouseEvent
class  PropertyContainerEvent
class  PropertyEvent
class  TiltEvent
class  TouchEvent
class  ViewControllerEvent
class  AbstractApplication
 The application class is the owner of all data, it holds shared references to viewcontrollers, which in turn can hold references to rendergroups, etc. thus, removing a viewcontroller from the list in AbstractApplication causes a delete on that viewcontroller. More...
class  Camera
struct  CamTypeStruct
struct  CamModeStruct
class  Factory
class  Framebuffer
class  Image
class  PhysicsWorld
class  Program
class  RelationalNode
class  Renderbuffer
struct  BufferTypeStruct
class  Rendergroup
class  AbstractCurve
 class AbstractCurve is the interface to a Curve<T> More...
struct  InterpolationTypeStruct
class  Circle
class  Curve
class  Ellipsoid
struct  EllipsoidTypeStruct
class  Plane
class  Quadric
class  Rendernode
struct  RenderComponentMaskStruct
class  TextNode
class  Renderpass
class  Sampler
class  ShadowProxy
class  Stateset
struct  StateComponentMaskStruct
class  TransformNode
class  Vertexbuffer
class  RendergroupAbstractView
class  ViewController
class  BindingInterface
 abstract interface for binding/unbinding subclasses More...
class  InitializeInterface
 abstract interface for binding/unbinding subclasses More...
class  KeyboardInterface
class  MouseInterface
class  Profiler
class  RenderInterface
 abstract interface for rendering subclasses More...
class  TiltInterface
class  TouchInterface
class  TouchPoint
class  UpdateInterface
 abstract interface for updating subclasses More...
class  AbstractProperty
class  AbstractPropertyContainer
class  ContainerProperty
class  EnumProperty
class  PointerProperty
class  PropertyContainer
class  PropertyProxy
class  PropertyProxyContainer
class  StringProperty
class  VectorProperty

Typedefs

typedef Vec2Vec2Ptr
typedef Vec3Vec3Ptr
typedef Vec4Vec4Ptr
typedef Mat2Mat2Ptr
typedef Mat3Mat3Ptr
typedef Mat4Mat4Ptr
typedef vector< Vec2Vec2List
typedef vector< Vec3Vec3List
typedef vector< Vec4Vec4List
typedef vector< Mat2Mat2List
typedef vector< Mat3Mat3List
typedef vector< Mat4Mat4List
typedef shared_ptr< CameraCameraPtr
typedef shared_ptr< ErrorErrorPtr
typedef shared_ptr< AbstractCurveCurvePtr
typedef shared_ptr< CircleCirclePtr
typedef shared_ptr< ImageImagePtr
typedef shared_ptr< TextNodeTextNodePtr
typedef shared_ptr< RendernodeRendernodePtr
typedef shared_ptr
< RelationalNode
RelationalNodePtr
typedef shared_ptr< TransformNodeTransformNodePtr
typedef shared_ptr< XMLNodeXMLNodePtr
typedef shared_ptr< RendergroupRendergroupPtr
typedef shared_ptr< RenderpassRenderpassPtr
typedef shared_ptr< FramebufferFramebufferPtr
typedef shared_ptr< RenderbufferRenderbufferPtr
typedef shared_ptr< StatesetStatesetPtr
typedef shared_ptr< SamplerSamplerPtr
typedef shared_ptr< PhysicsWorldPhysicsWorldPtr
typedef shared_ptr< PlanePlanePtr
typedef shared_ptr< QuadricQuadricPtr
typedef shared_ptr< EllipsoidEllipsoidPtr
typedef shared_ptr< VertexbufferVertexbufferPtr
typedef shared_ptr
< AbstractProperty
PropertyPtr
typedef shared_ptr
< AbstractPropertyContainer
PropertyContainerPtr
typedef shared_ptr
< ViewController
ViewControllerPtr
typedef shared_ptr
< AbstractApplication
ApplicationPtr
typedef weak_ptr< CameraCameraWeakPtr
typedef weak_ptr< ErrorErrorWeakPtr
typedef weak_ptr< AbstractCurveCurveWeakPtr
typedef weak_ptr< CircleCircleWeakPtr
typedef weak_ptr< ImageImageWeakPtr
typedef weak_ptr< TextNodeTextNodeWeakPtr
typedef weak_ptr< RendernodeRendernodeWeakPtr
typedef weak_ptr< RelationalNodeRelationalNodeWeakPtr
typedef weak_ptr< TransformNodeTransformNodeWeakPtr
typedef weak_ptr< XMLNodeXMLNodeWeakPtr
typedef weak_ptr< RendergroupRendergroupWeakPtr
typedef weak_ptr< RenderpassRenderpassWeakPtr
typedef weak_ptr< FramebufferFramebufferWeakPtr
typedef weak_ptr< RenderbufferRenderbufferWeakPtr
typedef weak_ptr< StatesetStatesetWeakPtr
typedef weak_ptr< SamplerSamplerWeakPtr
typedef weak_ptr< PhysicsWorldPhysicsWorldWeakPtr
typedef weak_ptr< PlanePlaneWeakPtr
typedef weak_ptr< QuadricQuadricWeakPtr
typedef weak_ptr< EllipsoidEllipsoidWeakPtr
typedef weak_ptr< VertexbufferVertexbufferWeakPtr
typedef weak_ptr
< AbstractProperty
PropertyWeakPtr
typedef weak_ptr
< AbstractPropertyContainer
PropertyContainerWeakPtr
typedef weak_ptr< ViewControllerViewControllerWeakPtr
typedef weak_ptr
< AbstractApplication
ApplicationWeakPtr
typedef vector< string > StringList
typedef vector< string > EnumList
typedef vector< ErrorPtrErrorList
typedef vector< PropertyPtrPropertyList
typedef vector< CameraPtrCameraList
typedef vector< CurvePtrCurveList
typedef vector< CirclePtrCircleList
typedef vector< ImagePtrImageList
typedef vector< TextNodePtrTextNodeList
typedef vector< FramebufferPtrFramebufferList
typedef vector< RenderbufferPtrRenderbufferList
typedef vector< RendernodePtrRendernodeList
typedef vector< RelationalNodePtrRelationalNodeList
typedef vector< TransformNodePtrTransformNodeList
typedef vector< RendergroupPtrRendergroupList
typedef vector< RenderpassPtrRenderpassList
typedef vector< StatesetPtrStatesetList
typedef vector< SamplerPtrSamplerList
typedef vector< PlanePtrPlaneList
typedef vector< QuadricPtrQuadricList
typedef vector< EllipsoidPtrEllipsoidList
typedef vector< VertexbufferPtrVertexbufferList
typedef vector< ViewControllerPtrViewControllerList
typedef vector< XMLNodePtrXMLNodeList
typedef vector< ApplicationPtrApplicationList
typedef vector< ErrorWeakPtrErrorWeakList
typedef vector< PropertyWeakPtrPropertyWeakList
typedef vector< CameraWeakPtrCameraWeakList
typedef vector< CurveWeakPtrCurveWeakList
typedef vector< CircleWeakPtrCircleWeakList
typedef vector< ImageWeakPtrImageWeakList
typedef vector< TextNodeWeakPtrTextNodeWeakList
typedef vector
< FramebufferWeakPtr
FramebufferWeakList
typedef vector
< RenderbufferWeakPtr
RenderbufferWeakList
typedef vector< RendernodeWeakPtrRendernodeWeakList
typedef vector
< RelationalNodeWeakPtr
RelationalNodeWeakList
typedef vector
< TransformNodeWeakPtr
TransformNodeWeakList
typedef vector
< RendergroupWeakPtr
RendergroupWeakList
typedef vector< RenderpassWeakPtrRenderpassWeakList
typedef vector< StatesetWeakPtrStatesetWeakList
typedef vector< SamplerWeakPtrSamplerWeakList
typedef vector< PlaneWeakPtrPlaneWeakList
typedef vector< QuadricWeakPtrQuadricWeakList
typedef vector< EllipsoidWeakPtrEllipsoidWeakList
typedef vector
< VertexbufferWeakPtr
VertexbufferWeakList
typedef vector
< ViewControllerWeakPtr
ViewControllerWeakList
typedef vector< XMLNodeWeakPtrXMLNodeWeakList
typedef vector
< ApplicationWeakPtr
ApplicationWeakList
typedef PropertyProxy
< AbstractProperty
AbstractPropertyProxy
typedef PropertyProxy
< AbstractPropertyContainer
AbstractPropertyContainerProxy
typedef PropertyProxy< CameraCameraProxy
typedef PropertyProxy< ErrorErrorProxy
typedef PropertyProxy
< AbstractCurve
CurveProxy
typedef PropertyProxy< CircleCircleProxy
typedef PropertyProxy< ImageImageProxy
typedef PropertyProxy< TextNodeTextNodeProxy
typedef PropertyProxy< RendernodeRendernodeProxy
typedef PropertyProxy
< RelationalNode
RelationalNodeProxy
typedef PropertyProxy
< TransformNode
TransformNodeProxy
typedef PropertyProxy< XMLNodeXMLNodeProxy
typedef PropertyProxy
< Rendergroup
RendergroupProxy
typedef PropertyProxy< RenderpassRenderpassProxy
typedef PropertyProxy
< Framebuffer
FramebufferProxy
typedef PropertyProxy
< Renderbuffer
RenderbufferProxy
typedef PropertyProxy< StatesetStatesetProxy
typedef PropertyProxy< SamplerSamplerProxy
typedef PropertyProxy
< PhysicsWorld
PhysicsWorldProxy
typedef PropertyProxy< PlanePlaneProxy
typedef PropertyProxy< QuadricQuadricProxy
typedef PropertyProxy< EllipsoidEllipsoidProxy
typedef PropertyProxy
< Vertexbuffer
VertexbufferProxy
typedef PropertyProxy
< ViewController
ViewControllerProxy
typedef PropertyProxy
< AbstractApplication
ApplicationProxy
typedef shared_ptr
< AbstractPropertyProxy
PropertyProxyPtr
typedef shared_ptr
< AbstractPropertyContainerProxy
PropertyContainerProxyPtr
typedef shared_ptr< CameraProxyCameraProxyPtr
typedef shared_ptr< ErrorProxyErrorProxyPtr
typedef shared_ptr< CurveProxyCurveProxyPtr
typedef shared_ptr< CircleProxyCircleProxyPtr
typedef shared_ptr< ImageProxyImageProxyPtr
typedef shared_ptr< TextNodeProxyTextNodeProxyPtr
typedef shared_ptr
< RendernodeProxy
RendernodeProxyPtr
typedef shared_ptr
< RelationalNodeProxy
RelationalNodeProxyPtr
typedef shared_ptr
< TransformNodeProxy
TransformNodeProxyPtr
typedef shared_ptr< XMLNodeProxyXMLNodeProxyPtr
typedef shared_ptr
< RendergroupProxy
RendergroupProxyPtr
typedef shared_ptr
< RenderpassProxy
RenderpassProxyPtr
typedef shared_ptr
< FramebufferProxy
FramebufferProxyPtr
typedef shared_ptr
< RenderbufferProxy
RenderbufferProxyPtr
typedef shared_ptr< StatesetProxyStatesetProxyPtr
typedef shared_ptr< SamplerProxySamplerProxyPtr
typedef shared_ptr
< PhysicsWorldProxy
PhysicsWorldProxyPtr
typedef shared_ptr< PlaneProxyPlaneProxyPtr
typedef shared_ptr< QuadricProxyQuadricProxyPtr
typedef shared_ptr
< EllipsoidProxy
EllipsoidProxyPtr
typedef shared_ptr
< VertexbufferProxy
VertexbufferProxyPtr
typedef shared_ptr
< ViewControllerProxy
ViewControllerProxyPtr
typedef shared_ptr
< ApplicationProxy
ApplicationProxyPtr
typedef vector< PropertyProxyPtrPropertyProxyList
typedef vector
< PropertyContainerProxyPtr
PropertyContainerProxyList
typedef vector
< ViewControllerProxyPtr
ViewControllerProxyList
typedef vector< CameraProxyPtrCameraProxyList
typedef vector< ErrorProxyPtrErrorProxyList
typedef vector< CurveProxyPtrCurveProxyList
typedef vector< CircleProxyPtrCircleProxyList
typedef vector< ImageProxyPtrImageProxyList
typedef vector< TextNodeProxyPtrTextNodeProxyList
typedef vector
< RendernodeProxyPtr
RendernodeProxyList
typedef vector
< RelationalNodeProxyPtr
RelationalNodeProxyList
typedef vector
< TransformNodeProxyPtr
TransformNodeProxyList
typedef vector< XMLNodeProxyPtrXMLNodeProxyList
typedef vector
< RendergroupProxyPtr
RendergroupProxyList
typedef vector
< RenderpassProxyPtr
RenderpassProxyList
typedef vector
< FramebufferProxyPtr
FramebufferProxyList
typedef vector
< RenderbufferProxyPtr
RenderbufferProxyList
typedef vector< StatesetProxyPtrStatesetProxyList
typedef vector< SamplerProxyPtrSamplerProxyList
typedef vector
< PhysicsWorldProxyPtr
PhysicsWorldProxyList
typedef vector< PlaneProxyPtrPlaneProxyList
typedef vector< QuadricProxyPtrQuadricProxyList
typedef vector< EllipsoidProxyPtrEllipsoidProxyList
typedef vector
< VertexbufferProxyPtr
VertexbufferProxyList
typedef vector
< ApplicationProxyPtr
AplicationProxyList
typedef PropertyContainer< CameraCameraContainer
typedef PropertyContainer< CircleCircleContainer
typedef PropertyContainer< ImageImageContainer
typedef PropertyContainer
< TextNode
TextNodeContainer
typedef PropertyContainer
< Framebuffer
FramebufferContainer
typedef PropertyContainer
< Renderbuffer
RenderbufferContainer
typedef PropertyContainer
< Rendernode
RendernodeContainer
typedef PropertyContainer
< RelationalNode
RelationalNodeContainer
typedef PropertyContainer
< Rendergroup
RendergroupContainer
typedef PropertyContainer
< Renderpass
RenderpassContainer
typedef PropertyContainer
< Stateset
StatesetContainer
typedef PropertyContainer
< Sampler
SamplerContainer
typedef PropertyContainer< PlanePlaneContainer
typedef PropertyContainer
< Quadric
QuadricContainer
typedef PropertyContainer
< Ellipsoid
EllipsoidContainer
typedef PropertyContainer
< Vertexbuffer
VertexbufferContainer
typedef PropertyContainer
< ViewController
ViewControllerContainer
typedef shared_ptr
< CameraContainer
CameraContainerPtr
typedef shared_ptr
< CircleContainer
CircleContainerPtr
typedef shared_ptr
< ImageContainer
ImageContainerPtr
typedef shared_ptr
< TextNodeContainer
TextNodeContainerPtr
typedef shared_ptr
< FramebufferContainer
FramebufferContainerPtr
typedef shared_ptr
< RenderbufferContainer
RenderbufferContainerPtr
typedef shared_ptr
< RendernodeContainer
RendernodeContainerPtr
typedef shared_ptr
< RelationalNodeContainer
RelationalNodeContainerPtr
typedef shared_ptr
< RendergroupContainer
RendergroupContainerPtr
typedef shared_ptr
< RenderpassContainer
RenderpassContainerPtr
typedef shared_ptr
< StatesetContainer
StatesetContainerPtr
typedef shared_ptr
< SamplerContainer
SamplerContainerPtr
typedef shared_ptr
< PlaneContainer
PlaneContainerPtr
typedef shared_ptr
< QuadricContainer
QuadricContainerPtr
typedef shared_ptr
< EllipsoidContainer
EllipsoidContainerPtr
typedef shared_ptr
< VertexbufferContainer
VertexbufferContainerPtr
typedef shared_ptr
< ViewControllerContainer
ViewControllerContainerPtr
typedef PropertyProxy< ProgramProgramProxy
typedef shared_ptr< ProgramProgramPtr
typedef shared_ptr< ProgramProxyProgramProxyPtr
typedef shared_ptr< ShadowProxyShadowProxyPtr
typedef weak_ptr< ProgramProgramWeakPtr
typedef weak_ptr< ShadowProxyShadowProxyWeakPtr
typedef vector< ProgramPtrProgramList
typedef vector< ProgramProxyPtrProgramProxyList
typedef vector< ShadowProxyPtrShadowProxyList
typedef vector< ProgramWeakPtrProgramWeakList
typedef vector
< ShadowProxyWeakPtr
ShadowProxyWeakList
typedef PropertyContainer
< Program
ProgramContainer
typedef PropertyContainer
< AbstractProperty
UniformContainer
typedef PropertyContainer
< ShadowProxy
ShadowProxyContainer
typedef shared_ptr
< ProgramContainer
ProgramContainerPtr
typedef shared_ptr
< UniformContainer
UniformContainerPtr
typedef shared_ptr
< ShadowProxyContainer
ShadowProxyContainerPtr
typedef RectangleRectanglePtr
typedef NAABBNAABBPtr
typedef AABBAABBPtr
typedef unsigned int IntersectionMask
typedef PropertyPtr(* FactoryFunc )(const XMLNodePtr &)
typedef shared_ptr
< RendergroupGLView > 
RendergroupGLViewPtr
typedef unsigned long TouchIndex
typedef PropertyProxyContainer
< Camera
CameraProxyContainer
typedef PropertyProxyContainer
< Stateset
StatesetProxyContainer
typedef PropertyProxyContainer
< Sampler
SamplerProxyContainer
typedef PropertyProxyContainer
< Rendernode
RendernodeProxyContainer
typedef PropertyProxyContainer
< Framebuffer
FramebufferProxyContainer
typedef PropertyProxyContainer
< Renderbuffer
RenderbufferProxyContainer
typedef PropertyProxyContainer
< Vertexbuffer
VertexbufferProxyContainer
typedef PropertyProxyContainer
< Renderpass
RenderpassProxyContainer
typedef shared_ptr
< CameraProxyContainer
CameraProxyContainerPtr
typedef shared_ptr
< StatesetProxyContainer
StatesetProxyContainerPtr
typedef shared_ptr
< SamplerProxyContainer
SamplerProxyContainerPtr
typedef shared_ptr
< FramebufferProxyContainer
FramebufferProxyContainerPtr
typedef shared_ptr
< RenderbufferProxyContainer
RenderbufferProxyContainerPtr
typedef shared_ptr
< VertexbufferProxyContainer
VertexbufferProxyContainerPtr
typedef shared_ptr
< RendernodeProxyContainer
RendernodeProxyContainerPtr
typedef shared_ptr
< RenderpassProxyContainer
RenderpassProxyContainerPtr
typedef PropertyProxyContainer
< Program
ProgramProxyContainer
typedef shared_ptr
< ProgramProxyContainer
ProgramProxyPtrContainerPtr

Enumerations

enum  Intersection {
  UNDETERMINED = 0, DISJOINT = 1, PARALLEL = 2, INTERSECT = 4,
  COLLINEAR = 8, COINCIDENT = 16, OVERLAP = 32, TOUCH = 64,
  ADJOINT = 128, COPLANAR = 256
}

Functions

float smallest (float a, float b)
 -----------------------------global utility functions--------------
float largest (float a, float b)
double smallest (double a, double b)
double largest (double a, double b)
float smallest (float a, double b)
float largest (float a, double b)
float smallest (double a, float b)
float largest (double a, float b)
float clamp (float v, float min, float max)
float clampMin (float x, float min)
float clampMax (float x, float max)
float sgn (float v)
float toRadians (float degrees)
float toDegrees (float radians)
float distance (const Vec2 &v1, const Vec2 &v2)
float distance (const Vec3 &v1, const Vec3 &v2)
float distance (const Vec4 &v1, const Vec4 &v2)
float distance2 (const Vec2 &v1, const Vec2 &v2)
float distance2 (const Vec3 &v1, const Vec3 &v2)
float distance2 (const Vec4 &v1, const Vec4 &v2)
float length (const Vec2 &v)
float length (const Vec3 &v)
float length (const Vec4 &v)
float length2 (const Vec2 &v)
float length2 (const Vec3 &v)
float length2 (const Vec4 &v)
Vec2 normalize (const Vec2 &v)
Vec3 normalize (const Vec3 &v)
Vec4 normalize (const Vec4 &v)
float dot (const Vec2 &v1, const Vec2 &v2)
float dot (const Vec3 &v1, const Vec3 &v2)
float dot (const Vec4 &v1, const Vec4 &v2)
float cross (const Vec2 &v1, const Vec2 &v2)
Vec3 cross (const Vec3 &v1, const Vec3 &v2)
float mix (float f1, float f2, float f)
Vec2 mix (const Vec2 &v1, const Vec2 &v2, float f)
Vec3 mix (const Vec3 &v1, const Vec3 &v2, float f)
Vec4 mix (const Vec4 &v1, const Vec4 &v2, float f)
Mat2 mix (const Mat2 &m1, const Mat2 &m2, float f)
Mat3 mix (const Mat3 &m1, const Mat3 &m2, float f)
Mat4 mix (const Mat4 &m1, const Mat4 &m2, float f)
Vec2 operator* (float s, const Vec2 &v)
Vec3 operator* (float s, const Vec3 &v)
Vec4 operator* (float s, const Vec4 &v)
istream & operator>> (istream &s, Vec2 &v)
 extraction operators
istream & operator>> (istream &s, Vec3 &v)
istream & operator>> (istream &s, Vec4 &v)
istream & operator>> (istream &s, Quat &v)
istream & operator>> (istream &s, Mat2 &v)
istream & operator>> (istream &s, Mat3 &v)
istream & operator>> (istream &s, Mat4 &v)
ostream & operator<< (ostream &s, const Vec2 &v)
 insertion operators
ostream & operator<< (ostream &s, const Vec3 &v)
ostream & operator<< (ostream &s, const Vec4 &v)
ostream & operator<< (ostream &s, const Quat &v)
ostream & operator<< (ostream &s, const Mat2 &v)
ostream & operator<< (ostream &s, const Mat3 &v)
ostream & operator<< (ostream &s, const Mat4 &v)
template<typename T >
void swapValues (T &a, T &b)
const StringListgetArguments (void)
void initialize (int argc, char **argv)
void initialize (const StringList &arguments)
void initializeGL (void)
bool isInitialized (void)
bool isGLInitialized (void)
void addSearchRoot (string dir)
void addSearchDir (string dir)
string findFile (string name, bool verbose)
void erase (const string &subString, string &fromThis)
void replace (string &context, const string &from, const string &to)
void cmyk_rgb (const Vec4 &cmyk, Vec3 &rgb)
void rgb_cmyk (const Vec3 &rgb, Vec4 &cmyk)
void rgb_hsl (const Vec3 &rgb, Vec3 &hsl)
 Ken Fishkin, Pixar Inc., January 1989.
void hsl_rgb (const Vec3 &hsl, Vec3 &rgb)
void solidSphere (GLfloat radius, GLint slices, GLint stacks)
 stubbed if GLuQuadric is not defined
void wireSphere (GLfloat radius, GLint slices, GLint stacks)
void solidCone (GLfloat base, GLfloat height, GLint slices, GLint stacks)
void wireCone (GLfloat base, GLfloat height, GLint slices, GLint stacks)
void solidCylinder (GLfloat base, GLfloat top, GLfloat height, GLint slices, GLint stacks)
void wireCylinder (GLfloat base, GLfloat top, GLfloat height, GLint slices, GLint stacks)
void drawBox (GLfloat size, GLenum type)
void drawAxes ()
void solidCube (GLfloat size)
void wireCube (GLfloat size)
bool unique (const Vec3List &list, const Vec3 &p, float epsilon)
bool unique (const Vec2List &list, const Vec2 &p, float epsilon)
float rnd (float minimum, float maximum)
bool pointOnPoint (const Vec2 &p1, const Vec2 &p2, float epsilon)
bool pointOnLine (const Vec2 &p1, const Vec2 &p2, const Vec2 &p, float epsilon)
float distanceToLine (const Vec2 &p1, const Vec2 &p2, const Vec2 &p)
float distanceToLinesegment (const Vec2 &p1, const Vec2 &p2, const Vec2 &p)
bool pointOnLinesegment (const Vec2 &p1, const Vec2 &p2, const Vec2 &p, float epsilon)
IntersectionMask intersect (const Vec2 &p1, const Vec2 &p2, const Vec2 &p3, const Vec2 &p4, Vec2 &poi, float epsilon)
IntersectionMask intersect (const Plane &plane, const Mat4 &planeWorld, const Vec3 &worldP1, const Vec3 &worldP2, Vec3List &results, float epsilon)
IntersectionMask intersect (const Plane &p, const Mat4 &planeWorld, const Rendernode &node, const Mat4 &nodeWorld, Vec3List &results, float epsilon=0.00001f)
 the following intersection functions use GLenum
bool sortLowestY (const Vec3 &a, const Vec3 &b)
bool convexHull (const Vec2List &points, Vec2List &results)
bool convexHull (const Vec3List &points, const Vec3 &normal, Vec3List &results, vector< int > &indices)
float getAngle (const Vec2List &list, unsigned int atIndex)
GLint glGetTexParameteri (GLenum target, GLenum pname)
GLint glGetInteger (GLenum which)
GLvoid * glGetPointer (GLenum which)
GLuint glGetEnum (GLenum which)
GLfloat glGetFloat (GLenum which)
GLboolean glGetBoolean (GLenum which)
void getGLVersion (int *major, int *minor)
void getGLSLVersion (int *major, int *minor)
istream & operator>> (istream &s, PropertyContainerPtr v)
 TODO: implement me.
istream & operator>> (istream &s, NAABB &v)
istream & operator>> (istream &s, AABB &v)
ostream & operator<< (ostream &s, const PropertyContainerPtr vc)
ostream & operator<< (ostream &s, const NAABB &vc)
ostream & operator<< (ostream &s, const AABB &vc)
const char * basename (const char *fullPath)
bool basename (string fullName, string &path, string &basename)
Vec3 closestPoint (int type, Vec3 &size, Mat4 &trans, Vec3 &p)
Vec2 spherePointToCubeUV (Vec3 &sphere, int *plane)
ostream & operator<< (ostream &s, const GLbooleanStruct &g)
istream & operator>> (istream &s, GLbooleanStruct &v)
ostream & operator<< (ostream &s, const BooleanStruct &g)
istream & operator>> (istream &s, BooleanStruct &v)
ostream & operator<< (ostream &s, const GLenumStruct &g)
EnumListoperator<< (EnumList &v, const GLenum &e)
template<class T >
const string getTypeName (const T &t, bool ofComponent=false)
template<typename T >
int findIndex (const vector< T > &v, string name)
template<typename T >
findPointer (const vector< T > &v, string name)
template<class T >
bool isInteger (const T &t)
template<class T >
bool isUnsigned (const T &t)
template<class T >
bool isReal (const T &t)
template<class T >
bool isBoolean (const T &t)
template<class T >
bool isMatrix (const T &t)
template<class T >
unsigned int getNumComponents (const T &t)
template<class T >
unsigned int getMatrixSize (const T &t)
template<class T >
bool isMultiComponent (const T &t)
EnumList getIntersectionMaskEnums (void)
ostream & operator<< (ostream &s, const IntersectionMaskStruct &v)
istream & operator>> (istream &s, IntersectionMaskStruct &v)
Vec3 closestPoint (int type, const Vec3 &size, const Mat4 &trans, const Vec3 &p)
Vec2 spherePointToCubeUV (const Vec3 &sphere, const int *plane)
vector< string > split (const string &str, char delim)
template<class T >
string toString (T t)
template<class T >
string toString (const T *t)
string toString (const string &t)
template<>
string toString (char t)
template<>
string toString (unsigned char t)
template<>
string toString (short t)
template<>
string toString (unsigned short t)
template<>
string toString (int t)
template<>
string toString (unsigned int t)
template<>
string toString (float t)
template<>
string toString (double t)
template<typename T >
istream & operator>> (istream &s, vector< T > &v)
template<typename T >
istream & operator>> (istream &s, vector< T * > &v)
template<typename T >
ostream & operator<< (ostream &s, const vector< T > &v)
template<typename T >
ostream & operator<< (ostream &s, const vector< T * > &v)
string trim (const string &src, string c=" \r\n\t")
const string cleanup (const string &src)
void split (const string fullname, string &className, string &subName)
template<class T >
string getGLTypeName ()
template<class T >
string getGLValue (T t)
template<>
string getGLValue (GLenum t)
template<>
string getGLValue (GLboolean t)
istream & operator>> (istream &s, GLenumStruct &v)
EnumList getCamModeEnums (void)
EnumList getCamTypeEnums (void)
ostream & operator<< (ostream &s, const CamTypeStruct &v)
istream & operator>> (istream &s, CamTypeStruct &v)
ostream & operator<< (ostream &s, const CamModeStruct &v)
istream & operator>> (istream &s, CamModeStruct &v)
EnumList getRenderbufferTypeEnums (void)
ostream & operator<< (ostream &s, const BufferTypeStruct &v)
istream & operator>> (istream &s, BufferTypeStruct &v)
void bindUniforms (const string name, const string value, int element=-1)
EnumList getInterpolationTypeEnums (void)
ostream & operator<< (ostream &s, const InterpolationTypeStruct &v)
istream & operator>> (istream &s, InterpolationTypeStruct &v)
EnumList getEllipsoidTypeEnums (void)
ostream & operator<< (ostream &s, const EllipsoidTypeStruct &v)
istream & operator>> (istream &s, EllipsoidTypeStruct &v)
EnumList getRenderComponentsEnums (void)
ostream & operator<< (ostream &s, const RenderComponentMaskStruct &v)
istream & operator>> (istream &s, RenderComponentMaskStruct &v)
ostream & operator<< (ostream &s, const ShadowProxy::ProxyType &v)
istream & operator>> (istream &s, ShadowProxy::ProxyType &v)
EnumList getStateComponentsEnums (void)
ostream & operator<< (ostream &s, const StateComponentMaskStruct &v)
istream & operator>> (istream &s, StateComponentMaskStruct &v)
ostream & operator<< (ostream &s, Stateset &set)
void ____forced_public_symbol ()
ostream & operator<< (ostream &os, const AbstractProperty &rhs)
const istream & operator>> (const istream &is, AbstractProperty &rhs)
ostream & operator<< (ostream &os, const AbstractPropertyContainer &rhs)
const istream & operator>> (const istream &is, AbstractPropertyContainer &rhs)
template<typename T >
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, T &value, const EnumList enums, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
template<typename T >
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, T &value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, string *value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, const char *value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, const string *value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, string &value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, const string &value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, string value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
template<typename T >
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, T *value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
template<typename T >
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, vector< T > *value, AbstractProperty::SemanticMask semantic=AbstractProperty::NONE)
template<typename T >
PropertyPtr createProperty (AbstractPropertyContainer *owner, const string name, shared_ptr< T > *pointer)
template<class T >
shared_ptr< PropertyProxy< T > > createProperty (shared_ptr< PropertyProxyContainer< T > > &owner, string name)
template<class T >
ostream & operator<< (ostream &os, const shared_ptr< PropertyProxy< T > > rhs)
template<class T >
const istream & operator>> (const istream &is, shared_ptr< PropertyProxy< T > > rhs)
template<class T >
ostream & operator<< (ostream &os, const PropertyProxyContainer< T > *rhs)
template<class T >
const istream & operator>> (const istream &is, PropertyProxyContainer< T > *rhs)

Variables

bool s_initialized = false
bool s_initializedGL = false
StringList s_arguments
float ___________________forced_public_symbol = 0.0
vector< string > s_rootDirs
vector< string > s_subDirs
string s_lastSuccessfulPrefix = ""


Detailed Description

Program is used for the matrix stack.

TODO propertylist to APPLE plist.

FIXME lekt als een zeef !

needs cleanup !

Rendernode needs Program and Stateset.

for the PropertyProxy<T> templates

types need to have the ostream << and istream >> operators implemented, need to have an equality operator need to have a default constructor


Typedef Documentation

Definition at line 306 of file Util.h.

Definition at line 340 of file Types.h.

Definition at line 339 of file Types.h.

Definition at line 416 of file Types.h.

Definition at line 313 of file Types.h.

Definition at line 363 of file Types.h.

Definition at line 389 of file Types.h.

Definition at line 260 of file Types.h.

Definition at line 337 of file Types.h.

Definition at line 287 of file Types.h.

Definition at line 418 of file Types.h.

Definition at line 436 of file Types.h.

Definition at line 293 of file Types.h.

Definition at line 341 of file Types.h.

Definition at line 48 of file PropertyProxyContainer.h.

Definition at line 57 of file PropertyProxyContainer.h.

Definition at line 394 of file Types.h.

Definition at line 367 of file Types.h.

typedef shared_ptr< Camera > RenderTools::CameraPtr

Definition at line 234 of file Types.h.

Definition at line 317 of file Types.h.

typedef weak_ptr< Camera > RenderTools::CameraWeakPtr

Definition at line 262 of file Types.h.

Definition at line 419 of file Types.h.

Definition at line 437 of file Types.h.

Definition at line 295 of file Types.h.

Definition at line 344 of file Types.h.

Definition at line 397 of file Types.h.

Definition at line 370 of file Types.h.

typedef shared_ptr< Circle > RenderTools::CirclePtr

Definition at line 239 of file Types.h.

Definition at line 319 of file Types.h.

typedef weak_ptr< Circle > RenderTools::CircleWeakPtr

Definition at line 265 of file Types.h.

typedef vector< CurvePtr > RenderTools::CurveList

Definition at line 294 of file Types.h.

Definition at line 343 of file Types.h.

Definition at line 396 of file Types.h.

typedef shared_ptr< CurveProxy > RenderTools::CurveProxyPtr

Definition at line 369 of file Types.h.

typedef shared_ptr< AbstractCurve > RenderTools::CurvePtr

Definition at line 238 of file Types.h.

Definition at line 318 of file Types.h.

Definition at line 264 of file Types.h.

Definition at line 432 of file Types.h.

Definition at line 450 of file Types.h.

Definition at line 309 of file Types.h.

Definition at line 360 of file Types.h.

Definition at line 413 of file Types.h.

Definition at line 386 of file Types.h.

typedef shared_ptr< Ellipsoid > RenderTools::EllipsoidPtr

Definition at line 255 of file Types.h.

Definition at line 333 of file Types.h.

Definition at line 281 of file Types.h.

typedef vector< string > RenderTools::EnumList

Definition at line 290 of file Types.h.

typedef vector< ErrorPtr > RenderTools::ErrorList

Definition at line 291 of file Types.h.

Definition at line 342 of file Types.h.

Definition at line 395 of file Types.h.

typedef shared_ptr< ErrorProxy > RenderTools::ErrorProxyPtr

Definition at line 368 of file Types.h.

typedef shared_ptr< Error > RenderTools::ErrorPtr

Definition at line 237 of file Types.h.

Definition at line 315 of file Types.h.

typedef weak_ptr< Error > RenderTools::ErrorWeakPtr

Definition at line 263 of file Types.h.

Definition at line 8 of file Factory.h.

Definition at line 422 of file Types.h.

Definition at line 440 of file Types.h.

Definition at line 298 of file Types.h.

Definition at line 353 of file Types.h.

Definition at line 52 of file PropertyProxyContainer.h.

Definition at line 60 of file PropertyProxyContainer.h.

Definition at line 406 of file Types.h.

Definition at line 379 of file Types.h.

Definition at line 248 of file Types.h.

Definition at line 322 of file Types.h.

Definition at line 274 of file Types.h.

Definition at line 420 of file Types.h.

Definition at line 438 of file Types.h.

typedef vector< ImagePtr > RenderTools::ImageList

Definition at line 296 of file Types.h.

Definition at line 345 of file Types.h.

Definition at line 398 of file Types.h.

typedef shared_ptr< ImageProxy > RenderTools::ImageProxyPtr

Definition at line 371 of file Types.h.

typedef shared_ptr< Image > RenderTools::ImagePtr

Definition at line 240 of file Types.h.

Definition at line 320 of file Types.h.

typedef weak_ptr< Image > RenderTools::ImageWeakPtr

Definition at line 266 of file Types.h.

typedef unsigned int RenderTools::IntersectionMask

Definition at line 467 of file Util.h.

typedef vector<Mat2> RenderTools::Mat2List

Definition at line 39 of file Matrix.h.

Definition at line 32 of file Matrix.h.

typedef vector<Mat3> RenderTools::Mat3List

Definition at line 40 of file Matrix.h.

Definition at line 33 of file Matrix.h.

typedef vector<Mat4> RenderTools::Mat4List

Definition at line 41 of file Matrix.h.

Definition at line 34 of file Matrix.h.

Definition at line 269 of file Util.h.

Definition at line 357 of file Types.h.

Definition at line 410 of file Types.h.

Definition at line 383 of file Types.h.

Definition at line 252 of file Types.h.

Definition at line 278 of file Types.h.

Definition at line 430 of file Types.h.

Definition at line 448 of file Types.h.

typedef vector< PlanePtr > RenderTools::PlaneList

Definition at line 307 of file Types.h.

Definition at line 358 of file Types.h.

Definition at line 411 of file Types.h.

typedef shared_ptr< PlaneProxy > RenderTools::PlaneProxyPtr

Definition at line 384 of file Types.h.

typedef shared_ptr< Plane > RenderTools::PlanePtr

Definition at line 253 of file Types.h.

Definition at line 331 of file Types.h.

typedef weak_ptr< Plane > RenderTools::PlaneWeakPtr

Definition at line 279 of file Types.h.

Definition at line 469 of file Types.h.

Definition at line 472 of file Types.h.

Definition at line 463 of file Types.h.

Definition at line 455 of file Types.h.

Definition at line 67 of file PropertyProxyContainer.h.

Definition at line 464 of file Types.h.

Definition at line 459 of file Types.h.

Definition at line 68 of file PropertyProxyContainer.h.

typedef shared_ptr< Program > RenderTools::ProgramPtr

Definition at line 457 of file Types.h.

Definition at line 466 of file Types.h.

typedef weak_ptr< Program > RenderTools::ProgramWeakPtr

Definition at line 461 of file Types.h.

Definition at line 392 of file Types.h.

Definition at line 366 of file Types.h.

Definition at line 258 of file Types.h.

Definition at line 284 of file Types.h.

Definition at line 292 of file Types.h.

Definition at line 391 of file Types.h.

Definition at line 365 of file Types.h.

Definition at line 257 of file Types.h.

Definition at line 316 of file Types.h.

Definition at line 283 of file Types.h.

Definition at line 431 of file Types.h.

Definition at line 449 of file Types.h.

Definition at line 308 of file Types.h.

Definition at line 359 of file Types.h.

Definition at line 412 of file Types.h.

Definition at line 385 of file Types.h.

typedef shared_ptr< Quadric > RenderTools::QuadricPtr

Definition at line 254 of file Types.h.

Definition at line 332 of file Types.h.

typedef weak_ptr< Quadric > RenderTools::QuadricWeakPtr

Definition at line 280 of file Types.h.

Definition at line 195 of file Util.h.

Definition at line 425 of file Types.h.

Definition at line 443 of file Types.h.

Definition at line 301 of file Types.h.

Definition at line 348 of file Types.h.

Definition at line 401 of file Types.h.

Definition at line 374 of file Types.h.

Definition at line 243 of file Types.h.

Definition at line 325 of file Types.h.

Definition at line 269 of file Types.h.

Definition at line 423 of file Types.h.

Definition at line 441 of file Types.h.

Definition at line 299 of file Types.h.

Definition at line 354 of file Types.h.

Definition at line 53 of file PropertyProxyContainer.h.

Definition at line 61 of file PropertyProxyContainer.h.

Definition at line 407 of file Types.h.

Definition at line 380 of file Types.h.

Definition at line 249 of file Types.h.

Definition at line 323 of file Types.h.

Definition at line 275 of file Types.h.

Definition at line 426 of file Types.h.

Definition at line 444 of file Types.h.

typedef shared_ptr< RendergroupGLView > RenderTools::RendergroupGLViewPtr

Definition at line 32 of file RendergroupGLView.h.

Definition at line 303 of file Types.h.

Definition at line 351 of file Types.h.

Definition at line 404 of file Types.h.

Definition at line 377 of file Types.h.

Definition at line 246 of file Types.h.

Definition at line 327 of file Types.h.

Definition at line 272 of file Types.h.

Definition at line 424 of file Types.h.

Definition at line 442 of file Types.h.

Definition at line 300 of file Types.h.

Definition at line 347 of file Types.h.

Definition at line 51 of file PropertyProxyContainer.h.

Definition at line 63 of file PropertyProxyContainer.h.

Definition at line 400 of file Types.h.

Definition at line 373 of file Types.h.

typedef shared_ptr< Rendernode > RenderTools::RendernodePtr

Definition at line 242 of file Types.h.

Definition at line 324 of file Types.h.

Definition at line 268 of file Types.h.

Definition at line 427 of file Types.h.

Definition at line 445 of file Types.h.

Definition at line 304 of file Types.h.

Definition at line 352 of file Types.h.

Definition at line 55 of file PropertyProxyContainer.h.

Definition at line 64 of file PropertyProxyContainer.h.

Definition at line 405 of file Types.h.

Definition at line 378 of file Types.h.

typedef shared_ptr< Renderpass > RenderTools::RenderpassPtr

Definition at line 247 of file Types.h.

Definition at line 328 of file Types.h.

Definition at line 273 of file Types.h.

Definition at line 429 of file Types.h.

Definition at line 447 of file Types.h.

Definition at line 306 of file Types.h.

Definition at line 356 of file Types.h.

Definition at line 50 of file PropertyProxyContainer.h.

Definition at line 59 of file PropertyProxyContainer.h.

Definition at line 409 of file Types.h.

Definition at line 382 of file Types.h.

typedef shared_ptr< Sampler > RenderTools::SamplerPtr

Definition at line 251 of file Types.h.

Definition at line 330 of file Types.h.

typedef weak_ptr< Sampler > RenderTools::SamplerWeakPtr

Definition at line 277 of file Types.h.

Definition at line 471 of file Types.h.

Definition at line 474 of file Types.h.

Definition at line 465 of file Types.h.

Definition at line 460 of file Types.h.

Definition at line 467 of file Types.h.

Definition at line 462 of file Types.h.

Definition at line 428 of file Types.h.

Definition at line 446 of file Types.h.

Definition at line 305 of file Types.h.

Definition at line 355 of file Types.h.

Definition at line 49 of file PropertyProxyContainer.h.

Definition at line 58 of file PropertyProxyContainer.h.

Definition at line 408 of file Types.h.

Definition at line 381 of file Types.h.

typedef shared_ptr< Stateset > RenderTools::StatesetPtr

Definition at line 250 of file Types.h.

Definition at line 329 of file Types.h.

Definition at line 276 of file Types.h.

typedef vector< string > RenderTools::StringList

Definition at line 289 of file Types.h.

Definition at line 421 of file Types.h.

Definition at line 439 of file Types.h.

Definition at line 297 of file Types.h.

Definition at line 346 of file Types.h.

Definition at line 399 of file Types.h.

Definition at line 372 of file Types.h.

typedef shared_ptr< TextNode > RenderTools::TextNodePtr

Definition at line 241 of file Types.h.

Definition at line 321 of file Types.h.

Definition at line 267 of file Types.h.

typedef unsigned long RenderTools::TouchIndex

Definition at line 10 of file TouchPoint.h.

Definition at line 302 of file Types.h.

Definition at line 349 of file Types.h.

Definition at line 402 of file Types.h.

Definition at line 375 of file Types.h.

Definition at line 244 of file Types.h.

Definition at line 326 of file Types.h.

Definition at line 270 of file Types.h.

Definition at line 470 of file Types.h.

Definition at line 473 of file Types.h.

typedef vector<Vec2> RenderTools::Vec2List

Definition at line 36 of file Matrix.h.

Definition at line 27 of file Matrix.h.

typedef vector<Vec3> RenderTools::Vec3List

Definition at line 37 of file Matrix.h.

Definition at line 30 of file Matrix.h.

typedef vector<Vec4> RenderTools::Vec4List

Definition at line 38 of file Matrix.h.

Definition at line 31 of file Matrix.h.

Definition at line 433 of file Types.h.

Definition at line 451 of file Types.h.

Definition at line 310 of file Types.h.

Definition at line 361 of file Types.h.

Definition at line 54 of file PropertyProxyContainer.h.

Definition at line 62 of file PropertyProxyContainer.h.

Definition at line 414 of file Types.h.

Definition at line 387 of file Types.h.

Definition at line 256 of file Types.h.

Definition at line 334 of file Types.h.

Definition at line 282 of file Types.h.

Definition at line 434 of file Types.h.

Definition at line 452 of file Types.h.

Definition at line 311 of file Types.h.

Definition at line 362 of file Types.h.

Definition at line 393 of file Types.h.

Definition at line 388 of file Types.h.

Definition at line 259 of file Types.h.

Definition at line 335 of file Types.h.

Definition at line 285 of file Types.h.

Definition at line 312 of file Types.h.

Definition at line 350 of file Types.h.

Definition at line 403 of file Types.h.

Definition at line 376 of file Types.h.

typedef shared_ptr< XMLNode > RenderTools::XMLNodePtr

Definition at line 245 of file Types.h.

Definition at line 336 of file Types.h.

typedef weak_ptr< XMLNode > RenderTools::XMLNodeWeakPtr

Definition at line 271 of file Types.h.


Enumeration Type Documentation

Enumerator:
UNDETERMINED 
DISJOINT 
PARALLEL  segments are separated by a distance that is strictly larger than epsilon
INTERSECT  segments can be disjoint and parallel
COLLINEAR  the point of intersection is strictly within p1->p2 and p3->p4, excluding endpoints
COINCIDENT  segments lie on the same line
OVERLAP  segments are identical ie p1 equals p3 and p2 equals p4 or p1 equals p4 and p2 p4.
TOUCH  p1 or p2 lies strictly within p3->p4, vice versa.
ADJOINT  segments are not overlapping and do not intersect, either endpoint of p1->p2 or p3->p4 lies strictly within the opposite segment
COPLANAR  endpoints touch within epsilon without segments overlapping or intersecting, excludes touch

Definition at line 454 of file Util.h.


Function Documentation

void RenderTools::____forced_public_symbol (  ) 

Definition at line 451 of file Profiler.cpp.

void RenderTools::addSearchDir ( string  dir  ) 

make sure its a clean name with forward slashes and trailing slash

Definition at line 36 of file Util.cpp.

void RenderTools::addSearchRoot ( string  dir  ) 

make sure its a clean name with forward and trailing slashes

Definition at line 25 of file Util.cpp.

bool RenderTools::basename ( string  fullName,
string &  path,
string &  basename 
)

Definition at line 1426 of file Util.cpp.

const char * RenderTools::basename ( const char *  fullPath  ) 

Definition at line 1413 of file Util.cpp.

void RenderTools::bindUniforms ( const string  name,
const string  value,
int  element = -1 
) [inline]

Definition at line 213 of file Rendergroup.h.

float RenderTools::clamp ( float  v,
float  min,
float  max 
)

Definition at line 48 of file Matrix.cpp.

float RenderTools::clampMax ( float  x,
float  max 
)

Definition at line 62 of file Matrix.cpp.

float RenderTools::clampMin ( float  x,
float  min 
)

Definition at line 58 of file Matrix.cpp.

const string RenderTools::cleanup ( const string &  src  )  [inline]

Definition at line 741 of file Util.h.

Vec3 RenderTools::closestPoint ( int  type,
const Vec3 &  size,
const Mat4 &  trans,
const Vec3 &  p 
)

Vec3 RenderTools::closestPoint ( int  type,
Vec3 &  size,
Mat4 &  trans,
Vec3 &  p 
)

Definition at line 1441 of file Util.cpp.

void RenderTools::cmyk_rgb ( const Vec4 &  cmyk,
Vec3 &  rgb 
)

Definition at line 168 of file Util.cpp.

bool RenderTools::convexHull ( const Vec3List &  points,
const Vec3 &  normal,
Vec3List &  results,
vector< int > &  indices 
)

Definition at line 1161 of file Util.cpp.

bool RenderTools::convexHull ( const Vec2List &  points,
Vec2List &  results 
)

Definition at line 1035 of file Util.cpp.

template<class T >
shared_ptr< PropertyProxy< T > > RenderTools::createProperty ( shared_ptr< PropertyProxyContainer< T > > &  owner,
string  name 
) [inline]

Definition at line 137 of file Property.h.

template<typename T >
PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
shared_ptr< T > *  pointer 
) [inline]

Definition at line 124 of file Property.h.

template<typename T >
PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
vector< T > *  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 109 of file Property.h.

template<typename T >
PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
T *  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 94 of file Property.h.

PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
string  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 87 of file Property.h.

PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
const string &  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 83 of file Property.h.

PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
string &  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 79 of file Property.h.

PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
const string *  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 75 of file Property.h.

PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
const char *  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 63 of file Property.h.

PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
string *  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 49 of file Property.h.

template<typename T >
PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
T &  value,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 35 of file Property.h.

template<typename T >
PropertyPtr RenderTools::createProperty ( AbstractPropertyContainer *  owner,
const string  name,
T &  value,
const EnumList  enums,
AbstractProperty::SemanticMask  semantic = AbstractProperty::NONE 
) [inline]

Definition at line 19 of file Property.h.

Vec3 RenderTools::cross ( const Vec3 &  v1,
const Vec3 &  v2 
)

Definition at line 154 of file Matrix.cpp.

float RenderTools::cross ( const Vec2 &  v1,
const Vec2 &  v2 
)

Definition at line 150 of file Matrix.cpp.

float RenderTools::distance ( const Vec4 &  v1,
const Vec4 &  v2 
)

Definition at line 86 of file Matrix.cpp.

float RenderTools::distance ( const Vec3 &  v1,
const Vec3 &  v2 
)

Definition at line 82 of file Matrix.cpp.

float RenderTools::distance ( const Vec2 &  v1,
const Vec2 &  v2 
)

Definition at line 78 of file Matrix.cpp.

float RenderTools::distance2 ( const Vec4 &  v1,
const Vec4 &  v2 
)

Definition at line 98 of file Matrix.cpp.

float RenderTools::distance2 ( const Vec3 &  v1,
const Vec3 &  v2 
)

Definition at line 94 of file Matrix.cpp.

float RenderTools::distance2 ( const Vec2 &  v1,
const Vec2 &  v2 
)

Definition at line 90 of file Matrix.cpp.

float RenderTools::distanceToLine ( const Vec2 &  p1,
const Vec2 &  p2,
const Vec2 &  p 
)

Definition at line 560 of file Util.cpp.

float RenderTools::distanceToLinesegment ( const Vec2 &  p1,
const Vec2 &  p2,
const Vec2 &  p 
)

Definition at line 567 of file Util.cpp.

float RenderTools::dot ( const Vec4 &  v1,
const Vec4 &  v2 
)

Definition at line 146 of file Matrix.cpp.

float RenderTools::dot ( const Vec3 &  v1,
const Vec3 &  v2 
)

Definition at line 142 of file Matrix.cpp.

float RenderTools::dot ( const Vec2 &  v1,
const Vec2 &  v2 
)

Definition at line 138 of file Matrix.cpp.

void RenderTools::drawAxes (  ) 

Definition at line 497 of file Util.cpp.

void RenderTools::drawBox ( GLfloat  size,
GLenum  type 
)

Definition at line 454 of file Util.cpp.

void RenderTools::erase ( const string &  subString,
string &  fromThis 
)

Definition at line 112 of file Util.cpp.

string RenderTools::findFile ( string  name,
bool  verbose 
)

maybe we can stat it directly, that'd be real quick

maybe the last prefix is good for this file too

otherwise we do a full search, and make sure we use forward slashes ONLY

for efficiency we search the subdirs of the rootdirs

first, we only use the rootdir

second, we add the rsrc prefix

last, we add the subdir prefix

make the complete name

stat it, see if it exists (direcories are OK too)

keep this prefix for the next time to avoid (hopefully) a full search

silently return an empty string if we didnt find the requested file so that the caller may decide if it's an error or not..

Definition at line 47 of file Util.cpp.

template<typename T >
int RenderTools::findIndex ( const vector< T > &  v,
string  name 
) [inline]

Definition at line 314 of file Util.h.

template<typename T >
T RenderTools::findPointer ( const vector< T > &  v,
string  name 
) [inline]

Definition at line 324 of file Util.h.

float RenderTools::getAngle ( const Vec2List &  list,
unsigned int  atIndex 
)

Definition at line 1280 of file Util.cpp.

const StringList & RenderTools::getArguments ( void   ) 

Definition at line 8 of file RenderTools.cpp.

EnumList RenderTools::getCamModeEnums ( void   )  [inline]

Definition at line 131 of file Camera.h.

EnumList RenderTools::getCamTypeEnums ( void   )  [inline]

Definition at line 143 of file Camera.h.

EnumList RenderTools::getEllipsoidTypeEnums ( void   )  [inline]

Definition at line 72 of file Ellipsoid.h.

void RenderTools::getGLSLVersion ( int *  major,
int *  minor 
)

Definition at line 1344 of file Util.cpp.

template<class T >
string RenderTools::getGLTypeName (  )  [inline]

Definition at line 760 of file Util.h.

template<>
string RenderTools::getGLValue ( GLboolean  t  )  [inline]

Definition at line 785 of file Util.h.

template<>
string RenderTools::getGLValue ( GLenum  t  )  [inline]

Definition at line 779 of file Util.h.

template<class T >
string RenderTools::getGLValue ( t  )  [inline]

Definition at line 773 of file Util.h.

void RenderTools::getGLVersion ( int *  major,
int *  minor 
)

Definition at line 1337 of file Util.cpp.

EnumList RenderTools::getInterpolationTypeEnums ( void   )  [inline]

Definition at line 43 of file AbstractCurve.h.

EnumList RenderTools::getIntersectionMaskEnums ( void   )  [inline]

Definition at line 481 of file Util.h.

template<class T >
unsigned int RenderTools::getMatrixSize ( const T &  t  )  [inline]

Definition at line 427 of file Util.h.

template<class T >
unsigned int RenderTools::getNumComponents ( const T &  t  )  [inline]

Definition at line 411 of file Util.h.

EnumList RenderTools::getRenderbufferTypeEnums ( void   )  [inline]

Definition at line 71 of file Renderbuffer.h.

EnumList RenderTools::getRenderComponentsEnums ( void   )  [inline]

Definition at line 93 of file Rendernode.h.

EnumList RenderTools::getStateComponentsEnums ( void   )  [inline]

Definition at line 322 of file Stateset.h.

template<class T >
const string RenderTools::getTypeName ( const T &  t,
bool  ofComponent = false 
) [inline]

Definition at line 107 of file Util.h.

GLboolean RenderTools::glGetBoolean ( GLenum  which  ) 

Definition at line 1323 of file Util.cpp.

GLuint RenderTools::glGetEnum ( GLenum  which  ) 

Definition at line 1311 of file Util.cpp.

GLfloat RenderTools::glGetFloat ( GLenum  which  ) 

Definition at line 1317 of file Util.cpp.

GLint RenderTools::glGetInteger ( GLenum  which  ) 

Definition at line 1295 of file Util.cpp.

GLvoid * RenderTools::glGetPointer ( GLenum  which  ) 

Definition at line 1301 of file Util.cpp.

GLint RenderTools::glGetTexParameteri ( GLenum  target,
GLenum  pname 
)

Definition at line 1289 of file Util.cpp.

void RenderTools::hsl_rgb ( const Vec3 &  hsl,
Vec3 &  rgb 
)

Definition at line 228 of file Util.cpp.

void RenderTools::initialize ( const StringList &  arguments  ) 

if the first character is a slash (unix) or the second is a ':' (windows)

if the first argument starts with a slash or is a drive letter followed by ':' we separate the full path in the appname and rootdir in the expression above if this fails for some reason, we keep looking for arguments that set the path explicitly

check the other arguments

in lowercase

set the root directory explicitly

set the application name explicitly

append a slash to the rootDir name

find the current working directory to search in

make it into a string and append a slash

register all the RenderTools classes by default

under ES|1.0 we don't have programs

initialize Bullet and Box2D if they're there

the PROJECTION and MODELVIEW matrices are set to identity

Definition at line 86 of file RenderTools.cpp.

void RenderTools::initialize ( int  argc,
char **  argv 
)

Definition at line 78 of file RenderTools.cpp.

void RenderTools::initializeGL ( void   ) 

Definition at line 217 of file RenderTools.cpp.

IntersectionMask RenderTools::intersect ( const Plane &  plane,
const Mat4 &  planeGlobal,
const Rendernode &  node,
const Mat4 &  nodeGlobal,
Vec3List &  results,
float  epsilon 
)

the following intersection functions use GLenum

TODO: FIXME

Definition at line 882 of file Util.cpp.

IntersectionMask RenderTools::intersect ( const Plane &  plane,
const Mat4 &  planeWorld,
const Vec3 &  worldP1,
const Vec3 &  worldP2,
Vec3List &  results,
float  epsilon 
)

Definition at line 849 of file Util.cpp.

IntersectionMask RenderTools::intersect ( const Vec2 &  p1,
const Vec2 &  p2,
const Vec2 &  p3,
const Vec2 &  p4,
Vec2 &  poi,
float  epsilon 
)

intersect returns the relation between two segments as a combination of the following:

DISJOINT: segments are separated by a distance that is strictly larger than epsilon PARALLEL: segments can be disjoint and parallel INTERSECT: the point of intersection is strictly within p1->p2 and p3->p4, excluding endpoints COLLINEAR: segments lie on the same line COINCIDENT: segments are identical ie p1 equals p3 and p2 equals p4 or p1 equals p4 and p2 p4. OVERLAP: p1 or p2 lies strictly within p3->p4, vice versa. TOUCH: segments are not overlapping and do not intersect, either endpoint of p1->p2 or p3->p4 lies strictly within the opposite segment ADJOINT: endpoints touch within epsilon without segments overlapping or intersecting, excludes touching

the following combinations may be returned

DISJOINT DISJOINT PARALLEL DISJOINT PARALLEL COLLINEAR

PARALLEL COLLINEAR ADJOINT PARALLEL COLLINEAR OVERLAP PARALLEL COLLINEAR TOUCH PARALLEL COLLINEAR COINCIDENT OVERLAP

INTERSECT TOUCH ADJOINT

first test for coincidence

see if the segments are identical

see if the first segment is infinitesimal

see if the second segment is infinitesimal

we only return a touch and overlap if endpoints matter

following Paul Bourke at http://local.wasp.uwa.edu.au/~pbourke/geometry/lineline2d/

if the denominator for the equations for ua and ub is 0 then the two lines are parallel.

set the mask

if both ua and ub are 0, the segments are COLLINEAR

the final result can be DISJOINT and COLLINEAR and PARALLEL

if either length is 0.0, something went wrong

normalize

project p3 and p4 onto edge p1->p2

project p1 and p2 onto edge p3->p4

test for overlapping regions

p1 lies strictly within p3->p4

p2 lies strictly within p3->p4

p3 lies strictly within p1->p2

p4 lies strictly within p1->p2

p4->p3|p1->p2

p1->p2|p3->p4

p3->p4|p1->p2

p1->p2|p4->p3

store the result in any other case

if ua and ub lie strictly within <0.0, 1.0> we call INTERSECT

if either endpoints touch, we're adjoint

epsilon is in 'world' units, so we need to scale up au and ub

endpoints may also exactly touch the linesegment (within tolerance)

Definition at line 630 of file Util.cpp.

template<class T >
bool RenderTools::isBoolean ( const T &  t  )  [inline]

Definition at line 384 of file Util.h.

bool RenderTools::isGLInitialized ( void   ) 

Definition at line 233 of file RenderTools.cpp.

bool RenderTools::isInitialized ( void   ) 

Definition at line 229 of file RenderTools.cpp.

template<class T >
bool RenderTools::isInteger ( const T &  t  )  [inline]

Definition at line 334 of file Util.h.

template<class T >
bool RenderTools::isMatrix ( const T &  t  )  [inline]

Definition at line 399 of file Util.h.

template<class T >
bool RenderTools::isMultiComponent ( const T &  t  )  [inline]

Definition at line 439 of file Util.h.

template<class T >
bool RenderTools::isReal ( const T &  t  )  [inline]

Definition at line 366 of file Util.h.

template<class T >
bool RenderTools::isUnsigned ( const T &  t  )  [inline]

Definition at line 352 of file Util.h.

float RenderTools::largest ( double  a,
float  b 
)

Definition at line 44 of file Matrix.cpp.

float RenderTools::largest ( float  a,
double  b 
)

Definition at line 36 of file Matrix.cpp.

double RenderTools::largest ( double  a,
double  b 
)

Definition at line 28 of file Matrix.cpp.

float RenderTools::largest ( float  a,
float  b 
)

Definition at line 20 of file Matrix.cpp.

float RenderTools::length ( const Vec4 &  v  ) 

Definition at line 110 of file Matrix.cpp.

float RenderTools::length ( const Vec3 &  v  ) 

Definition at line 106 of file Matrix.cpp.

float RenderTools::length ( const Vec2 &  v  ) 

Definition at line 102 of file Matrix.cpp.

float RenderTools::length2 ( const Vec4 &  v  ) 

Definition at line 122 of file Matrix.cpp.

float RenderTools::length2 ( const Vec3 &  v  ) 

Definition at line 118 of file Matrix.cpp.

float RenderTools::length2 ( const Vec2 &  v  ) 

Definition at line 114 of file Matrix.cpp.

Mat4 RenderTools::mix ( const Mat4 &  m1,
const Mat4 &  m2,
float  f 
)

Definition at line 192 of file Matrix.cpp.

Mat3 RenderTools::mix ( const Mat3 &  m1,
const Mat3 &  m2,
float  f 
)

Definition at line 183 of file Matrix.cpp.

Mat2 RenderTools::mix ( const Mat2 &  m1,
const Mat2 &  m2,
float  f 
)

Definition at line 174 of file Matrix.cpp.

Vec4 RenderTools::mix ( const Vec4 &  v1,
const Vec4 &  v2,
float  f 
)

Definition at line 170 of file Matrix.cpp.

Vec3 RenderTools::mix ( const Vec3 &  v1,
const Vec3 &  v2,
float  f 
)

Definition at line 166 of file Matrix.cpp.

Vec2 RenderTools::mix ( const Vec2 &  v1,
const Vec2 &  v2,
float  f 
)

Definition at line 162 of file Matrix.cpp.

float RenderTools::mix ( float  f1,
float  f2,
float  f 
)

Definition at line 158 of file Matrix.cpp.

Vec4 RenderTools::normalize ( const Vec4 &  v  ) 

Definition at line 134 of file Matrix.cpp.

Vec3 RenderTools::normalize ( const Vec3 &  v  ) 

Definition at line 130 of file Matrix.cpp.

Vec2 RenderTools::normalize ( const Vec2 &  v  ) 

Definition at line 126 of file Matrix.cpp.

Vec4 RenderTools::operator* ( float  s,
const Vec4 &  v 
)

Definition at line 209 of file Matrix.cpp.

Vec3 RenderTools::operator* ( float  s,
const Vec3 &  v 
)

Definition at line 205 of file Matrix.cpp.

Vec2 RenderTools::operator* ( float  s,
const Vec2 &  v 
)

Definition at line 201 of file Matrix.cpp.

template<class T >
ostream& RenderTools::operator<< ( ostream &  os,
const PropertyProxyContainer< T > *  rhs 
) [inline]

Definition at line 39 of file PropertyProxyContainer.h.

template<class T >
ostream& RenderTools::operator<< ( ostream &  os,
const shared_ptr< PropertyProxy< T > >  rhs 
) [inline]

Definition at line 67 of file PropertyProxy.h.

ostream& RenderTools::operator<< ( ostream &  os,
const AbstractPropertyContainer &  rhs 
)

Definition at line 422 of file AbstractPropertyContainer.cpp.

ostream& RenderTools::operator<< ( ostream &  os,
const AbstractProperty rhs 
)

Definition at line 373 of file AbstractProperty.cpp.

ostream& RenderTools::operator<< ( ostream &  s,
Stateset &  set 
) [inline]

Definition at line 452 of file Stateset.h.

ostream& RenderTools::operator<< ( ostream &  s,
const StateComponentMaskStruct &  v 
) [inline]

Definition at line 352 of file Stateset.h.

ostream& RenderTools::operator<< ( ostream &  s,
const ShadowProxy::ProxyType &  v 
) [inline]

Definition at line 84 of file ShadowProxy.h.

ostream& RenderTools::operator<< ( ostream &  s,
const RenderComponentMaskStruct &  v 
) [inline]

Definition at line 103 of file Rendernode.h.

ostream& RenderTools::operator<< ( ostream &  s,
const EllipsoidTypeStruct &  v 
) [inline]

Definition at line 102 of file Ellipsoid.h.

ostream& RenderTools::operator<< ( ostream &  s,
const InterpolationTypeStruct &  v 
) [inline]

Definition at line 67 of file AbstractCurve.h.

ostream& RenderTools::operator<< ( ostream &  s,
const BufferTypeStruct &  v 
) [inline]

Definition at line 99 of file Renderbuffer.h.

ostream& RenderTools::operator<< ( ostream &  s,
const CamModeStruct &  v 
) [inline]

Definition at line 215 of file Camera.h.

ostream& RenderTools::operator<< ( ostream &  s,
const CamTypeStruct &  v 
) [inline]

Definition at line 186 of file Camera.h.

template<typename T >
ostream& RenderTools::operator<< ( ostream &  s,
const vector< T * > &  v 
) [inline]

Definition at line 722 of file Util.h.

template<typename T >
ostream& RenderTools::operator<< ( ostream &  s,
const vector< T > &  v 
) [inline]

Definition at line 714 of file Util.h.

ostream& RenderTools::operator<< ( ostream &  s,
const IntersectionMaskStruct &  v 
) [inline]

Definition at line 496 of file Util.h.

EnumList& RenderTools::operator<< ( EnumList &  v,
const GLenum &  e 
) [inline]

Definition at line 99 of file Util.h.

ostream & RenderTools::operator<< ( ostream &  s,
const GLenumStruct &  g 
) [inline]

Definition at line 804 of file Util.h.

ostream& RenderTools::operator<< ( ostream &  s,
const BooleanStruct &  g 
) [inline]

Definition at line 67 of file Util.h.

ostream& RenderTools::operator<< ( ostream &  s,
const GLbooleanStruct &  g 
) [inline]

Definition at line 38 of file Util.h.

ostream & RenderTools::operator<< ( ostream &  s,
const AABB &  vc 
)

Definition at line 1405 of file Util.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const NAABB &  vc 
)

Definition at line 1397 of file Util.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const PropertyContainerPtr  vc 
)

Definition at line 1391 of file Util.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Mat4 &  v 
)

Definition at line 300 of file Matrix.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Mat3 &  v 
)

Definition at line 290 of file Matrix.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Mat2 &  v 
)

Definition at line 281 of file Matrix.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Quat &  v 
)

Definition at line 274 of file Matrix.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Vec4 &  v 
)

Definition at line 267 of file Matrix.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Vec3 &  v 
)

Definition at line 260 of file Matrix.cpp.

ostream & RenderTools::operator<< ( ostream &  s,
const Vec2 &  v 
)

insertion operators

Definition at line 253 of file Matrix.cpp.

template<class T >
const istream& RenderTools::operator>> ( const istream &  is,
PropertyProxyContainer< T > *  rhs 
) [inline]

Definition at line 44 of file PropertyProxyContainer.h.

template<class T >
const istream& RenderTools::operator>> ( const istream &  is,
shared_ptr< PropertyProxy< T > >  rhs 
) [inline]

Definition at line 72 of file PropertyProxy.h.

const istream& RenderTools::operator>> ( const istream &  is,
AbstractPropertyContainer &  rhs 
)

Definition at line 430 of file AbstractPropertyContainer.cpp.

const istream& RenderTools::operator>> ( const istream &  is,
AbstractProperty rhs 
)

Definition at line 377 of file AbstractProperty.cpp.

istream& RenderTools::operator>> ( istream &  s,
StateComponentMaskStruct &  v 
) [inline]

Definition at line 383 of file Stateset.h.

istream& RenderTools::operator>> ( istream &  s,
ShadowProxy::ProxyType &  v 
) [inline]

Definition at line 99 of file ShadowProxy.h.

istream& RenderTools::operator>> ( istream &  s,
RenderComponentMaskStruct &  v 
) [inline]

Definition at line 115 of file Rendernode.h.

istream& RenderTools::operator>> ( istream &  s,
EllipsoidTypeStruct &  v 
) [inline]

Definition at line 129 of file Ellipsoid.h.

istream& RenderTools::operator>> ( istream &  s,
InterpolationTypeStruct &  v 
) [inline]

Definition at line 79 of file AbstractCurve.h.

istream& RenderTools::operator>> ( istream &  s,
BufferTypeStruct &  v 
) [inline]

Definition at line 122 of file Renderbuffer.h.

istream& RenderTools::operator>> ( istream &  s,
CamModeStruct &  v 
) [inline]

Definition at line 245 of file Camera.h.

istream& RenderTools::operator>> ( istream &  s,
CamTypeStruct &  v 
) [inline]

Definition at line 200 of file Camera.h.

istream& RenderTools::operator>> ( istream &  s,
GLenumStruct &  v 
) [inline]

Definition at line 7479 of file Util.h.

template<typename T >
istream& RenderTools::operator>> ( istream &  s,
vector< T * > &  v 
) [inline]

Definition at line 698 of file Util.h.

template<typename T >
istream& RenderTools::operator>> ( istream &  s,
vector< T > &  v 
) [inline]

Definition at line 688 of file Util.h.

istream& RenderTools::operator>> ( istream &  s,
IntersectionMaskStruct &  v 
) [inline]

Definition at line 514 of file Util.h.

istream& RenderTools::operator>> ( istream &  s,
BooleanStruct &  v 
) [inline]

Definition at line 75 of file Util.h.

istream& RenderTools::operator>> ( istream &  s,
GLbooleanStruct &  v 
) [inline]

Definition at line 46 of file Util.h.

istream & RenderTools::operator>> ( istream &  s,
AABB &  v 
)

Definition at line 1384 of file Util.cpp.

istream & RenderTools::operator>> ( istream &  s,
NAABB &  v 
)

Definition at line 1378 of file Util.cpp.

istream & RenderTools::operator>> ( istream &  s,
PropertyContainerPtr  v 
)

TODO: implement me.

Definition at line 1373 of file Util.cpp.

istream & RenderTools::operator>> ( istream &  s,
Mat4 &  v 
)

Definition at line 245 of file Matrix.cpp.

istream & RenderTools::operator>> ( istream &  s,
Mat3 &  v 
)

Definition at line 238 of file Matrix.cpp.

istream & RenderTools::operator>> ( istream &  s,
Mat2 &  v 
)

Definition at line 233 of file Matrix.cpp.

istream & RenderTools::operator>> ( istream &  s,
Quat &  v 
)

Definition at line 228 of file Matrix.cpp.

istream & RenderTools::operator>> ( istream &  s,
Vec4 &  v 
)

Definition at line 223 of file Matrix.cpp.

istream & RenderTools::operator>> ( istream &  s,
Vec3 &  v 
)

Definition at line 218 of file Matrix.cpp.

istream & RenderTools::operator>> ( istream &  s,
Vec2 &  v 
)

extraction operators

Definition at line 213 of file Matrix.cpp.

bool RenderTools::pointOnLine ( const Vec2 &  p1,
const Vec2 &  p2,
const Vec2 &  p,
float  epsilon 
)

Definition at line 553 of file Util.cpp.

bool RenderTools::pointOnLinesegment ( const Vec2 &  p1,
const Vec2 &  p2,
const Vec2 &  p,
float  epsilon 
)

if p within distance epsilon of p1 or p2, return true

project r onto the linesegment

if within p1 and p2, return true

Definition at line 583 of file Util.cpp.

bool RenderTools::pointOnPoint ( const Vec2 &  p1,
const Vec2 &  p2,
float  epsilon 
)

Definition at line 549 of file Util.cpp.

void RenderTools::replace ( string &  context,
const string &  from,
const string &  to 
)

Definition at line 120 of file Util.cpp.

void RenderTools::rgb_cmyk ( const Vec3 &  rgb,
Vec4 &  cmyk 
)

Definition at line 174 of file Util.cpp.

void RenderTools::rgb_hsl ( const Vec3 &  rgb,
Vec3 &  hsl 
)

Ken Fishkin, Pixar Inc., January 1989.

Definition at line 186 of file Util.cpp.

float RenderTools::rnd ( float  minimum,
float  maximum 
)

Definition at line 545 of file Util.cpp.

float RenderTools::sgn ( float  v  ) 

Definition at line 66 of file Matrix.cpp.

float RenderTools::smallest ( double  a,
float  b 
)

Definition at line 40 of file Matrix.cpp.

float RenderTools::smallest ( float  a,
double  b 
)

Definition at line 32 of file Matrix.cpp.

double RenderTools::smallest ( double  a,
double  b 
)

Definition at line 24 of file Matrix.cpp.

float RenderTools::smallest ( float  a,
float  b 
)

-----------------------------global utility functions--------------

Definition at line 16 of file Matrix.cpp.

void RenderTools::solidCone ( GLfloat  base,
GLfloat  height,
GLint  slices,
GLint  stacks 
)

Definition at line 440 of file Util.cpp.

void RenderTools::solidCube ( GLfloat  size  ) 

Definition at line 514 of file Util.cpp.

void RenderTools::solidCylinder ( GLfloat  base,
GLfloat  top,
GLfloat  height,
GLint  slices,
GLint  stacks 
)

Definition at line 446 of file Util.cpp.

void RenderTools::solidSphere ( GLfloat  radius,
GLint  slices,
GLint  stacks 
)

stubbed if GLuQuadric is not defined

Definition at line 434 of file Util.cpp.

bool RenderTools::sortLowestY ( const Vec3 &  a,
const Vec3 &  b 
)

Definition at line 1031 of file Util.cpp.

Vec2 RenderTools::spherePointToCubeUV ( const Vec3 &  sphere,
const int *  plane 
)

Vec2 RenderTools::spherePointToCubeUV ( Vec3 &  sphere,
int *  plane 
)

Definition at line 1475 of file Util.cpp.

void RenderTools::split ( const string  fullname,
string &  className,
string &  subName 
) [inline]

Definition at line 747 of file Util.h.

vector<string> RenderTools::split ( const string &  str,
char  delim 
)

template<typename T >
void RenderTools::swapValues ( T &  a,
T &  b 
) [inline]

Definition at line 44 of file Matrix.h.

float RenderTools::toDegrees ( float  radians  ) 

Definition at line 74 of file Matrix.cpp.

float RenderTools::toRadians ( float  degrees  ) 

Definition at line 70 of file Matrix.cpp.

template<>
string RenderTools::toString ( double  t  )  [inline]

Definition at line 675 of file Util.h.

template<>
string RenderTools::toString ( float  t  )  [inline]

Definition at line 668 of file Util.h.

template<>
string RenderTools::toString ( unsigned int  t  )  [inline]

Definition at line 661 of file Util.h.

template<>
string RenderTools::toString ( int  t  )  [inline]

Definition at line 654 of file Util.h.

template<>
string RenderTools::toString ( unsigned short  t  )  [inline]

Definition at line 647 of file Util.h.

template<>
string RenderTools::toString ( short  t  )  [inline]

Definition at line 640 of file Util.h.

template<>
string RenderTools::toString ( unsigned char  t  )  [inline]

Definition at line 633 of file Util.h.

template<>
string RenderTools::toString ( char  t  )  [inline]

Definition at line 626 of file Util.h.

string RenderTools::toString ( const string &  t  )  [inline]

Definition at line 621 of file Util.h.

template<class T >
string RenderTools::toString ( const T *  t  )  [inline]

Definition at line 615 of file Util.h.

template<class T >
string RenderTools::toString ( t  )  [inline]

Definition at line 608 of file Util.h.

string RenderTools::trim ( const string &  src,
string  c = " \r\n\t" 
) [inline]

Definition at line 729 of file Util.h.

bool RenderTools::unique ( const Vec2List &  list,
const Vec2 &  p,
float  epsilon 
)

Definition at line 536 of file Util.cpp.

bool RenderTools::unique ( const Vec3List &  list,
const Vec3 &  p,
float  epsilon 
)

Definition at line 527 of file Util.cpp.

void RenderTools::wireCone ( GLfloat  base,
GLfloat  height,
GLint  slices,
GLint  stacks 
)

Definition at line 443 of file Util.cpp.

void RenderTools::wireCube ( GLfloat  size  ) 

Definition at line 520 of file Util.cpp.

void RenderTools::wireCylinder ( GLfloat  base,
GLfloat  top,
GLfloat  height,
GLint  slices,
GLint  stacks 
)

Definition at line 449 of file Util.cpp.

void RenderTools::wireSphere ( GLfloat  radius,
GLint  slices,
GLint  stacks 
)

Definition at line 437 of file Util.cpp.


Variable Documentation

Definition at line 5 of file Types.cpp.

Definition at line 7 of file RenderTools.cpp.

Definition at line 5 of file RenderTools.cpp.

Definition at line 6 of file RenderTools.cpp.

Definition at line 23 of file Util.cpp.

vector<string> RenderTools::s_rootDirs

Definition at line 21 of file Util.cpp.

vector<string> RenderTools::s_subDirs

Definition at line 22 of file Util.cpp.


Generated on Wed Jan 26 00:15:36 2011 for RenderTools by  doxygen 1.5.8