IGameKnot Class Reference

IGameKnot Class Referenceabstract

#include <IGameObject.h>

Class Description

Simple wrapper for spline knots.

An IGame wrapper for Knot information

+ Inheritance diagram for IGameKnot:

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. More...
 
virtual Point3 GetInVec ()=0
 Get the in vector. More...
 
virtual Point3 GetOutVec ()=0
 Get the out vector. More...
 
virtual Point3 GetKnotPoint ()=0
 Get actual knot position. More...
 
virtual KnotType GetKnotType ()=0
 Get the type of knot. More...
 
virtual IGameControlGetKnotControl (KnotData kd)=0
 Get the knot controller. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 

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.

941  {
942  KNOT_AUTO,
943  KNOT_CORNER,
944  KNOT_BEZIER,
946  };
A bezier corner knot.
Definition: IGameObject.h:945
A corner knot.
Definition: IGameObject.h:943
Auto generate Knot.
Definition: IGameObject.h:942
A bezier knot.
Definition: IGameObject.h:944
enum KnotData

Knot data.

Enumerator
KNOT_INVEC 

The in vector.

KNOT_OUTVEC 

The out vector.

KNOT_POINT 

The actual knot position.

949  {
950  KNOT_INVEC,
951  KNOT_OUTVEC,
952  KNOT_POINT,
953  };
The in vector.
Definition: IGameObject.h:950
The actual knot position.
Definition: IGameObject.h:952
The out vector.
Definition: IGameObject.h:951

Constructor & Destructor Documentation

virtual ~IGameKnot ( )
inlinevirtual

Destructor.

955 {;}

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
kdThe knot to access
Returns
The controller for the specified knot