![]() |
VR-Forces 5.0.3 Developer's Guide
|
Initialises a Acquisition box that a DtTrackAcquirer() can use. Has the option to render the acquisition box on the acquisition channel by creating a DtWindowPolygonAgent. Default values for this box are the center of the channel passed to into setAcquisitionChannel(), with a width and height of the channel; You must pass a channel into setAcquisitionChannel before you can call positionWithinAcquisitionBox() / boxCenteredOnChannel() / renderAcquisitionBox()
Public Member Functions | |
| virtual | ~DtTrackAcquisitionBox () |
| virtual void | setAcquisitionChannel (DtChannel *acquisitionChannel) |
| virtual void | setAcquisitionBoxInfo (const int ¢erX, const int ¢erY, const int &width, const int &height) |
| virtual void | getAcquisitionBoxInfo (int ¢erX, int ¢erY, int &width, int &height) |
| virtual bool | positionWithinAcquisitionBox (DtObserver *observer, const DtVector &position, double &dotProduct) |
| virtual bool | boxCenteredOnChannel () |
| virtual void | setRenderAcquisitionBox (bool render) |
| virtual bool | acquisitionBoxRendered () |
| virtual void | renderAcquisitionBox () |
Protected Member Functions | |
| DtTrackAcquisitionBox (DtDe &de) | |
Protected Attributes | |
| DtDe & | myDe |
| DtChannel * | myAcquisitionChannel |
| unsigned int | mySensorId |
| int | myBoxCenterX |
| int | myBoxCenterY |
| int | myBoxWidth |
| int | myBoxHeight |
| DtWindowPolygonAgent * | myTrackBoxWindowPolygon |
| bool | myBoxCenteredOnChannel |
| bool | myRenderAcquisitionBox |
Private Member Functions | |
| DtTrackAcquisitionBox (const DtTrackAcquisitionBox &orig) | |
| DtTrackAcquisitionBox & | operator= (const DtTrackAcquisitionBox &rhs) |
Friends | |
| class | DtTrackAcquisitionBoxCreator |
|
virtual |
Virtual DTOR.
|
protected |
Protected CTOR.
|
private |
CCTOR (unimplemented)
|
virtual |
Set Acquisition Channel that this box uses / is rendered on.
|
virtual |
Set the acquisition box center screen xy coords, and pixel with and height.
|
virtual |
Get the acquisition box info.
|
virtual |
Render the acquisition box.
|
virtual |
Render the acquisition box.
|
virtual |
Render the acquisition box.
|
virtual |
Checks whether the position is within the acquisition box, returns true if it is. Gets the dot product of the observer view vector and observer position -> entity position direction vector. If this dot product > 0 ( < 90 degrees ) it is in front of observer. Then checks if the position is contained within the four planes defined by the acquisition box.
|
virtual |
Get if this box of centered on the channel.
|
private |
Assignment CTOR (Unimplemented.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |