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)
 
 ~TS_MetaMin () override
 
void append (const TS_MetaExpressionPtr &arg) overridefinal
 
TS_MetaMinisMin () overridefinal
 
float density (const UT_Vector3 &p) const overridefinal
 
UT_Interval density (const UT_BoundingBox &p) const overridefinal
 
float listDensity (const UT_Vector3 &p, UT_ValArray< TS_MetaPrimitive * > &) overridefinal
 
float grad (const UT_Vector3 &point, UT_Vector3 &grad) const overridefinal
 
float rayDensity (float t) const overridefinal
 
UT_Interval rayDensity (const UT_Interval &t) const overridefinal
 
UT_Interval getBBox (UT_BoundingBox &) const overridefinal
 
TS_MetaExpressionprune (const UT_BoundingBox &, UT_Interval &range) overridefinal
 
TS_MetaExpressionduplicate () const overridefinal
 
int getRibOpcode () const overridefinal
 
TS_SerialOp getOpCode () const overridefinal
 Return the serialization operation. More...
 
- Public Member Functions inherited from TS_MetaOp
 TS_MetaOp (int n)
 
 ~TS_MetaOp () override
 
const TS_ExpressionListgetAllKids () const override
 
int setRay (const TS_Ray &ray) override
 
void raySweepInit (const TS_Ray &ray, float clip, float &t0, float &t1) override
 
void raySweepComplete () override
 
void getAllPrimitives (UT_Array< TS_MetaPrimitive * > &prims) override
 
void setThreadNum (int thread_num) override
 
void reset ()
 
int64 getMemoryUsage (bool inclusive) const override
 Compute memory usage (includes all shared memory) More...
 
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 () 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_IntrusiveRefCounteroperator= (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
 

Additional Inherited Members

- Static Public Member Functions inherited from TS_MetaExpression
static void setupThreads (int num_threads)
 
- 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 *list_start)
 
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)
TS_MetaMin::~TS_MetaMin ( )
override

Member Function Documentation

void TS_MetaMin::append ( const TS_MetaExpressionPtr arg)
finaloverridevirtual

Reimplemented from TS_MetaOp.

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

Implements TS_MetaExpression.

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

Implements TS_MetaExpression.

TS_MetaExpression* TS_MetaMin::duplicate ( ) const
finaloverridevirtual

Implements TS_MetaExpression.

UT_Interval TS_MetaMin::getBBox ( UT_BoundingBox ) const
finaloverridevirtual

Implements TS_MetaExpression.

TS_SerialOp TS_MetaMin::getOpCode ( ) const
inlinefinaloverridevirtual

Return the serialization operation.

Reimplemented from TS_MetaExpression.

Definition at line 328 of file TS_Expression.h.

int TS_MetaMin::getRibOpcode ( ) const
inlinefinaloverridevirtual

Reimplemented from TS_MetaExpression.

Definition at line 327 of file TS_Expression.h.

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

Implements TS_MetaExpression.

TS_MetaMin* TS_MetaMin::isMin ( )
finaloverridevirtual

Reimplemented from TS_MetaExpression.

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

Implements TS_MetaExpression.

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

Implements TS_MetaExpression.

float TS_MetaMin::rayDensity ( float  t) const
finaloverridevirtual

Implements TS_MetaExpression.

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: