#include <TS_Expression.h>
|
| TS_MetaExpression () |
|
virtual | ~TS_MetaExpression () |
|
virtual const TS_MetaPrimitive * | isPrimitive () const |
|
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_ValArray< 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 * | 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_Array< TS_MetaPrimitive * > &prims) |
|
virtual int | getRibOpcode () const |
|
virtual TS_SerialOp | getOpCode () const |
| Return the serialization operation. More...
|
|
int | getThreadNum () const |
|
virtual void | setThreadNum (int thread_num) |
|
virtual int64 | getMemoryUsage (bool inclusive) const |
| Compute memory usage (includes all shared memory) More...
|
|
virtual void | countMemory (UT_MemoryCounter &counter, bool inclusive) const |
|
SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More...
|
|
SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More...
|
|
UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More...
|
|
SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More...
|
|
SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
|
Definition at line 76 of file TS_Expression.h.
TS_MetaExpression::TS_MetaExpression |
( |
| ) |
|
virtual TS_MetaExpression::~TS_MetaExpression |
( |
| ) |
|
|
virtual |
virtual void TS_MetaExpression::buildOctree |
( |
| ) |
|
|
protectedvirtual |
void TS_MetaExpression::clearOctree |
( |
| ) |
|
|
protected |
Count memory usage using a UT_MemoryCounter in order to count shared memory correctly. If inclusive is true, the size of this object is counted, else only memory owned by this object is counted. If this is pointed to by the calling object, inclusive should be true. If this is contained in the calling object, inclusive should be false. (Its memory was already counted in the size of the calling object.)
Reimplemented in TS_MetaOp.
virtual int64 TS_MetaExpression::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
virtual |
int TS_MetaExpression::getOctreeIndex |
( |
| ) |
const |
|
inline |
virtual TS_SerialOp TS_MetaExpression::getOpCode |
( |
| ) |
const |
|
inlinevirtual |
virtual int TS_MetaExpression::getRibOpcode |
( |
| ) |
const |
|
inlinevirtual |
int TS_MetaExpression::getThreadNum |
( |
| ) |
const |
|
inline |
virtual float TS_MetaExpression::rayDensity |
( |
float |
t | ) |
const |
|
pure virtual |
virtual void TS_MetaExpression::raySweepComplete |
( |
| ) |
|
|
virtual |
void TS_MetaExpression::setOctreeIndex |
( |
int |
idx | ) |
|
|
inline |
virtual void TS_MetaExpression::setThreadNum |
( |
int |
thread_num | ) |
|
|
inlinevirtual |
static void TS_MetaExpression::setupThreads |
( |
int |
num_threads | ) |
|
|
static |
int TS_MetaExpression::myOctreeRayIndex |
|
protected |
int TS_MetaExpression::myRayIndex |
|
protected |
int TS_MetaExpression::myThreadNum |
The documentation for this class was generated from the following file: