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

#include <TS_SuperQuad.h>

+ Inheritance diagram for TS_MetaSuperQuadric:

Public Member Functions

 TS_MetaSuperQuadric ()
 
 TS_MetaSuperQuadric (const TS_MetaSuperQuadric *)
 
virtual ~TS_MetaSuperQuadric ()
 
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 &)
 
virtual TS_MetaExpressionduplicate () const
 
void setXYexp (float arg)
 
float getXYexp () const
 
void setZexp (float arg)
 
float getZexp () 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 20 of file TS_SuperQuad.h.

Constructor & Destructor Documentation

TS_MetaSuperQuadric::TS_MetaSuperQuadric ( )
TS_MetaSuperQuadric::TS_MetaSuperQuadric ( const TS_MetaSuperQuadric )
virtual TS_MetaSuperQuadric::~TS_MetaSuperQuadric ( )
virtual

Member Function Documentation

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

Implements TS_MetaExpression.

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

Implements TS_MetaExpression.

virtual TS_MetaExpression* TS_MetaSuperQuadric::duplicate ( ) const
virtual

Implements TS_MetaExpression.

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

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

Implements TS_MetaPrimitive.

float TS_MetaSuperQuadric::getXYexp ( ) const
float TS_MetaSuperQuadric::getZexp ( ) const
virtual float TS_MetaSuperQuadric::grad ( const UT_Vector3 point,
UT_Vector3 grad 
) const
virtual

Implements TS_MetaExpression.

virtual void TS_MetaSuperQuadric::init ( )
virtual

Implements TS_MetaPrimitive.

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

Implements TS_MetaExpression.

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

Implements TS_MetaExpression.

virtual void TS_MetaSuperQuadric::reset ( )
virtual

Reimplemented from TS_MetaPrimitive.

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

Implements TS_MetaExpression.

void TS_MetaSuperQuadric::setXYexp ( float  arg)
void TS_MetaSuperQuadric::setZexp ( float  arg)
virtual void TS_MetaSuperQuadric::transform ( const UT_Matrix4 )
virtual

Implements TS_MetaPrimitive.


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