![]() |
VR-Forces 4.1 Class Documentation
|
Shape vertex manipulation class. More...

Public Member Functions | |
| DtVrfShapeVertexManipulationHandler (makVrv::DtDe &de) | |
| virtual | ~DtVrfShapeVertexManipulationHandler () |
Public Member Functions inherited from makVrf::DtVrfVertexManipulationHandler< DtVrfShapeManipulationHandler > | |
| DtVrfVertexManipulationHandler (makVrv::DtDe &de) | |
| virtual | ~DtVrfVertexManipulationHandler () |
| virtual void | editSelectedObjects (const makVrv::DtUniqueID &editId, makVrv::DtChannel &initiatingChannel, double waitTimeAfterComplete) |
| Starts the process of object creation. | |
Public Member Functions inherited from makVrf::DtVrfShapeManipulationHandler | |
| 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 bool | createVrfObject (DtVrfObjectFacadeInterface *) |
| 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 | shapeAtMinimum (DtEnvironmentStateView *) |
| virtual bool | canDeleteAPoint (DtEnvironmentStateView *) |
| Returns true if a point can be deleted from this object. | |
| virtual bool | shapeAtMaximum () const |
| Returns true if the shape has the minimum number of points to create. | |
| virtual bool | shapeAtMaximum (DtEnvironmentStateView *) |
| virtual void | getMinMaxVertices (const DtEntityType &creatingType, int &minVert, int &maxVert) const |
| Returns the minimum/maximum vertices of the given type. | |
| 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 bool | freehand () const |
| Returns true if in freehand mode. | |
| virtual bool | canChangeArrowStyle () const |
| Returns true if the arrow style can be changed. | |
| virtual bool | canChangeArrowSize () const |
| virtual bool | canFill () const |
| virtual bool | canChangePenStyle () const |
| virtual void | setPointSamplingRate (int) |
| Sets the sampling rate for points. | |
| virtual int | pointSamplingRate () const |
| virtual void | setLineWidth (int) |
| Sets the line width of the line or outside of area. | |
| virtual int | lineWidth () const |
| virtual void | setPenStyle (int) |
| Sets the pen style of the line or the style of the area border. | |
| virtual int | penStyle () const |
| virtual void | setFillStyle (int) |
| Sets the fill style of the area. | |
| virtual int | fillStyle () const |
| virtual bool | fixedWidthSizing () const |
| Returns whether or not line is in fixed width sizing mode. | |
| virtual void | setForce (int) |
| Sets the force of the object. | |
| virtual void | setColor (int) |
| virtual int | color () const |
| virtual void | setLabel (const std::string &) |
| Sets label of item. Default is no-op. | |
| virtual std::string | label () const |
| virtual int | arrowStyle () const |
| Returns information about the current arrow settings from the visualizer. | |
| virtual int | arrowHeadPlacement () const |
| virtual int | arrowSize () const |
| virtual double | initialArrowSize (bool fixedWidthSizing, double initialSize) const |
| For a newly created object returns initial arrow size. | |
Public Member Functions inherited from makVrf::DtVrfObjectManipulationHandlerBaseClass | |
| DtVrfObjectManipulationHandlerBaseClass (makVrv::DtDe &) | |
| virtual | ~DtVrfObjectManipulationHandlerBaseClass () |
| virtual bool | createObject (const DtEntityType &entType, int force, DtCreationSignalType creationSignal=DtNoCreationSignal, const std::string &keywords="") |
| Starts the process of object creation. | |
| virtual bool | createObject (const DtString &key, const DtString &associatedData, DtCreationSignalType creationSignal=DtNoCreationSignal, const std::string &keywords="") |
| Starts the process of terrain prop creation. | |
| int | force () const |
| virtual void | setAllowCreationOnMouseClick (bool flag) |
| virtual bool | allowCreationOnMouseClick () const |
| virtual DtVector | clampToGround (const DtVector &) const |
| virtual DtGeodeticCoord | clampToGround (const DtGeodeticCoord &) const |
| virtual void | setAttachObjectToMouse (bool) |
| virtual bool | attachObjectToMouse () const |
| virtual void | setHeading (double value) |
| virtual double | heading () const |
| virtual void | setLocation (const DtVector &loc, double altAboveGround) |
| virtual void | stop () |
| Stop an ongoing creation process. | |
| virtual void | deferredStop () |
| Stops on a post tick callback. | |
| virtual void | setOverlay (const std::string &name) |
| virtual std::string | getNextCreatingName (bool includeCurrent=false) |
| virtual void | setAltitudeAboveGL (double alt, bool setInProcessor=true) |
| virtual void | setAltitudeAboveSL (double alt, bool setInProcessor=true) |
| virtual void | setAltitudeClampType (DtAltitudeClampType type) |
| void | setCreating (bool b) |
| bool | creating () const |
| virtual DtVrfObjectFacadeInterface * | principalObjectImage () const |
| virtual makVrv::DtUniqueID | principalObjectID () const |
| virtual void | setUserData (const std::string &userData) |
| virtual const std::string & | userData () const |
| virtual void | slot_onAltitudeIsDragging (bool) |
| virtual void | hideObject (const makVrv::DtUniqueID &id, bool hide) |
| virtual void | setPublishObject (bool) |
| Set whether or not to publish object. Default is true. | |
| virtual bool | publishObject () const |
| virtual void | setObjectName (const std::string &name) |
| virtual bool | isUniqueName () const |
| Returns true if the specified name is unique as set. | |
| virtual double | groundHeight (const DtVector &localPosition, DtVector *localGround=0) const |
| find the height of the ground (ENU coordinate system) at localPosition (DB coordinates). | |
| virtual void | setAltitudeAllowed (bool) |
| bool | altitudeAllowed () const |
| virtual const std::string & | objectName () const |
| virtual void | setAnchorToOrigin (bool) |
| If true (default is false) will anchor the position of the mouse to the origin of the object when editing. | |
| virtual bool | anchorToOrigin () const |
| virtual DtVector | localLocation () |
| location + altitude | |
| virtual DtVector | convertGeocentricToGround (const DtVector &geoc, double &altitude) const |
| virtual void | setShowPropertiesDialogBeforeCreate (bool) |
| virtual bool | showPropertiesDialogBeforeCreate () const |
| virtual bool | keywordsContain (const std::string &) const |
| Return true if the list of keywords contains the specified one. | |
| virtual std::string | keyword (const std::string &) const |
| virtual bool | waitingToStop () const |
| virtual void | cancel () |
| Cancels any current work. Default calls slot_onCancel. | |
| virtual bool | noStyle () const |
| Return true if the item should not show the style button. | |
Additional Inherited Members | |
Public Types inherited from makVrf::DtVrfObjectManipulationHandlerBaseClass | |
| typedef std::vector < DtVrfObjectFacadeInterface * > | VrfObjectEditFacadeList |
Public Attributes inherited from makVrf::DtVrfShapeManipulationHandler | |
| boost::signal< void(const DtVector &, int)> | signal_pointLocationChanged |
| boost::signal< void()> | signal_pointSamplingRateChanged |
Protected Member Functions inherited from makVrf::DtVrfVertexManipulationHandler< DtVrfShapeManipulationHandler > | |
| virtual void | editSelectedVertex (const makVrv::DtUniqueID &vertexId, const DtVector &vertexPos, makVrv::DtChannel &initiatingChannel) |
| virtual void | slot_onStateViewUpdated (DtVrlinkSimulatedBaseStateView *editStateView, makVrv::DtUniqueID sceneObjectId, double vx, double vy, double vz) |
| virtual void | slot_onLocationChanged (const DtVector &location, double altAboveGround) |
| virtual void | setLocation (const DtVector &loc) |
| virtual DtVector | vertexPosition (DtEnvironmentalFacadeCollection *iFace, int index) const |
| Return the vertex position at the specified index. | |
Protected Attributes inherited from makVrf::DtVrfShapeManipulationHandler | |
| int | myMaxVertices |
| int | myMinVertices |
| DtGeodeticCoord | myLastPosition |
| bool | myRecentered |
| DtVector | myRecenteredPos |
| int | myPointSamplingRate |
| std::vector< DtVector > | myControlPoints |
| Used to refactor points for sampling rate change. | |
Shape vertex manipulation class.
|
inline |
|
inlinevirtual |