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 *)
 
virtual ~TS_MetaEllipsoid ()
 
virtual float density (const UT_Vector3 &p) const
 
virtual UT_Interval density (const UT_BoundingBox &p) const
 
virtual float grad (const UT_Vector3 &point, UT_Vector3 &grad) const
 
virtual int setRay (const TS_Ray &ray)
 
virtual float rayDensity (float t) const
 
virtual UT_Interval rayDensity (const UT_Interval &t) const
 
virtual void transform (const UT_Matrix4 &)
 
void getQuadricMatrix4 (UT_Matrix4 &m) const
 
virtual TS_MetaExpressionduplicate () const
 
virtual void init ()
 
virtual void reset ()
 
virtual int64 getMemoryUsage (bool inclusive) const
 
- Public Member Functions inherited from TS_MetaPrimitive
virtual ~TS_MetaPrimitive ()
 
const TS_MetaPrimitiveisPrimitive () const
 
TS_MetaPrimitiveisPrimitive ()
 
virtual void setWeight (float)
 
virtual float getWeight () const
 
const UT_BoundingBoxgetBBox () const
 
UT_Interval getBBox (UT_BoundingBox &) const
 
virtual void setKernel (const TS_MetaKernel &)
 
virtual void raySweepInit (const TS_Ray &ray, float clip, float &t0, float &t1)
 
virtual TS_MetaExpressionprune (const UT_BoundingBox &, UT_Interval &)
 
void setGeoPrimPtr (const GEO_Primitive *g)
 
const GEO_PrimitivegetGeoPrimPtr () const
 
virtual float listDensity (const UT_Vector3 &p, UT_ValArray< TS_MetaPrimitive * > &)
 
virtual void getAllPrimitives (UT_Array< TS_MetaPrimitive * > &prims)
 
- 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 threadNum)
 
virtual void countMemory (UT_MemoryCounter &counter, bool inclusive) 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_MetaPrimitive
int rayIndex
 
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 weight
 
TS_MetaKernel kernel
 
- 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 )
virtual TS_MetaEllipsoid::~TS_MetaEllipsoid ( )
virtual

Member Function Documentation

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

Implements TS_MetaExpression.

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

Implements TS_MetaExpression.

virtual TS_MetaExpression* TS_MetaEllipsoid::duplicate ( ) const
virtual

Implements TS_MetaExpression.

virtual int64 TS_MetaEllipsoid::getMemoryUsage ( bool  inclusive) const
virtual

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
virtual float TS_MetaEllipsoid::grad ( const UT_Vector3 point,
UT_Vector3 grad 
) const
virtual

Implements TS_MetaExpression.

virtual void TS_MetaEllipsoid::init ( )
virtual

Implements TS_MetaPrimitive.

virtual float TS_MetaEllipsoid::rayDensity ( float  t) const
virtual

Implements TS_MetaExpression.

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

Implements TS_MetaExpression.

virtual void TS_MetaEllipsoid::reset ( )
virtual

Reimplemented from TS_MetaPrimitive.

virtual int TS_MetaEllipsoid::setRay ( const TS_Ray ray)
virtual

Implements TS_MetaExpression.

virtual void TS_MetaEllipsoid::transform ( const UT_Matrix4 )
virtual

Implements TS_MetaPrimitive.


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