Public Member Functions

SimpleManipHitData Class Reference

Search for all occurrences

Detailed Description

See also:
Class ManipHitData, Class Manipulator

Description:
This class is available in release 4.0 and later only.

This is a special storage class for hit records that keep track of which manipulator was hit and is provided as a simple class for developers to sub-class from.

#include <manipulator.h>

Inheritance diagram for SimpleManipHitData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ManipExport  SimpleManipHitData (int shapeIndex, Manipulator *pManip)
ManipExport  SimpleManipHitData ()
ManipExport  ~SimpleManipHitData ()
virtual ManipExport ManipHitData Copy ()

Constructor & Destructor Documentation

ManipExport SimpleManipHitData ( int  shapeIndex,
Manipulator pManip 
) [inline]
Remarks:
Constructor.
Parameters:
int shapeIndex

This sets the shape index.

Manipulator* pManip

A pointer to the manipulator.
                                                                        {
        mpManip = pManip;
        mShapeIndex = shapeIndex;
    }
ManipExport SimpleManipHitData ( ) [inline]
Remarks:
Constructor.
                                     {
        mShapeIndex = -1;
        mpManip = NULL;
    }
ManipExport ~SimpleManipHitData ( ) [inline]
Remarks:
Destructor.
{}

Member Function Documentation

virtual ManipExport ManipHitData* Copy ( ) [virtual]
Remarks:
This method allows you to copy the hit data.
Default Implementation:
{ return new ManipHitData(mpManip); }

Reimplemented from ManipHitData.


SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData
SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData SimpleManipHitData