#include <eWall.h>
Public Member Functions | |
void | SetWall (eWall *wall) |
eWall * | GetWall (void) const |
Protected Member Functions | |
eWallHolder () | |
~eWallHolder () | |
Private Member Functions | |
tCONTROLLED_PTR (eWall) wall_ | |
Friends | |
class | eWall |
Definition at line 184 of file eWall.h.
eWallHolder::~eWallHolder | ( | ) | [protected] |
void eWallHolder::SetWall | ( | eWall * | wall | ) |
Reimplemented in eHalfEdge.
Definition at line 258 of file eWall.cpp.
References NULL.
Referenced by eHalfEdge::ClearWall(), and eHalfEdge::SetWall().
00259 { 00260 if ( wall_ ) 00261 { 00262 wall_->holder_ = NULL; 00263 } 00264 00265 wall_ = wall; 00266 00267 if ( wall ) 00268 { 00269 if ( wall->holder_ ) 00270 { 00271 wall->holder_->wall_ = NULL; 00272 } 00273 00274 wall->holder_ = this; 00275 } 00276 }
eWall * eWallHolder::GetWall | ( | void | ) | const |
Definition at line 278 of file eWall.cpp.
Referenced by CanPass(), eHalfEdge::Check(), eHalfEdge::CopyIntoGrid(), eTempEdge::CopyIntoGrid(), eHalfEdge::CrossesNewWall(), eGrid::DrawLine(), eCameraSensor::LookAround(), Modifier(), eHalfEdge::Movable(), eGameObject::Move(), ProcessWallsRecursive(), eHalfEdge::SetWall(), eHalfEdge::Simplify(), eHalfEdge::Split(), and eHalfEdge::Splittable().
eWallHolder::tCONTROLLED_PTR | ( | eWall | ) | [private] |