Public Types | Public Member Functions

IGameKnot Class Reference

Search for all occurrences

Detailed Description

Simple wrapper for spline knots.

An IGame wrapper for Knot information

#include <IGameObject.h>

Inheritance diagram for IGameKnot:
Inheritance graph
[legend]

List of all members.

Public Types

enum   KnotType { KNOT_AUTO, KNOT_CORNER, KNOT_BEZIER, KNOT_BEZIER_CORNER }
 

Knot types.

More...
enum   KnotData { KNOT_INVEC, KNOT_OUTVEC, KNOT_POINT }
 

Knot data.

More...

Public Member Functions

virtual  ~IGameKnot ()
  Destructor.
virtual Point3  GetInVec ()=0
  Get the in vector.
virtual Point3  GetOutVec ()=0
  Get the out vector.
virtual Point3  GetKnotPoint ()=0
  Get actual knot position.
virtual KnotType  GetKnotType ()=0
  Get the type of knot.
virtual IGameControl GetKnotControl (KnotData kd)=0
  Get the knot controller.

Member Enumeration Documentation

enum KnotType

Knot types.

Enumerator:
KNOT_AUTO 

Auto generate Knot.

KNOT_CORNER 

A corner knot.

KNOT_BEZIER 

A bezier knot.

KNOT_BEZIER_CORNER 

A bezier corner knot.

enum KnotData

Knot data.

Enumerator:
KNOT_INVEC 

The in vector.

KNOT_OUTVEC 

The out vector.

KNOT_POINT 

The actual knot position.


Constructor & Destructor Documentation

virtual ~IGameKnot ( ) [inline, virtual]

Destructor.

{;}

Member Function Documentation

virtual Point3 GetInVec ( ) [pure virtual]

Get the in vector.

Returns:
The in vector
virtual Point3 GetOutVec ( ) [pure virtual]

Get the out vector.

Returns:
The out vector
virtual Point3 GetKnotPoint ( ) [pure virtual]

Get actual knot position.

Returns:
The knot position
virtual KnotType GetKnotType ( ) [pure virtual]

Get the type of knot.

Returns:
The knot as a IGameKnot::KnotType
virtual IGameControl* GetKnotControl ( KnotData  kd ) [pure virtual]

Get the knot controller.

Get the actual IGameController for the knot - this provides access to any animated data

Parameters:
kd The knot to access
Returns:
The controller for the specified knot

IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot
IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot IGameKnot