Logo Search packages:      
Sourcecode: blender version File versions  Download package

ntlGeometryObjModel Class Reference

#include <ntl_geometrymodel.h>

Inheritance diagram for ntlGeometryObjModel:

List of all members.


Detailed Description

A simple box object generatedd by 12 triangles

Definition at line 15 of file ntl_geometrymodel.h.


Public Member Functions

void applyTransformation (double t, vector< ntlVec3Gfx > *verts, vector< ntlVec3Gfx > *norms, int vstart, int vend, int forceTrafo)
virtual void calcTriangleDivs (vector< ntlVec3Gfx > &verts, vector< ntlTriangle > &tris, gfxReal fsTri)
ntlVec3Gfx calculateMaxVel (double t1, double t2)
bool checkIsAnimated ()
virtual void drawDebugDisplay ()
virtual void drawInteractiveDisplay ()
AttributeListgetAttributeList ()
virtual ntlVec3Gfx * getBBEnd ()
virtual ntlVec3Gfx * getBBStart ()
int getCastShadows () const
AnimChannel< float > getCpsAttrFRad () const
AnimChannel< float > getCpsAttrFStr () const
float getCpsQuality () const
float getCpsTimeEnd () const
float getCpsTimeStart () const
AnimChannel< float > getCpsVelFRad () const
AnimChannel< float > getCpsVelFStr () const
ntlVec3Gfx getEnd (void)
void getExtends (ntlVec3Gfx &start, ntlVec3Gfx &end)
float getGeoActive (double t)
float getGeoImpactFactor (double t)
int getGeoInitId () const
bool getGeoInitIntersect () const
int getGeoInitType () const
float getGeoPartSlipValue () const
ntlVec3Gfx getInitialVelocity (double t)
bool getIsAnimated () const
bool getLoaded (void)
bool getLocalCoordInivel () const
ntlMaterialgetMaterial (void)
string getMaterialName (void)
virtual bool getMeshAnimated ()
void getMovingPoints (vector< ntlVec3Gfx > &ret, vector< ntlVec3Gfx > *norms=NULL)
string getName (void)
int getObjectId () const
int getReceiveShadows () const
ntlVec3Gfx getStart (void)
AttributeListgetSwsAttributeList ()
ntlVec3Gfx getTranslation (double t)
virtual void getTriangles (double t, vector< ntlTriangle > *triangles, vector< ntlVec3Gfx > *vertices, vector< ntlVec3Gfx > *normals, int objectId)
virtual int getTypeId ()
 Return type id.
int getVisible () const
int getVolumeInit () const
void initChannels (int nTrans, float *trans, int nRot, float *rot, int nScale, float *scale, int nAct, float *act, int nIvel, float *ivel, int nAttrFStr, float *attrFStr, int nAttrFRad, float *attrFRad, int nVelFStr, float *velFStr, int nVelFRad, float *velFRad)
virtual void initialize (ntlRenderGlobals *glob)
int initModel (int numVertices, float *vertices, int numTriangles, int *triangles, int channelSize, float *channelVertices)
void initMovingPoints (double time, gfxReal featureSize)
void initMovingPointsAnim (double srctime, vector< ntlVec3Gfx > &srcpoints, double dsttime, vector< ntlVec3Gfx > &dstpoints, vector< ntlVec3Gfx > *dstnormals, gfxReal featureSize, ntlVec3Gfx geostart, ntlVec3Gfx geoend)
int loadBobjModel (string filename)
virtual void notifyOfDump (int dumptype, int frameNr, char *frameNrStr, string outfilename, double simtime)
void sceneAddTriangle (ntlVec3Gfx p1, ntlVec3Gfx p2, ntlVec3Gfx p3, ntlVec3Gfx pn1, ntlVec3Gfx pn2, ntlVec3Gfx pn3, ntlVec3Gfx trin, bool smooth, vector< ntlTriangle > *triangles, vector< ntlVec3Gfx > *vertices, vector< ntlVec3Gfx > *vertNormals)
void sceneAddTriangleNoVert (int *trips, ntlVec3Gfx trin, bool smooth, vector< ntlTriangle > *triangles)
void searchMaterial (vector< ntlMaterial * > *mat)
void setAttributeList (AttributeList *set)
void setCastShadows (int set)
void setCpsQuality (float set)
void setCpsTimeEnd (float set)
void setCpsTimeStart (float set)
void setEnd (const ntlVec3Gfx &set)
void setFilename (string set)
void setGeoImpactFactor (float set)
void setGeoInitId (int set)
void setGeoInitIntersect (bool set)
void setGeoInitType (int set)
void setGeoPartSlipValue (float set)
void setInitialVelocity (ntlVec3Gfx set)
void setLoaded (bool set)
void setLocalCoordInivel (bool set)
void setMaterial (ntlMaterial *p)
void setMaterialName (string set)
virtual void setMouseClick ()
virtual void setMousePos (int, int, ntlVec3Gfx, ntlVec3Gfx)
void setName (string set)
void setObjectId (int set)
void setReceiveShadows (int set)
void setStart (const ntlVec3Gfx &set)
void setSwsAttributeList (AttributeList *set)
void setVisible (int set)
void setVolumeInit (int set)

Protected Attributes

vector< ntlVec3Gfx > mCachedMovNormals
vector< ntlVec3Gfx > mCachedMovPoints
int mCastShadows
AnimChannel< float > mcAttrFRad
AnimChannel< float > mcAttrFStr
AnimChannel< float > mcGeoActive
AnimChannel< float > mcGeoImpactFactor
AnimChannel< ntlVec3Gfx > mcInitialVelocity
float mCpsQuality
float mCpsTimeEnd
float mCpsTimeStart
AnimChannel< ntlVec3Gfx > mcRot
AnimChannel< ntlVec3Gfx > mcScale
AnimChannel< ntlVec3Gfx > mcTrans
AnimChannel< float > mcVelFRad
AnimChannel< float > mcVelFStr
int mGeoInitId
bool mGeoInitIntersect
int mGeoInitType
float mGeoPartSlipValue
bool mHaveCachedMov
ntlVec3Gfx mInitialPos
ntlVec3Gfx mInitialVelocity
bool mIsAnimated
bool mIsInitialized
bool mLocalCoordInivel
string mMaterialName
int mMaxMovPnt
vector< ntlVec3Gfx > mMovNormals
float mMovPntsInited
vector< ntlVec3Gfx > mMovPoints
string mName
int mObjectId
AttributeListmpAttrs
ntlMaterialmpMaterial
AttributeListmpSwsAttrs
int mReceiveShadows
vector< int > mTriangleDivs1
vector< int > mTriangleDivs2
vector< int > mTriangleDivs3
int mVisible
int mVolumeInit

Private Attributes

double mAniTimeOffset
double mAniTimeScale
AnimChannel< ntlSetVec3f > mcAniNorms
AnimChannel< double > mcAniTimes
AnimChannel< ntlSetVec3f > mcAniVerts
string mFilename
bool mLoaded
vector< ntlVec3Gfx > mNormals
vector< int > mTriangles
ntlVec3Gfx mvEnd
vector< ntlVec3Gfx > mVertices
ntlVec3Gfx mvStart

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

Generated by  Doxygen 1.6.0   Back to index