#include <TS_Expression.h>

Public Member Functions | |
| virtual TS_MetaPrimitive * | isPrimitive () |
| virtual TS_MetaSum * | isSum () |
| virtual TS_MetaMin * | isMin () |
| virtual TS_MetaMax * | isMax () |
| virtual float | density (const UT_Vector3 &p) const =0 |
| virtual UT_Interval | density (const UT_BoundingBox &p) const =0 |
| virtual float | listDensity (const UT_Vector3 &p, UT_PtrArray< TS_MetaPrimitive * > &)=0 |
| virtual float | grad (const UT_Vector3 &point, UT_Vector3 &grad) const =0 |
| virtual void | raySweepInit (const TS_Ray &ray, float clip, float &t0, float &t1)=0 |
| virtual void | raySweepComplete () |
| virtual float | rayDensity (float t) const =0 |
| virtual UT_Interval | rayDensity (const UT_Interval &t) const =0 |
| virtual int | rayIntersect (const TS_Ray &ray, const UT_Interval &start, float &result, float tol=-1.0f) |
| virtual int | rayIntersect (const TS_Ray &ray, const UT_Interval &start, UT_FloatArray &result, float tol=-1.0f) |
| const UT_BoundingBox & | getBBox () const |
| virtual UT_Interval | getBBox (UT_BoundingBox &) const =0 |
| virtual TS_MetaExpression * | prune (const UT_BoundingBox &, UT_Interval &range)=0 |
| virtual TS_MetaExpression * | copy ()=0 |
| virtual TS_MetaExpression * | duplicate () const =0 |
| virtual int | setRay (const TS_Ray &ray)=0 |
| virtual TS_SweepNode * | allocSweepNode (const TS_Ray &ray) |
| virtual const TS_ExpressionList * | getAllKids () const |
| const TS_ExpressionList * | getCellPrimitives (const UT_Vector3 &pos) |
| TS_Octree * | getOctree () |
| void | setOctreeIndex (int idx) |
| int | getOctreeIndex () const |
| virtual void | getAllPrimitives (UT_PtrArray< TS_MetaPrimitive * > &prims) |
| virtual int | getRibOpcode () const |
| int | getThreadNum () const |
| virtual void | setThreadNum (int threadNum) |
Static Public Member Functions | |
| static void | setupThreads (int numThreads) |
Public Attributes | |
| int | myThreadNum |
Protected Member Functions | |
| TS_MetaExpression () | |
| virtual | ~TS_MetaExpression () |
| void | clearOctree () |
| virtual void | buildOctree () |
Protected Attributes | |
| TS_Octree * | myOctree |
| UT_BoundingBox | myBBox |
| int | myRayIndex |
| int | myOctreeRayIndex |
Definition at line 65 of file TS_Expression.h.
| TS_MetaExpression::TS_MetaExpression | ( | ) | [protected] |
| virtual TS_MetaExpression::~TS_MetaExpression | ( | ) | [protected, virtual] |
| virtual TS_SweepNode* TS_MetaExpression::allocSweepNode | ( | const TS_Ray & | ray | ) | [virtual] |
| virtual void TS_MetaExpression::buildOctree | ( | ) | [protected, virtual] |
| void TS_MetaExpression::clearOctree | ( | ) | [protected] |
| virtual TS_MetaExpression* TS_MetaExpression::copy | ( | ) | [pure virtual] |
Implemented in TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaPrimitive.
| virtual UT_Interval TS_MetaExpression::density | ( | const UT_BoundingBox & | p | ) | const [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaSuperQuadric.
| virtual float TS_MetaExpression::density | ( | const UT_Vector3 & | p | ) | const [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaSuperQuadric.
| virtual TS_MetaExpression* TS_MetaExpression::duplicate | ( | ) | const [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaSuperQuadric.
| virtual const TS_ExpressionList* TS_MetaExpression::getAllKids | ( | ) | const [virtual] |
Reimplemented in TS_MetaOp.
| virtual void TS_MetaExpression::getAllPrimitives | ( | UT_PtrArray< TS_MetaPrimitive * > & | prims | ) | [inline, virtual] |
| virtual UT_Interval TS_MetaExpression::getBBox | ( | UT_BoundingBox & | ) | const [pure virtual] |
Implemented in TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaPrimitive.
| const UT_BoundingBox& TS_MetaExpression::getBBox | ( | ) | const [inline] |
| const TS_ExpressionList* TS_MetaExpression::getCellPrimitives | ( | const UT_Vector3 & | pos | ) |
| TS_Octree* TS_MetaExpression::getOctree | ( | ) | [inline] |
Definition at line 119 of file TS_Expression.h.
| int TS_MetaExpression::getOctreeIndex | ( | ) | const [inline] |
Definition at line 126 of file TS_Expression.h.
| virtual int TS_MetaExpression::getRibOpcode | ( | ) | const [inline, virtual] |
Reimplemented in TS_MetaSum, TS_MetaMax, and TS_MetaMin.
Definition at line 132 of file TS_Expression.h.
| int TS_MetaExpression::getThreadNum | ( | ) | const [inline] |
Definition at line 135 of file TS_Expression.h.
| virtual float TS_MetaExpression::grad | ( | const UT_Vector3 & | point, | |
| UT_Vector3 & | grad | |||
| ) | const [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaSuperQuadric.
| virtual TS_MetaMax* TS_MetaExpression::isMax | ( | ) | [virtual] |
Reimplemented in TS_MetaMax.
| virtual TS_MetaMin* TS_MetaExpression::isMin | ( | ) | [virtual] |
Reimplemented in TS_MetaMin.
| virtual TS_MetaPrimitive* TS_MetaExpression::isPrimitive | ( | ) | [virtual] |
Reimplemented in TS_MetaPrimitive.
| virtual TS_MetaSum* TS_MetaExpression::isSum | ( | ) | [virtual] |
Reimplemented in TS_MetaSum.
| virtual float TS_MetaExpression::listDensity | ( | const UT_Vector3 & | p, | |
| UT_PtrArray< TS_MetaPrimitive * > & | ||||
| ) | [pure virtual] |
Implemented in TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaPrimitive.
| virtual TS_MetaExpression* TS_MetaExpression::prune | ( | const UT_BoundingBox & | , | |
| UT_Interval & | range | |||
| ) | [pure virtual] |
Implemented in TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaPrimitive.
| virtual UT_Interval TS_MetaExpression::rayDensity | ( | const UT_Interval & | t | ) | const [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaSuperQuadric.
| virtual float TS_MetaExpression::rayDensity | ( | float | t | ) | const [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaSum, TS_MetaMax, TS_MetaMin, and TS_MetaSuperQuadric.
| virtual int TS_MetaExpression::rayIntersect | ( | const TS_Ray & | ray, | |
| const UT_Interval & | start, | |||
| UT_FloatArray & | result, | |||
| float | tol = -1.0f | |||
| ) | [virtual] |
| virtual int TS_MetaExpression::rayIntersect | ( | const TS_Ray & | ray, | |
| const UT_Interval & | start, | |||
| float & | result, | |||
| float | tol = -1.0f | |||
| ) | [virtual] |
| virtual void TS_MetaExpression::raySweepComplete | ( | ) | [virtual] |
Reimplemented in TS_MetaOp.
| virtual void TS_MetaExpression::raySweepInit | ( | const TS_Ray & | ray, | |
| float | clip, | |||
| float & | t0, | |||
| float & | t1 | |||
| ) | [pure virtual] |
Implemented in TS_MetaOp, and TS_MetaPrimitive.
| void TS_MetaExpression::setOctreeIndex | ( | int | idx | ) | [inline] |
Definition at line 125 of file TS_Expression.h.
| virtual int TS_MetaExpression::setRay | ( | const TS_Ray & | ray | ) | [pure virtual] |
Implemented in TS_MetaEllipsoid, TS_MetaOp, and TS_MetaSuperQuadric.
| virtual void TS_MetaExpression::setThreadNum | ( | int | threadNum | ) | [inline, virtual] |
| static void TS_MetaExpression::setupThreads | ( | int | numThreads | ) | [static] |
UT_BoundingBox TS_MetaExpression::myBBox [protected] |
Definition at line 162 of file TS_Expression.h.
TS_Octree* TS_MetaExpression::myOctree [protected] |
Definition at line 160 of file TS_Expression.h.
int TS_MetaExpression::myOctreeRayIndex [protected] |
int TS_MetaExpression::myRayIndex [protected] |
Definition at line 163 of file TS_Expression.h.
Definition at line 151 of file TS_Expression.h.
1.5.9