Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RAS_MeshObject Class Reference

#include <RAS_MeshObject.h>

List of all members.

Public Methods

 RAS_MeshObject ()
virtual ~RAS_MeshObject ()
int NumMaterials ()
const CCStringGetMaterialName (int matid)
void AddPolygon (RAS_Polygon* poly)
void UpdateMaterialList ()
int NumPolygons ()
RAS_PolygonGetPolygon (int num)
void Bucketize (double* oglmatrix,void* clientobj)
void RemoveFromBuckets (double* oglmatrix,void* clientobj)
void MarkVisible (double* oglmatrix,void* clientobj,bool visible)
void DebugColor (unsigned int abgr)
void SchedulePolygons (int drawingmode,class RAS_IRasterizer* rasty)
void ClearArrayData ()
RAS_TexVertGetVertex (short array,short index,RAS_IPolyMaterial* polymat)
int FindVertexArray (int numverts,RAS_IPolyMaterial* polymat)
 RAS_MeshObject::CreateNewVertices creates vertices within sorted pools of vertices that share same material. More...

void SchedulePoly (const KX_VertexIndex& idx,int numverts,RAS_IPolyMaterial* mat)
void ScheduleWireframePoly (const KX_VertexIndex& idx,int numverts,int edgecode,RAS_IPolyMaterial* mat)
int FindOrAddVertex (int vtxarray,const MT_Point3& xyz, const MT_Point2& uv, const unsigned int rgbacolor, const MT_Vector3& normal,RAS_IPolyMaterial* mat)
const vecVertexArrayGetVertexCache (RAS_IPolyMaterial* mat)
const vecIndexArraysGetIndexCache (RAS_IPolyMaterial* mat)
void SetName (CCString name)
const CCStringGetName ()


Constructor & Destructor Documentation

RAS_MeshObject::RAS_MeshObject ( ) [inline]
 

Definition at line 79 of file RAS_MeshObject.h.

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

Definition at line 83 of file RAS_MeshObject.h.


Member Function Documentation

void RAS_MeshObject::AddPolygon ( RAS_Polygon * poly ) [inline]
 

Definition at line 96 of file RAS_MeshObject.h.

Referenced by CreateGameObject().

void RAS_MeshObject::Bucketize ( double * oglmatrix,
void * clientobj )
 

Definition at line 5 of file RAS_MeshObject.cpp.

void RAS_MeshObject::ClearArrayData ( )
 

Definition at line 71 of file RAS_MeshObject.cpp.

Referenced by ~RAS_MeshObject().

void RAS_MeshObject::DebugColor ( unsigned int abgr ) [inline]
 

Definition at line 109 of file RAS_MeshObject.h.

int RAS_MeshObject::FindOrAddVertex ( int vtxarray,
const MT_Point3 & xyz,
const MT_Point2 & uv,
const unsigned int rgbacolor,
const MT_Vector3 & normal,
RAS_IPolyMaterial * mat ) [inline]
 

Definition at line 185 of file RAS_MeshObject.h.

Referenced by CreateGameObject().

int RAS_MeshObject::FindVertexArray ( int numverts,
RAS_IPolyMaterial * polymat )
 

RAS_MeshObject::CreateNewVertices creates vertices within sorted pools of vertices that share same material.

Definition at line 86 of file RAS_MeshObject.cpp.

Referenced by CreateGameObject().

const vecIndexArrays & RAS_MeshObject::GetIndexCache ( RAS_IPolyMaterial * mat ) [inline]
 

Definition at line 227 of file RAS_MeshObject.h.

const CCString & RAS_MeshObject::GetMaterialName ( int matid ) [inline]
 

Definition at line 92 of file RAS_MeshObject.h.

Referenced by BL_CreateSumoObjectNew().

const CCString & RAS_MeshObject::GetName ( ) [inline]
 

Definition at line 237 of file RAS_MeshObject.h.

Referenced by BL_ConvertBlenderObjects().

RAS_Polygon * RAS_MeshObject::GetPolygon ( int num ) [inline]
 

Definition at line 103 of file RAS_MeshObject.h.

Referenced by CreateShapeFromMesh().

RAS_TexVert * RAS_MeshObject::GetVertex ( short array,
short index,
RAS_IPolyMaterial * polymat )
 

Definition at line 64 of file RAS_MeshObject.cpp.

Referenced by CreateShapeFromMesh().

const vecVertexArray & RAS_MeshObject::GetVertexCache ( RAS_IPolyMaterial * mat ) [inline]
 

Definition at line 222 of file RAS_MeshObject.h.

void RAS_MeshObject::MarkVisible ( double * oglmatrix,
void * clientobj,
bool visible )
 

Definition at line 22 of file RAS_MeshObject.cpp.

int RAS_MeshObject::NumMaterials ( ) [inline]
 

Definition at line 91 of file RAS_MeshObject.h.

Referenced by BL_CreateSumoObjectNew().

int RAS_MeshObject::NumPolygons ( ) [inline]
 

Definition at line 102 of file RAS_MeshObject.h.

Referenced by BL_CreateSumoObjectNew(), and CreateShapeFromMesh().

void RAS_MeshObject::RemoveFromBuckets ( double * oglmatrix,
void * clientobj )
 

Definition at line 40 of file RAS_MeshObject.cpp.

void RAS_MeshObject::SchedulePoly ( const KX_VertexIndex & idx,
int numverts,
RAS_IPolyMaterial * mat ) [inline]
 

Definition at line 135 of file RAS_MeshObject.h.

Referenced by SchedulePolygons().

void RAS_MeshObject::SchedulePolygons ( int drawingmode,
class RAS_IRasterizer * rasty )
 

Definition at line 163 of file RAS_MeshObject.cpp.

Referenced by KX_Scene::CalculateVisibleMeshes(), and CreateGameObject().

void RAS_MeshObject::ScheduleWireframePoly ( const KX_VertexIndex & idx,
int numverts,
int edgecode,
RAS_IPolyMaterial * mat ) [inline]
 

Definition at line 152 of file RAS_MeshObject.h.

Referenced by SchedulePolygons().

void RAS_MeshObject::SetName ( CCString name ) [inline]
 

Definition at line 233 of file RAS_MeshObject.h.

void RAS_MeshObject::UpdateMaterialList ( )
 

Definition at line 149 of file RAS_MeshObject.cpp.

Referenced by CreateGameObject().


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:49 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000