torque Torque Game Engine Documentation
TGE Version 1.5.2

Selection Class Reference

#include <terrainEditor.h>

Inheritance diagram for Selection:

Inheritance graph
[legend]

Public Member Functions

 Selection ()
virtual ~Selection ()
void reset ()
bool add (GridInfo &info)
bool getInfo (Point2I pos, GridInfo &info)
bool setInfo (GridInfo &info)
bool remove (const GridInfo &info)
void setName (StringTableEntry name)
StringTableEntry getName ()
F32 getAvgHeight ()

Private Member Functions

S32 lookup (const Point2I &pos)
void insert (GridInfo &info)
U32 getHashIndex (const Point2I &pos)

Private Attributes

StringTableEntry mName
BitSet32 mUndoFlags
Vector< S32mHashLists
U32 mHashListSize

Constructor & Destructor Documentation

Selection::Selection (  ) 

virtual Selection::~Selection (  )  [virtual]


Member Function Documentation

S32 Selection::lookup ( const Point2I pos  )  [private]

void Selection::insert ( GridInfo info  )  [private]

U32 Selection::getHashIndex ( const Point2I pos  )  [private]

void Selection::reset (  ) 

bool Selection::add ( GridInfo info  ) 

bool Selection::getInfo ( Point2I  pos,
GridInfo info 
)

bool Selection::setInfo ( GridInfo info  ) 

bool Selection::remove ( const GridInfo info  ) 

void Selection::setName ( StringTableEntry  name  ) 

StringTableEntry Selection::getName (  )  [inline]

F32 Selection::getAvgHeight (  ) 


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen