Initialises a Acquisition box that a DtTrackAcquirer() can use.
More...
|
| virtual | ~DtTrackAcquisitionBox () |
| | Virtual DTOR. More...
|
| |
| virtual void | setAcquisitionChannel (DtChannel *acquisitionChannel) |
| | Set Acquisition Channel that this box uses / is rendered on. More...
|
| |
| virtual void | setAcquisitionBoxInfo (const int ¢erX, const int ¢erY, const int &width, const int &height) |
| | Set the acquisition box center screen xy coords, and pixel with and height. More...
|
| |
| virtual void | getAcquisitionBoxInfo (int ¢erX, int ¢erY, int &width, int &height) |
| | Get the acquisition box info. More...
|
| |
| virtual bool | positionWithinAcquisitionBox (DtObserver *observer, DtVector position, double &dotProduct) |
| | Checks whether the position is within the acquisition box, returns true if it is. More...
|
| |
| virtual bool | boxCenteredOnChannel () |
| | Get if this box of centered on the channel. More...
|
| |
|
| virtual void | setRenderAcquisitionBox (bool render) |
| | Render the acquisition box. More...
|
| |
| virtual bool | acquisitionBoxRendered () |
| |
| virtual void | renderAcquisitionBox () |
| |
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()
| virtual makVrv::DtTrackAcquisitionBox::~DtTrackAcquisitionBox |
( |
| ) |
|
|
virtual |
| makVrv::DtTrackAcquisitionBox::DtTrackAcquisitionBox |
( |
DtDe & |
de | ) |
|
|
protected |
| virtual void makVrv::DtTrackAcquisitionBox::setAcquisitionChannel |
( |
DtChannel * |
acquisitionChannel | ) |
|
|
virtual |
Set Acquisition Channel that this box uses / is rendered on.
| virtual void makVrv::DtTrackAcquisitionBox::setAcquisitionBoxInfo |
( |
const int & |
centerX, |
|
|
const int & |
centerY, |
|
|
const int & |
width, |
|
|
const int & |
height |
|
) |
| |
|
virtual |
Set the acquisition box center screen xy coords, and pixel with and height.
| virtual void makVrv::DtTrackAcquisitionBox::getAcquisitionBoxInfo |
( |
int & |
centerX, |
|
|
int & |
centerY, |
|
|
int & |
width, |
|
|
int & |
height |
|
) |
| |
|
virtual |
Get the acquisition box info.
| virtual void makVrv::DtTrackAcquisitionBox::setRenderAcquisitionBox |
( |
bool |
render | ) |
|
|
virtual |
Render the acquisition box.
| virtual bool makVrv::DtTrackAcquisitionBox::acquisitionBoxRendered |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtTrackAcquisitionBox::renderAcquisitionBox |
( |
| ) |
|
|
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 bool makVrv::DtTrackAcquisitionBox::boxCenteredOnChannel |
( |
| ) |
|
|
virtual |
Get if this box of centered on the channel.
Assignment CTOR (Unimplemented.
| DtDe& makVrv::DtTrackAcquisitionBox::myDe |
|
protected |
| DtChannel* makVrv::DtTrackAcquisitionBox::myAcquisitionChannel |
|
protected |
| int makVrv::DtTrackAcquisitionBox::myBoxCenterX |
|
protected |
| int makVrv::DtTrackAcquisitionBox::myBoxCenterY |
|
protected |
| int makVrv::DtTrackAcquisitionBox::myBoxWidth |
|
protected |
| int makVrv::DtTrackAcquisitionBox::myBoxHeight |
|
protected |
| DtWindowPolygonAgent* makVrv::DtTrackAcquisitionBox::myTrackBoxWindowPolygon |
|
protected |
| bool makVrv::DtTrackAcquisitionBox::myBoxCenteredOnChannel |
|
protected |
| bool makVrv::DtTrackAcquisitionBox::myRenderAcquisitionBox |
|
protected |
The documentation for this class was generated from the following file: