HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_MetaPrim Class Referenceabstract

#include <GEO_MetaPrim.h>

+ Inheritance diagram for GEO_MetaPrim:

Public Member Functions

 GEO_MetaPrim ()
 
virtual ~GEO_MetaPrim ()
 
virtual TS_MetaPrimitivegetNewMetaPrim () const =0
 
virtual float density (const UT_Vector3 &pos) const =0
 
virtual void getBBox (UT_BoundingBox &bbox) const =0
 
bool setMetaKernel (const char *type)
 
const char * getMetaKernel () const
 
void setWeight (float w)
 
float getWeight () const
 

Protected Member Functions

bool saveMetaH9 (std::ostream &os, bool binary) const
 
bool loadMetaH9 (UT_IStream &is)
 

Protected Attributes

float weight
 
const TS_MetaKernelkernel
 

Detailed Description

Definition at line 25 of file GEO_MetaPrim.h.

Constructor & Destructor Documentation

GEO_MetaPrim::GEO_MetaPrim ( )
virtual GEO_MetaPrim::~GEO_MetaPrim ( )
inlinevirtual

Definition at line 29 of file GEO_MetaPrim.h.

Member Function Documentation

virtual float GEO_MetaPrim::density ( const UT_Vector3 pos) const
pure virtual

Implemented in GEO_PrimMetaBall, and GEO_PrimMetaSQuad.

virtual void GEO_MetaPrim::getBBox ( UT_BoundingBox bbox) const
pure virtual

Implemented in GEO_PrimMetaBall, and GEO_PrimMetaSQuad.

const char* GEO_MetaPrim::getMetaKernel ( ) const
virtual TS_MetaPrimitive* GEO_MetaPrim::getNewMetaPrim ( ) const
pure virtual

Implemented in GEO_PrimMetaBall, and GEO_PrimMetaSQuad.

float GEO_MetaPrim::getWeight ( ) const
inline

Definition at line 38 of file GEO_MetaPrim.h.

bool GEO_MetaPrim::loadMetaH9 ( UT_IStream is)
protected
bool GEO_MetaPrim::saveMetaH9 ( std::ostream &  os,
bool  binary 
) const
protected
bool GEO_MetaPrim::setMetaKernel ( const char *  type)
void GEO_MetaPrim::setWeight ( float  w)
inline

Definition at line 37 of file GEO_MetaPrim.h.

Member Data Documentation

const TS_MetaKernel* GEO_MetaPrim::kernel
protected

Definition at line 45 of file GEO_MetaPrim.h.

float GEO_MetaPrim::weight
protected

Definition at line 44 of file GEO_MetaPrim.h.


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