Blender V2.61 - r43446
Classes | Public Member Functions | Public Attributes | Friends

RAS_MeshSlot Class Reference

#include <RAS_MaterialBucket.h>

Inheritance diagram for RAS_MeshSlot:
Inheritance graph
[legend]

List of all members.

Classes

struct  iterator

Public Member Functions

 RAS_MeshSlot ()
 RAS_MeshSlot (const RAS_MeshSlot &slot)
virtual ~RAS_MeshSlot ()
void init (RAS_MaterialBucket *bucket, int numverts)
void begin (iterator &it)
void next (iterator &it)
bool end (iterator &it)
void SetDisplayArray (int numverts)
RAS_DisplayArrayCurrentDisplayArray ()
void SetDeformer (RAS_Deformer *deformer)
void AddPolygon (int numverts)
int AddVertex (const RAS_TexVert &tv)
void AddPolygonVertex (int offset)
bool Split (bool force=false)
bool Join (RAS_MeshSlot *target, MT_Scalar distance)
bool Equals (RAS_MeshSlot *target)
bool IsCulled ()
void SetCulled (bool culled)

Public Attributes

RAS_MaterialBucketm_bucket
RAS_MeshObjectm_mesh
void * m_clientObj
RAS_Deformerm_pDeformer
DerivedMeshm_pDerivedMesh
double * m_OpenGLMatrix
bool m_bVisible
bool m_bCulled
bool m_bObjectColor
MT_Vector4 m_RGBAcolor
KX_ListSlotm_DisplayList
bool m_bDisplayList
RAS_MeshSlotm_joinSlot
MT_Matrix4x4 m_joinInvTransform
list< RAS_MeshSlot * > m_joinedSlots

Friends

class RAS_ListRasterizer

Detailed Description

Definition at line 101 of file RAS_MaterialBucket.h.


Constructor & Destructor Documentation

RAS_MeshSlot::RAS_MeshSlot ( )
RAS_MeshSlot::RAS_MeshSlot ( const RAS_MeshSlot slot)
RAS_MeshSlot::~RAS_MeshSlot ( ) [virtual]

Definition at line 69 of file RAS_MaterialBucket.cpp.

References m_DisplayList, m_joinedSlots, NULL, KX_ListSlot::Release(), and Split().


Member Function Documentation

void RAS_MeshSlot::AddPolygon ( int  numverts)

Definition at line 260 of file RAS_MaterialBucket.cpp.

References SetDisplayArray().

Referenced by RAS_MeshObject::AddPolygon().

void RAS_MeshSlot::AddPolygonVertex ( int  offset)

Definition at line 280 of file RAS_MaterialBucket.cpp.

References RAS_DisplayArray::m_index.

int RAS_MeshSlot::AddVertex ( const RAS_TexVert tv)

Definition at line 265 of file RAS_MaterialBucket.cpp.

References RAS_DisplayArray::m_vertex.

void RAS_MeshSlot::begin ( RAS_MeshSlot::iterator it)
RAS_DisplayArray * RAS_MeshSlot::CurrentDisplayArray ( )

Definition at line 210 of file RAS_MaterialBucket.cpp.

Referenced by RAS_MeshObject::AddPolygon().

bool RAS_MeshSlot::end ( RAS_MeshSlot::iterator it)
bool RAS_MeshSlot::Equals ( RAS_MeshSlot target)

Definition at line 348 of file RAS_MaterialBucket.cpp.

References m_bObjectColor, m_bVisible, m_OpenGLMatrix, m_pDeformer, and m_RGBAcolor.

Referenced by Join(), and Split().

void RAS_MeshSlot::init ( RAS_MaterialBucket bucket,
int  numverts 
)

Definition at line 131 of file RAS_MaterialBucket.cpp.

References m_bucket, and SetDisplayArray().

Referenced by RAS_MaterialBucket::AddMesh().

bool RAS_MeshSlot::IsCulled ( ) [inline]

Definition at line 175 of file RAS_MaterialBucket.h.

bool RAS_MeshSlot::Join ( RAS_MeshSlot target,
MT_Scalar  distance 
)
void RAS_MeshSlot::next ( RAS_MeshSlot::iterator it)
void RAS_MeshSlot::SetCulled ( bool  culled) [inline]

Definition at line 177 of file RAS_MaterialBucket.h.

void RAS_MeshSlot::SetDeformer ( RAS_Deformer deformer)
void RAS_MeshSlot::SetDisplayArray ( int  numverts)
bool RAS_MeshSlot::Split ( bool  force = false)

Friends And Related Function Documentation

friend class RAS_ListRasterizer [friend]

Definition at line 103 of file RAS_MaterialBucket.h.


Member Data Documentation

Definition at line 127 of file RAS_MaterialBucket.h.

Referenced by RAS_MeshSlot(), and KX_GameObject::UpdateBuckets().

Definition at line 126 of file RAS_MaterialBucket.h.

Referenced by Equals(), RAS_MeshSlot(), and KX_GameObject::UpdateBuckets().

Definition at line 121 of file RAS_MaterialBucket.h.

Referenced by RAS_MeshObject::AddMeshUser(), and RAS_MeshSlot().

Definition at line 137 of file RAS_MaterialBucket.h.

Referenced by Join(), RAS_MeshSlot(), Split(), and ~RAS_MeshSlot().

Definition at line 136 of file RAS_MaterialBucket.h.

Referenced by Join(), and Split().

Definition at line 135 of file RAS_MaterialBucket.h.

Referenced by Join(), RAS_MeshSlot(), and Split().


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