Public Member Functions | Public Attributes

ManipHitData Class Reference

Search for all occurrences

Detailed Description

See also:
Class HitData, 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.

Data Members:
Manipulator* mpManip;

A pointer to the manipulator associated with the hit data.

int mShapeIndex;

The index of the selected manipulator.

#include <manipulator.h>

Inheritance diagram for ManipHitData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ManipExport  ManipHitData (Manipulator *pManip)
ManipExport  ManipHitData ()
virtual ManipExport ManipHitData Copy ()
ManipExport  ~ManipHitData ()

Public Attributes

Manipulator mpManip
int  mShapeIndex

Constructor & Destructor Documentation

ManipExport ManipHitData ( Manipulator pManip ) [inline]
Remarks:
Constructor.
Parameters:
Manipulator* pManip

A pointer to the manipulator to use.
                                                  {
        mpManip = pManip;
        mShapeIndex = -1;
    }
ManipExport ManipHitData ( ) [inline]
Remarks:
Constructor.
                               {
        mpManip = NULL;
    }
ManipExport ~ManipHitData ( ) [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 in SimpleManipHitData.


Member Data Documentation


ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData
ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData ManipHitData