Blender V2.61 - r43446
Public Member Functions | Protected Attributes

ntlGeometryClass Class Reference

#include <ntl_geometryclass.h>

Inheritance diagram for ntlGeometryClass:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ntlGeometryClass ()
 Default constructor.
virtual ~ntlGeometryClass ()
 Default destructor.
virtual int getTypeId ()=0
 Return type id.
void setName (string set)
string getName (void)
void setVisible (int set)
int getVisible () const
void setAttributeList (AttributeList *set)
AttributeListgetAttributeList ()
void setSwsAttributeList (AttributeList *set)
AttributeListgetSwsAttributeList ()
virtual ntlVec3GfxgetBBStart ()
virtual ntlVec3GfxgetBBEnd ()
void setObjectId (int set)
int getObjectId () const
virtual void drawDebugDisplay ()
virtual void drawInteractiveDisplay ()
virtual void setMousePos (int, int, ntlVec3Gfx, ntlVec3Gfx)
virtual void setMouseClick ()
void setGeoInitId (int set)
int getGeoInitId () const

Protected Attributes

int mVisible
string mName
int mObjectId
AttributeListmpAttrs
AttributeListmpSwsAttrs
int mGeoInitId

Detailed Description

Definition at line 26 of file ntl_geometryclass.h.


Constructor & Destructor Documentation

ntlGeometryClass::ntlGeometryClass ( ) [inline]

Default constructor.

Definition at line 32 of file ntl_geometryclass.h.

References mpAttrs, and mpSwsAttrs.

virtual ntlGeometryClass::~ntlGeometryClass ( ) [inline, virtual]

Default destructor.

Definition at line 41 of file ntl_geometryclass.h.

References mpAttrs, and mpSwsAttrs.


Member Function Documentation

virtual void ntlGeometryClass::drawDebugDisplay ( ) [inline, virtual]

GUI - this function is called for selected objects to display debugging information with OpenGL

Reimplemented in SimulationObject.

Definition at line 79 of file ntl_geometryclass.h.

virtual void ntlGeometryClass::drawInteractiveDisplay ( ) [inline, virtual]

GUI - this function is called for selected objects to display interactive information with OpenGL

Reimplemented in SimulationObject.

Definition at line 81 of file ntl_geometryclass.h.

AttributeList* ntlGeometryClass::getAttributeList ( ) [inline]

Returns the attribute list pointer

Definition at line 64 of file ntl_geometryclass.h.

References mpAttrs.

Referenced by ntlGeometryObjModel::initialize(), ntlGeometryObject::initialize(), and SimulationObject::initializeLbmSimulation().

virtual ntlVec3Gfx* ntlGeometryClass::getBBEnd ( ) [inline, virtual]

Reimplemented in IsoSurface, and SimulationObject.

Definition at line 72 of file ntl_geometryclass.h.

References NULL.

virtual ntlVec3Gfx* ntlGeometryClass::getBBStart ( ) [inline, virtual]

for easy GUI detection get start of axis aligned bounding box, return NULL of no BB

Reimplemented in IsoSurface, and SimulationObject.

Definition at line 71 of file ntl_geometryclass.h.

References NULL.

int ntlGeometryClass::getGeoInitId ( ) const [inline]
string ntlGeometryClass::getName ( void  ) [inline]
int ntlGeometryClass::getObjectId ( ) const [inline]

Definition at line 76 of file ntl_geometryclass.h.

References mObjectId.

Referenced by ntlScene::buildScene().

AttributeList* ntlGeometryClass::getSwsAttributeList ( ) [inline]

Definition at line 68 of file ntl_geometryclass.h.

References mpSwsAttrs.

Referenced by SimulationObject::initializeLbmSimulation().

virtual int ntlGeometryClass::getTypeId ( ) [pure virtual]

Return type id.

Implemented in ntlGeometryObjModel, ntlGeometryObject, and ntlGeometryShader.

int ntlGeometryClass::getVisible ( ) const [inline]
void ntlGeometryClass::setAttributeList ( AttributeList set) [inline]

Sets the attribute list pointer

Definition at line 62 of file ntl_geometryclass.h.

References mpAttrs.

void ntlGeometryClass::setGeoInitId ( int  set) [inline]

Returns the geo init id

Definition at line 88 of file ntl_geometryclass.h.

References mGeoInitId.

Referenced by elbeemAddMesh(), and ControlParticles::initFromMVCMesh().

virtual void ntlGeometryClass::setMouseClick ( ) [inline, virtual]

GUI - notify object that mouse was clicked at last pos

Reimplemented in SimulationObject.

Definition at line 85 of file ntl_geometryclass.h.

virtual void ntlGeometryClass::setMousePos ( int  ,
int  ,
ntlVec3Gfx  ,
ntlVec3Gfx   
) [inline, virtual]

GUI - handle mouse movement for selection

Reimplemented in SimulationObject.

Definition at line 83 of file ntl_geometryclass.h.

void ntlGeometryClass::setName ( string  set) [inline]
void ntlGeometryClass::setObjectId ( int  set) [inline]

Set/get the object id

Definition at line 75 of file ntl_geometryclass.h.

References mObjectId.

Referenced by ntlScene::addGeoClass().

void ntlGeometryClass::setSwsAttributeList ( AttributeList set) [inline]

Get/Sets the attribute list pointer

Definition at line 67 of file ntl_geometryclass.h.

References mpSwsAttrs.

void ntlGeometryClass::setVisible ( int  set) [inline]

Sets the visibility attribute visibility can be determined at shader _and_ object level , hiding a shader means comepletely decativating it

Definition at line 57 of file ntl_geometryclass.h.

References mVisible.

Referenced by LbmFsgrSolver::initializeSolverMemory().


Member Data Documentation

id of fluid init (is used in solver initialization), additional data stored only for objects

Definition at line 110 of file ntl_geometryclass.h.

Referenced by SimulationObject::copyElbeemSettings(), getGeoInitId(), SimulationObject::initGeoTree(), ntlGeometryObject::initialize(), SimulationObject::initializeLbmSimulation(), and setGeoInitId().

string ntlGeometryClass::mName [protected]
int ntlGeometryClass::mObjectId [protected]

sws configuration attributes

Definition at line 106 of file ntl_geometryclass.h.

Referenced by getSwsAttributeList(), ntlGeometryClass(), setSwsAttributeList(), and ~ntlGeometryClass().

int ntlGeometryClass::mVisible [protected]

Object visible on/off

Definition at line 95 of file ntl_geometryclass.h.

Referenced by getVisible(), ntlGeometryObject::initialize(), and setVisible().


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