HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TS_MetaMin Class Reference

#include <TS_Expression.h>

+ Inheritance diagram for TS_MetaMin:

Public Member Functions

 TS_MetaMin (int n=0)
 
virtual ~TS_MetaMin ()
 
virtual void append (const TS_MetaExpressionPtr &arg) overridefinal
 
virtual TS_MetaMinisMin () overridefinal
 
virtual float density (const UT_Vector3 &p) const overridefinal
 
virtual UT_Interval density (const UT_BoundingBox &p) const overridefinal
 
virtual float listDensity (const UT_Vector3 &p, UT_ValArray< TS_MetaPrimitive * > &) overridefinal
 
virtual float grad (const UT_Vector3 &point, UT_Vector3 &grad) const overridefinal
 
virtual float rayDensity (float t) const overridefinal
 
virtual UT_Interval rayDensity (const UT_Interval &t) const overridefinal
 
virtual UT_Interval getBBox (UT_BoundingBox &) const overridefinal
 
virtual TS_MetaExpressionprune (const UT_BoundingBox &, UT_Interval &range) overridefinal
 
virtual TS_MetaExpressionduplicate () const overridefinal
 
virtual int getRibOpcode () const overridefinal
 
virtual TS_SerialOp getOpCode () const overridefinal
 Return the serialization operation. More...
 
- Public Member Functions inherited from TS_MetaOp
 TS_MetaOp (int n)
 
virtual ~TS_MetaOp ()
 
virtual const TS_ExpressionListgetAllKids () const override
 
virtual int setRay (const TS_Ray &ray) override
 
virtual void raySweepInit (const TS_Ray &ray, float clip, float &t0, float &t1) override
 
virtual void raySweepComplete () override
 
virtual void getAllPrimitives (UT_Array< TS_MetaPrimitive * > &prims) override
 
virtual void setThreadNum (int threadNum) override
 
void reset ()
 
virtual int64 getMemoryUsage (bool inclusive) const override
 Compute memory usage (includes all shared memory) More...
 
virtual void countMemory (UT_MemoryCounter &counter, bool inclusive) const override
 
void initSweepList (const TS_Ray &ray)
 
- Public Member Functions inherited from TS_MetaExpression
 TS_MetaExpression ()
 
virtual ~TS_MetaExpression ()
 
virtual const TS_MetaPrimitiveisPrimitive () const
 
virtual TS_MetaPrimitiveisPrimitive ()
 
virtual TS_MetaSumisSum ()
 
virtual TS_MetaMaxisMax ()
 
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_BoundingBoxgetBBox () const
 
virtual TS_SweepNodeallocSweepNode (const TS_Ray &ray)
 
const TS_ExpressionListgetCellPrimitives (const UT_Vector3 &pos)
 
TS_OctreegetOctree ()
 
void setOctreeIndex (int idx)
 
int getOctreeIndex () const
 
int getThreadNum () const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< TS_MetaExpression >
SYS_FORCE_INLINE UT_IntrusiveRefCounter ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TS_MetaExpression
static void setupThreads (int numThreads)
 
- Public Attributes inherited from TS_MetaOp
TS_ExpressionList myArray
 
TS_SweepNodemyActive
 
TS_SweepNodemyQueue
 
- Public Attributes inherited from TS_MetaExpression
int myThreadNum
 
- Protected Member Functions inherited from TS_MetaOp
void freeList (ts_PrimNode *listStart)
 
void clearAndDestroy ()
 
- Protected Member Functions inherited from TS_MetaExpression
void clearOctree ()
 
virtual void buildOctree ()
 
- Protected Member Functions inherited from UT_IntrusiveRefCounter< TS_MetaExpression >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 
- Protected Attributes inherited from TS_MetaExpression
TS_OctreemyOctree
 
UT_BoundingBox myBBox
 
int myRayIndex
 
int myOctreeRayIndex
 

Detailed Description

Definition at line 302 of file TS_Expression.h.

Constructor & Destructor Documentation

TS_MetaMin::TS_MetaMin ( int  n = 0)
virtual TS_MetaMin::~TS_MetaMin ( )
virtual

Member Function Documentation

virtual void TS_MetaMin::append ( const TS_MetaExpressionPtr arg)
finaloverridevirtual

Reimplemented from TS_MetaOp.

virtual float TS_MetaMin::density ( const UT_Vector3 p) const
finaloverridevirtual

Implements TS_MetaExpression.

virtual UT_Interval TS_MetaMin::density ( const UT_BoundingBox p) const
finaloverridevirtual

Implements TS_MetaExpression.

virtual TS_MetaExpression* TS_MetaMin::duplicate ( ) const
finaloverridevirtual

Implements TS_MetaExpression.

virtual UT_Interval TS_MetaMin::getBBox ( UT_BoundingBox ) const
finaloverridevirtual

Implements TS_MetaExpression.

virtual TS_SerialOp TS_MetaMin::getOpCode ( ) const
inlinefinaloverridevirtual

Return the serialization operation.

Reimplemented from TS_MetaExpression.

Definition at line 327 of file TS_Expression.h.

virtual int TS_MetaMin::getRibOpcode ( ) const
inlinefinaloverridevirtual

Reimplemented from TS_MetaExpression.

Definition at line 326 of file TS_Expression.h.

virtual float TS_MetaMin::grad ( const UT_Vector3 point,
UT_Vector3 grad 
) const
finaloverridevirtual

Implements TS_MetaExpression.

virtual TS_MetaMin* TS_MetaMin::isMin ( )
finaloverridevirtual

Reimplemented from TS_MetaExpression.

virtual float TS_MetaMin::listDensity ( const UT_Vector3 p,
UT_ValArray< TS_MetaPrimitive * > &   
)
finaloverridevirtual

Implements TS_MetaExpression.

virtual TS_MetaExpression* TS_MetaMin::prune ( const UT_BoundingBox ,
UT_Interval range 
)
finaloverridevirtual

Implements TS_MetaExpression.

virtual float TS_MetaMin::rayDensity ( float  t) const
finaloverridevirtual

Implements TS_MetaExpression.

virtual UT_Interval TS_MetaMin::rayDensity ( const UT_Interval t) const
finaloverridevirtual

Implements TS_MetaExpression.


The documentation for this class was generated from the following file: