Selection

Engine/source/gui/worldEditor/terrainEditor.h

More...

Private Functions

Public Functions

bool
add(const GridInfo & info)

add unique grid info into the selection - test uniqueness by grid position

bool
getInfo(Point2I pos, GridInfo & info)
bool
bool
setInfo(GridInfo & info)

Protected Functions

offsetObject(T & object, const Point3F & delta)
rotateObject(T & object, const EulerF & delta, const Point3F & origin)
scaleObject(T & object, const Point3F & delta)

Detailed Description

Private Attributes

Vector< S32 > mHashLists 
U32 mHashListSize 
StringTableEntry mName 
BitSet32 mUndoFlags 

Private Functions

getHashIndex(const Point2I & pos)

insert(GridInfo info)

lookup(const Point2I & pos)

validate()

Public Functions

Selection()

~Selection()

add(const GridInfo & info)

add unique grid info into the selection - test uniqueness by grid position

getAvgHeight()

getInfo(Point2I pos, GridInfo & info)

getMaxHeight()

getMinHeight()

getName()

getOrientation()

getOrigin()

getScale()

offset(const Point3F & delta)

remove(const GridInfo & info)

reset()

rotate(const EulerF & delta)

scale(const Point3F & delta)

setInfo(GridInfo & info)

setName(StringTableEntry name)

Protected Functions

offsetObject(T & object, const Point3F & delta)

Reimplemented by: ForestItemSelection

rotateObject(T & object, const EulerF & delta, const Point3F & origin)

Reimplemented by: ForestItemSelection

scaleObject(T & object, const Point3F & delta)

Reimplemented by: ForestItemSelection