#include <TS_Primitive.h>

Public Member Functions | |
| TS_MetaPrimitive * | isPrimitive () |
| virtual void | setWeight (float) |
| virtual float | getWeight () const |
| const UT_BoundingBox & | getBBox () const |
| UT_Interval | getBBox (UT_BoundingBox &) const |
| virtual void | setKernel (const TS_MetaKernel &) |
| virtual void | transform (const UT_Matrix4 &)=0 |
| virtual void | raySweepInit (const TS_Ray &ray, float clip, float &t0, float &t1) |
| TS_MetaExpression * | copy () |
| virtual void | init ()=0 |
| virtual void | reset () |
| virtual TS_MetaExpression * | prune (const UT_BoundingBox &, UT_Interval &) |
| void | setGeoPrimPtr (void *g) |
| void * | getGeoPrimPtr () |
| const void * | getGeoPrimPtr () const |
| virtual float | listDensity (const UT_Vector3 &p, UT_PtrArray< TS_MetaPrimitive * > &) |
| virtual void | getAllPrimitives (UT_PtrArray< TS_MetaPrimitive * > &prims) |
Public Attributes | |
| int | rayIndex |
| int | myOctreeRayIndex |
| int | myRenderSerial |
Protected Member Functions | |
| TS_MetaPrimitive () | |
| TS_MetaPrimitive (const TS_MetaPrimitive *) | |
| virtual | ~TS_MetaPrimitive () |
Protected Attributes | |
| float | weight |
| TS_MetaKernel | kernel |
Definition at line 29 of file TS_Primitive.h.
| TS_MetaPrimitive::TS_MetaPrimitive | ( | ) | [protected] |
| TS_MetaPrimitive::TS_MetaPrimitive | ( | const TS_MetaPrimitive * | ) | [protected] |
| virtual TS_MetaPrimitive::~TS_MetaPrimitive | ( | ) | [protected, virtual] |
| TS_MetaExpression* TS_MetaPrimitive::copy | ( | ) | [virtual] |
Implements TS_MetaExpression.
| virtual void TS_MetaPrimitive::getAllPrimitives | ( | UT_PtrArray< TS_MetaPrimitive * > & | prims | ) | [virtual] |
Reimplemented from TS_MetaExpression.
| UT_Interval TS_MetaPrimitive::getBBox | ( | UT_BoundingBox & | ) | const [virtual] |
Implements TS_MetaExpression.
| const UT_BoundingBox& TS_MetaPrimitive::getBBox | ( | ) | const [inline] |
| const void* TS_MetaPrimitive::getGeoPrimPtr | ( | ) | const [inline] |
Definition at line 52 of file TS_Primitive.h.
| void* TS_MetaPrimitive::getGeoPrimPtr | ( | ) | [inline] |
Definition at line 51 of file TS_Primitive.h.
| virtual float TS_MetaPrimitive::getWeight | ( | ) | const [virtual] |
| virtual void TS_MetaPrimitive::init | ( | ) | [pure virtual] |
Implemented in TS_MetaEllipsoid, and TS_MetaSuperQuadric.
| TS_MetaPrimitive* TS_MetaPrimitive::isPrimitive | ( | ) | [virtual] |
Reimplemented from TS_MetaExpression.
| virtual float TS_MetaPrimitive::listDensity | ( | const UT_Vector3 & | p, | |
| UT_PtrArray< TS_MetaPrimitive * > & | ||||
| ) | [virtual] |
Implements TS_MetaExpression.
| virtual TS_MetaExpression* TS_MetaPrimitive::prune | ( | const UT_BoundingBox & | , | |
| UT_Interval & | ||||
| ) | [virtual] |
Implements TS_MetaExpression.
| virtual void TS_MetaPrimitive::raySweepInit | ( | const TS_Ray & | ray, | |
| float | clip, | |||
| float & | t0, | |||
| float & | t1 | |||
| ) | [virtual] |
Implements TS_MetaExpression.
| virtual void TS_MetaPrimitive::reset | ( | ) | [virtual] |
Reimplemented in TS_MetaEllipsoid, and TS_MetaSuperQuadric.
| void TS_MetaPrimitive::setGeoPrimPtr | ( | void * | g | ) | [inline] |
Definition at line 50 of file TS_Primitive.h.
| virtual void TS_MetaPrimitive::setKernel | ( | const TS_MetaKernel & | ) | [virtual] |
| virtual void TS_MetaPrimitive::setWeight | ( | float | ) | [virtual] |
| virtual void TS_MetaPrimitive::transform | ( | const UT_Matrix4 & | ) | [pure virtual] |
Implemented in TS_MetaEllipsoid, and TS_MetaSuperQuadric.
TS_MetaKernel TS_MetaPrimitive::kernel [protected] |
Definition at line 67 of file TS_Primitive.h.
Definition at line 61 of file TS_Primitive.h.
Definition at line 57 of file TS_Primitive.h.
float TS_MetaPrimitive::weight [protected] |
Definition at line 66 of file TS_Primitive.h.
1.5.9