class TcGfxIntersectionTest

Abstract base class for Intersection Tests

Inheritance:


Public Classes

enum IsectState
enum IsectState
enum CoordType
enum CoordType

Public Methods

TcGfxIntersectionTest(const TcUtString &isectId)
Constructor
virtual ~TcGfxIntersectionTest()
Destructor.
virtual IsectState doTcIntersectionTest()
This method must be overidden by clients to determine how an intersection is done.
const TcUtString& getIsectId() const
This method returns the string identification of the intersection test.
void setIsectId(const TcUtString &)
Sets the string identification for the intersectiion test.
const IsectState& getLastUpdateState() const
Determines if an intersection was found in the last call to doTcIntersection test.
const TcUtString& getLastIsectName() const
Returns the graphics component name of the last intersection.

Protected Methods

void setIsectState(const IsectState &T)
Sets the intersection state.
void setIsectName(const TcUtString &T)
Sets the name of the graphics component intersected.

Documentation

Abstract base class for Intersection Tests. This class specifies the interface for all Tandem core intersections.
enum IsectState
enum IsectState
Parameters:
ISECT_NOTFOUND - No intersection was found.
ISECT_FOUND - An intersection was found.
ERROR - An error occured.

enum CoordType
enum CoordType
Parameters:
WORLD - World coordinate system.
LOCAL - Local coordinate system.

TcGfxIntersectionTest(const TcUtString &isectId)
Constructor
Parameters:
isectId - String identification given to the intersection test.

virtual ~TcGfxIntersectionTest()
Destructor.

virtual IsectState doTcIntersectionTest()
This method must be overidden by clients to determine how an intersection is done.

const TcUtString& getIsectId() const
This method returns the string identification of the intersection test.

void setIsectId(const TcUtString &)
Sets the string identification for the intersectiion test.

const IsectState& getLastUpdateState() const
Determines if an intersection was found in the last call to doTcIntersection test.

const TcUtString& getLastIsectName() const
Returns the graphics component name of the last intersection.

void setIsectState(const IsectState &T)
Sets the intersection state.

void setIsectName(const TcUtString &T)
Sets the name of the graphics component intersected.


Direct child classes:
TdGfxPfIntersectionTest

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de