![]() |
VR-Forces 4.0.4 Class Documentation
|
The Master Scenario Settings Dialog. More...

Public Member Functions | |
| DtVrfShapeManipulationHandler (makVrv::DtDe &) | |
| virtual | ~DtVrfShapeManipulationHandler () |
| virtual void | setPoints (const std::vector< DtVector > &pts) |
| virtual void | setPoints (const std::vector< DtGeodeticCoord > &pts) |
| const std::vector< DtVector > & | points () const |
| virtual bool | createVrfObject () |
| Creates the scene object with the current handler settings for location, orientation, name, type, etc...A call to createObject must be made before using this function. | |
| virtual void | addControlPoint (const DtVector &location, int index=-1) |
| virtual void | removeControlPoint (int index) |
| virtual void | setLocation (int index, const DtVector &location, bool resetOrigin=true) |
| virtual void | setAltitudeAboveSeaLevel (int, double) |
| Set altitude above sea level for the particular point. | |
| virtual double | altitudeAboveSeaLevel (int) const |
| virtual void | setAltitudeAboveTerrain (int, double) |
| Set altitude above terrain for the particular point. | |
| virtual double | altitudeAboveTerrain (int) const |
| virtual bool | shapeAtMinimum () const |
| Returns true if the shape has the minimum number of points to create. | |
| virtual bool | shapeAtMaximum () const |
| Returns true if the shape has the minimum number of points to create. | |
| virtual int | numVertices () const |
| Returns the number of vertices in the principal object. | |
| virtual void | setEditingPoint (int) |
| virtual int | editingPoint () const |
| virtual DtGeodeticCoord | geodeticPosition (int) const |
| virtual DtVector | localLocation (int index) const |
| location + altitude | |
| virtual std::vector < DtGeodeticCoord > | geodeticPositions () const |
| virtual void | removePoint (int) |
| virtual double | altitudeForAltitudeType (int) const |
| Return the altitude given the current altitude type set. Goes to facade for information. | |
| virtual void | setForce (int) |
| Sets the force of the object. | |
Public Attributes | |
| boost::signal< void(const DtVector &, int)> | signal_pointLocationChanged |
Protected Member Functions | |
| virtual void | editSelectedObjects (const makVrv::DtUniqueID &principalID, makVrv::DtChannel &initiatingChannel, double waitTimeAfterComplete=0.) |
| Starts the process of object editing. | |
| virtual void | slot_onEditComplete (makVrv::DtUniqueID id, const DtVector &location, double altAboveGround) |
| virtual void | initializeEventProcessor () |
| virtual bool | modifyVrfObjects () |
| virtual void | slot_onPlace (makVrv::DtUniqueID, const DtVector &location, double altAboveGround) |
| virtual void | slot_onComplete () |
| virtual void | slot_onCancel () |
| virtual void | slot_onLocationChanged (const DtVector &location, double altAboveGround) |
| virtual void | slot_onAltitudeChanged (const DtVector &location, double altitude) |
| virtual DtVrfObjectFacadeInterface * | createLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView=0) |
| returns true if successful, false otherwise | |
| virtual DtVector | addControlPoint (int index=-1) |
| virtual DtVrfObjectFacadeInterface * | createLocalRepresentation (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, DtVrlinkSimulatedBaseStateView *principalStateView) |
| virtual void | moveSelectedPoint (const DtVector &location, double altAboveGround) |
| virtual bool | isArea (const DtEntityType &type) const |
| virtual bool | isRoute (const DtEntityType &type) const |
| virtual bool | isObstacle (const DtEntityType &type) const |
| virtual bool | isPhaseline (const DtEntityType &type) const |
| virtual DtEnvironmentalCreationData | environmentalCreationData (const std::string &name, const DtEntityType &, int force) const |
| virtual void | updateLocationOffset (const DtVector &local, DtEnvironmentalFacadeCollection *env, int pos) |
| virtual void | modifyVrfObject (DtEnvironmentalFacadeCollection *objectImage) |
| Called for each object to be modified. | |
Protected Attributes | |
| int | myMaxVertices |
| int | myMinVertices |
| DtGeodeticCoord | myLastPosition |
| bool | myRecentered |
| DtVector | myRecenteredPos |
The Master Scenario Settings Dialog.
| virtual makVrf::DtVrfShapeManipulationHandler::~DtVrfShapeManipulationHandler | ( | ) | [virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::setPoints | ( | const std::vector< DtVector > & | pts | ) | [virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::setPoints | ( | const std::vector< DtGeodeticCoord > & | pts | ) | [virtual] |
| const std::vector<DtVector>& makVrf::DtVrfShapeManipulationHandler::points | ( | ) | const |
| virtual bool makVrf::DtVrfShapeManipulationHandler::createVrfObject | ( | ) | [virtual] |
Creates the scene object with the current handler settings for location, orientation, name, type, etc...A call to createObject must be made before using this function.
Implements makVrf::DtVrfObjectManipulationHandlerBaseClass.
Reimplemented in makVrf::DtVrfIndirectFireManipulationHandler.
| virtual void makVrf::DtVrfShapeManipulationHandler::addControlPoint | ( | const DtVector & | location, |
| int | index = -1 |
||
| ) | [virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::removeControlPoint | ( | int | index | ) | [virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::setLocation | ( | int | index, |
| const DtVector & | location, | ||
| bool | resetOrigin = true |
||
| ) | [virtual] |
Reimplemented in makVrf::DtVrfCircleManipulationHandler, and makVrf::DtVrfCircleVertexManipulationHandler.
| virtual void makVrf::DtVrfShapeManipulationHandler::setAltitudeAboveSeaLevel | ( | int | , |
| double | |||
| ) | [virtual] |
Set altitude above sea level for the particular point.
Will not effect altitude above ground level. If setLocation is called after this for the same index, the sea level point will change to reflect the new altitude
| virtual double makVrf::DtVrfShapeManipulationHandler::altitudeAboveSeaLevel | ( | int | ) | const [virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::setAltitudeAboveTerrain | ( | int | , |
| double | |||
| ) | [virtual] |
Set altitude above terrain for the particular point.
Will not effect altitude above sea level. If setLocation is called after this for the same index, the terrain point will change to reflect the new altitude
| virtual double makVrf::DtVrfShapeManipulationHandler::altitudeAboveTerrain | ( | int | ) | const [virtual] |
| virtual bool makVrf::DtVrfShapeManipulationHandler::shapeAtMinimum | ( | ) | const [virtual] |
Returns true if the shape has the minimum number of points to create.
| virtual bool makVrf::DtVrfShapeManipulationHandler::shapeAtMaximum | ( | ) | const [virtual] |
Returns true if the shape has the minimum number of points to create.
| virtual int makVrf::DtVrfShapeManipulationHandler::numVertices | ( | ) | const [virtual] |
Returns the number of vertices in the principal object.
| virtual void makVrf::DtVrfShapeManipulationHandler::setEditingPoint | ( | int | ) | [virtual] |
| virtual int makVrf::DtVrfShapeManipulationHandler::editingPoint | ( | ) | const [virtual] |
| virtual DtGeodeticCoord makVrf::DtVrfShapeManipulationHandler::geodeticPosition | ( | int | ) | const [virtual] |
| virtual DtVector makVrf::DtVrfShapeManipulationHandler::localLocation | ( | int | index | ) | const [virtual] |
location + altitude
| virtual std::vector<DtGeodeticCoord> makVrf::DtVrfShapeManipulationHandler::geodeticPositions | ( | ) | const [virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::removePoint | ( | int | ) | [virtual] |
| virtual double makVrf::DtVrfShapeManipulationHandler::altitudeForAltitudeType | ( | int | ) | const [virtual] |
Return the altitude given the current altitude type set. Goes to facade for information.
| virtual void makVrf::DtVrfShapeManipulationHandler::setForce | ( | int | ) | [virtual] |
Sets the force of the object.
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual void makVrf::DtVrfShapeManipulationHandler::editSelectedObjects | ( | const makVrv::DtUniqueID & | editId, |
| makVrv::DtChannel & | initiatingChannel, | ||
| double | waitTimeAfterComplete = 0. |
||
| ) | [protected, virtual] |
Starts the process of object editing.
Wait time after complete is how long to "wait" until showing hidden objects. This is to account for a bit of time taken to process result from back-end and prevent possible "jump" of object on move.
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
Reimplemented in makVrf::DtVrfVertexManipulationHandler< DtVrfShapeManipulationHandler >, and makVrf::DtVrfVertexManipulationHandler< DtVrfCircleManipulationHandler >.
| virtual void makVrf::DtVrfShapeManipulationHandler::slot_onEditComplete | ( | makVrv::DtUniqueID | id, |
| const DtVector & | location, | ||
| double | altAboveGround | ||
| ) | [protected, virtual] |
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual void makVrf::DtVrfShapeManipulationHandler::initializeEventProcessor | ( | ) | [protected, virtual] |
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
Reimplemented in makVrf::DtVrfCircleManipulationHandler.
| virtual bool makVrf::DtVrfShapeManipulationHandler::modifyVrfObjects | ( | ) | [protected, virtual] |
Implements makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual void makVrf::DtVrfShapeManipulationHandler::slot_onPlace | ( | makVrv::DtUniqueID | , |
| const DtVector & | location, | ||
| double | altAboveGround | ||
| ) | [protected, virtual] |
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
Reimplemented in makVrf::DtVrfCircleManipulationHandler.
| virtual void makVrf::DtVrfShapeManipulationHandler::slot_onComplete | ( | ) | [protected, virtual] |
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual void makVrf::DtVrfShapeManipulationHandler::slot_onCancel | ( | ) | [protected, virtual] |
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual void makVrf::DtVrfShapeManipulationHandler::slot_onLocationChanged | ( | const DtVector & | location, |
| double | altAboveGround | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::slot_onAltitudeChanged | ( | const DtVector & | location, |
| double | altitude | ||
| ) | [protected, virtual] |
Reimplemented from makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual DtVrfObjectFacadeInterface* makVrf::DtVrfShapeManipulationHandler::createLocalRepresentation | ( | DtVrlinkSimulatedBaseStateView * | editStateView = 0 | ) | [protected, virtual] |
returns true if successful, false otherwise
Implements makVrf::DtVrfObjectManipulationHandlerBaseClass.
| virtual DtVector makVrf::DtVrfShapeManipulationHandler::addControlPoint | ( | int | index = -1 | ) | [protected, virtual] |
| virtual DtVrfObjectFacadeInterface* makVrf::DtVrfShapeManipulationHandler::createLocalRepresentation | ( | DtVrlinkSimulatedBaseStateView * | editStateView, |
| makVrv::DtUniqueID | sceneObjectId, | ||
| DtVrlinkSimulatedBaseStateView * | principalStateView | ||
| ) | [protected, virtual] |
Implements makVrf::DtVrfObjectManipulationHandlerBaseClass.
Reimplemented in makVrf::DtVrfCircleManipulationHandler.
| virtual void makVrf::DtVrfShapeManipulationHandler::moveSelectedPoint | ( | const DtVector & | location, |
| double | altAboveGround | ||
| ) | [protected, virtual] |
Reimplemented in makVrf::DtVrfCircleManipulationHandler.
| virtual bool makVrf::DtVrfShapeManipulationHandler::isArea | ( | const DtEntityType & | type | ) | const [protected, virtual] |
| virtual bool makVrf::DtVrfShapeManipulationHandler::isRoute | ( | const DtEntityType & | type | ) | const [protected, virtual] |
| virtual bool makVrf::DtVrfShapeManipulationHandler::isObstacle | ( | const DtEntityType & | type | ) | const [protected, virtual] |
| virtual bool makVrf::DtVrfShapeManipulationHandler::isPhaseline | ( | const DtEntityType & | type | ) | const [protected, virtual] |
| virtual DtEnvironmentalCreationData makVrf::DtVrfShapeManipulationHandler::environmentalCreationData | ( | const std::string & | name, |
| const DtEntityType & | , | ||
| int | force | ||
| ) | const [protected, virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::updateLocationOffset | ( | const DtVector & | local, |
| DtEnvironmentalFacadeCollection * | env, | ||
| int | pos | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtVrfShapeManipulationHandler::modifyVrfObject | ( | DtEnvironmentalFacadeCollection * | objectImage | ) | [protected, virtual] |
Called for each object to be modified.
Reimplemented in makVrf::DtVrfIndirectFireManipulationHandler.
| boost::signal<void (const DtVector&, int)> makVrf::DtVrfShapeManipulationHandler::signal_pointLocationChanged |
int makVrf::DtVrfShapeManipulationHandler::myMaxVertices [protected] |
int makVrf::DtVrfShapeManipulationHandler::myMinVertices [protected] |
DtGeodeticCoord makVrf::DtVrfShapeManipulationHandler::myLastPosition [protected] |