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

#include <TS_Ellipsoid.h>

+ Inheritance diagram for TS_MetaEllipsoid:

Public Member Functions

 TS_MetaEllipsoid ()
 
 TS_MetaEllipsoid (const TS_MetaEllipsoid *)
 
 ~TS_MetaEllipsoid () override
 
float density (const UT_Vector3 &p) const override
 
UT_Interval density (const UT_BoundingBox &p) const override
 
float grad (const UT_Vector3 &point, UT_Vector3 &grad) const override
 
int setRay (const TS_Ray &ray) override
 
float rayDensity (float t) const override
 
UT_Interval rayDensity (const UT_Interval &t) const override
 
void transform (const UT_Matrix4 &) override
 
void getQuadricMatrix4 (UT_Matrix4 &m) const
 
TS_MetaExpressionduplicate () const override
 
void init () override
 
void reset () override
 
int64 getMemoryUsage (bool inclusive) const override
 
- Public Member Functions inherited from TS_MetaPrimitive
 ~TS_MetaPrimitive () override
 
const TS_MetaPrimitiveisPrimitive () const override
 
TS_MetaPrimitiveisPrimitive () override
 
virtual void setWeight (float)
 
virtual float getWeight () const
 
const UT_BoundingBoxgetBBox () const
 
UT_Interval getBBox (UT_BoundingBox &) const override
 
virtual void setKernel (const TS_MetaKernel &)
 
void raySweepInit (const TS_Ray &ray, float clip, float &t0, float &t1) override
 
TS_MetaExpressionprune (const UT_BoundingBox &, UT_Interval &) override
 
void setGeoPrimPtr (const GEO_Primitive *g)
 
const GEO_PrimitivegetGeoPrimPtr () const
 
float listDensity (const UT_Vector3 &p, UT_ValArray< TS_MetaPrimitive * > &) override
 
void getAllPrimitives (UT_Array< TS_MetaPrimitive * > &prims) override
 
- Public Member Functions inherited from TS_MetaExpression
 TS_MetaExpression ()
 
virtual ~TS_MetaExpression ()
 
virtual TS_MetaSumisSum ()
 
virtual TS_MetaMinisMin ()
 
virtual TS_MetaMaxisMax ()
 
virtual void raySweepComplete ()
 
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)
 
virtual const TS_ExpressionListgetAllKids () const
 
const TS_ExpressionListgetCellPrimitives (const UT_Vector3 &pos)
 
TS_OctreegetOctree ()
 
void setOctreeIndex (int idx)
 
int getOctreeIndex () const
 
virtual int getRibOpcode () const
 
virtual TS_SerialOp getOpCode () const
 Return the serialization operation. More...
 
int getThreadNum () const
 
virtual void setThreadNum (int thread_num)
 
virtual void countMemory (UT_MemoryCounter &counter, bool inclusive) 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_MetaPrimitive
int myRayIndex
 
int myOctreeRayIndex
 
int myRenderSerial
 
- Public Attributes inherited from TS_MetaExpression
int myThreadNum
 
- Protected Member Functions inherited from TS_MetaPrimitive
 TS_MetaPrimitive ()
 
 TS_MetaPrimitive (const TS_MetaPrimitive *)
 
- 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_MetaPrimitive
float myWeight
 
TS_MetaKernel myKernel
 
- Protected Attributes inherited from TS_MetaExpression
TS_OctreemyOctree
 
UT_BoundingBox myBBox
 
int myRayIndex
 
int myOctreeRayIndex
 

Detailed Description

Definition at line 19 of file TS_Ellipsoid.h.

Constructor & Destructor Documentation

TS_MetaEllipsoid::TS_MetaEllipsoid ( )
TS_MetaEllipsoid::TS_MetaEllipsoid ( const TS_MetaEllipsoid )
TS_MetaEllipsoid::~TS_MetaEllipsoid ( )
override

Member Function Documentation

float TS_MetaEllipsoid::density ( const UT_Vector3 p) const
overridevirtual

Implements TS_MetaExpression.

UT_Interval TS_MetaEllipsoid::density ( const UT_BoundingBox p) const
overridevirtual

Implements TS_MetaExpression.

TS_MetaExpression* TS_MetaEllipsoid::duplicate ( ) const
overridevirtual

Implements TS_MetaExpression.

int64 TS_MetaEllipsoid::getMemoryUsage ( bool  inclusive) const
overridevirtual

Compute memory usage (includes all shared memory) NOTE: Must add in TS_MetaExpression::getMemoryUsage(false).

Implements TS_MetaPrimitive.

void TS_MetaEllipsoid::getQuadricMatrix4 ( UT_Matrix4 m) const
float TS_MetaEllipsoid::grad ( const UT_Vector3 point,
UT_Vector3 grad 
) const
overridevirtual

Implements TS_MetaExpression.

void TS_MetaEllipsoid::init ( )
overridevirtual

Implements TS_MetaPrimitive.

float TS_MetaEllipsoid::rayDensity ( float  t) const
overridevirtual

Implements TS_MetaExpression.

UT_Interval TS_MetaEllipsoid::rayDensity ( const UT_Interval t) const
overridevirtual

Implements TS_MetaExpression.

void TS_MetaEllipsoid::reset ( )
overridevirtual

Reimplemented from TS_MetaPrimitive.

int TS_MetaEllipsoid::setRay ( const TS_Ray ray)
overridevirtual

Implements TS_MetaExpression.

void TS_MetaEllipsoid::transform ( const UT_Matrix4 )
overridevirtual

Implements TS_MetaPrimitive.


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