VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtEnvironmentalShapeCopyObject Class Reference

Class used to create shape facades for paste.

Inheritance diagram for makVrf::DtEnvironmentalShapeCopyObject:
Inheritance graph
[legend]

Public Member Functions

 DtEnvironmentalShapeCopyObject (makVrv::DtDe &)
 
virtual ~DtEnvironmentalShapeCopyObject ()
 
virtual void createFacade (const DtGeodeticCoord &origin)
 
virtual void setOrigin (const DtGeodeticCoord &)
 
virtual DtVector origin () const
 
- Public Member Functions inherited from makVrf::DtEnvironmentalCopyObject
 DtEnvironmentalCopyObject (makVrv::DtDe &)
 
virtual ~DtEnvironmentalCopyObject ()
 
virtual DtGeodeticCoord calculateCenter () const
 
DtEnvironmentalFacadeCollectionfacade ()
 
virtual
DtVrfObjectFacadeInterface
facade () const
 
- Public Member Functions inherited from makVrf::DtCopyObject
 DtCopyObject (makVrv::DtDe &)
 
virtual ~DtCopyObject ()
 
virtual void read (const std::string &buf)
 
virtual void cancel ()
 
const std::string & name () const
 
const DtUUIDuuid () const
 
virtual std::string copyPendingMessage () const
 
virtual std::string pastePendingMessage () const
 
virtual void setAltitudeClampType (DtAltitudeClampType)
 
DtAltitudeClampType altitudeClampType () const
 
void setType (int t)
 
int type () const
 
void setBuffer (const std::string &b)
 
const std::string & buffer () const
 
virtual void multipleObjectsPasting ()
 
virtual void paste (const DtVector &, int flags=DtAllPasteFlags)
 
virtual DtGeodeticCoord center () const
 
virtual DtVector localCenter () const
 
virtual DtVector pasteOrigin () const
 
virtual void setGeometricCenter (const DtGeodeticCoord &)
 
const DtGeodeticCoord & geometricCenter () const
 
const
makVrv::DtVrlinkSimulatedBaseState
readableStateData () const
 
virtual bool updateDataBeforeCopy () const
 
virtual void setUpdateDataBeforeCopy (bool)
 

Protected Member Functions

virtual void createObject (const DtVector &center)
 
virtual void setupOffsets (const DtGeodeticCoord &)
 
virtual bool preserveOffsets () const
 
virtual void copy (makVrv::DtSimEntry *simEntry)
 
- Protected Member Functions inherited from makVrf::DtEnvironmentalCopyObject
virtual void write (std::ostringstream &str, const makVrv::DtVrlinkSimulatedBaseState *data, makVrv::DtUniqueID id)
 
virtual void write (std::ostringstream &str, const DtVrlinkSimulatedEnvironmentProcess *data, makVrv::DtUniqueID id)
 
virtual void read (std::istringstream &str, makVrv::DtVrlinkSimulatedBaseState *data)
 
virtual void read (std::istringstream &str, DtVrlinkSimulatedEnvironmentProcess *data)
 
virtual
makVrv::DtVrlinkSimulatedBaseState
createReadableStateData () const
 
- Protected Member Functions inherited from makVrf::DtCopyObject
virtual void write (std::ostringstream &str, const DtVrfObjectDataState *data)
 
virtual DtVrfObjectDataStatecreateReadableObjectStateData () const
 
virtual void read (std::istringstream &str, DtVrfObjectDataState *data)
 
virtual void checkCopyComplete ()
 
virtual bool copyOperationsPending () const
 
virtual void copyComplete ()
 
virtual bool cancelComplete () const
 
virtual void readComplete (std::istringstream &str)
 
virtual void checkPasteComplete ()
 
virtual bool pasteComplete () const
 
virtual int generateRequestId ()
 
virtual double groundHeight (const DtVector &currentLocal) const
 
virtual void slot_onStateViewUpdated (DtVrlinkSimulatedBaseStateView *state, makVrv::DtSimEntry *simEntry)
 
virtual DtVector offsetLocation (int, const DtVector &loc) const
 
virtual DtGeodeticCoord calculateOffsetPoint (const DtGeodeticCoord &start, const DtGeodeticCoord &end, double &altAboveTerrain, double &altAboveSeaLevel) const
 
virtual DtVector localLocation (const DtGeodeticCoord &, int) const
 
virtual void forceUpdate (DtVrlinkSimulatedBaseStateView *stateView, makVrv::DtSimEntry *simEntry)
 

Protected Attributes

DtVector myPosition
 
- Protected Attributes inherited from makVrf::DtEnvironmentalCopyObject
DtEnvironmentalFacadeCollectionmyFacade
 
bool myIsWeather
 
bool myIsCloudLayer
 
DtChangeWeatherCommand myWeatherCommand
 
DtChangeCloudLayerCommand myCloudLayerCommand
 
- Protected Attributes inherited from makVrf::DtCopyObject
makVrv::DtDemyDe
 
std::ostringstream myOutput
 
std::string myName
 
int myPasteFlags
 
DtVrfObjectDataStatemyReadableObjectStateData
 
makVrv::DtVrlinkSimulatedBaseStatemyReadableStateData
 
DtGeodeticCoord myCenter
 
CopyOffsets myOffsets
 
HeightOffsets myAltitudeAboveTerrain
 
HeightOffsets myAltitudeAboveSeaLevel
 
DtAltitudeClampType myAltitudeClampType
 
DtReferenceEllipsoid myReferenceEllipsoid
 
int myType
 
std::string myBuffer
 
DtGeodeticCoord myGeometricCenter
 
bool myIsLocal
 
bool myUpdateDataBeforeCopy
 
DtUUID myUUID
 
bool myUpdated
 
makVrv::DtSignalConnectionManager myStateViewConnections
 

Additional Inherited Members

- Public Types inherited from makVrf::DtCopyObject
enum  DtPasteFlags {
  DtPasteNewName = 0x00000001, DtPasteAppearance = 0x00000002, DtPasteHeading = 0x00000004, DtPasteEngagement = 0x00000008,
  DtPastePlan = 0x00000010, DtPasteAboveSeaLevel = 0x00000020, DtPasteAboveTerrain = 0x00000040, DtPasteFormation = 0x00000080,
  DtPasteStateProperties = 0x00000100, DtAllPasteFlags
}
 
- Public Attributes inherited from makVrf::DtCopyObject
boost::signals2::signal< void(DtCopyObject *)> signal_copyCancelled
 
boost::signals2::signal< void(DtCopyObject
*, const std::string &)> 
signal_copied
 
boost::signals2::signal< void(DtCopyObject
*, const std::string &)> 
signal_copyOperationPending
 
boost::signals2::signal< void(DtCopyObject *)> signal_pasted
 
boost::signals2::signal< void(DtCopyObject
*, const std::string &)> 
signal_pasteOperationPending
 
boost::signals2::signal< void(DtCopyObject *)> signal_pasteCancelled
 
- Protected Types inherited from makVrf::DtCopyObject
typedef std::vector< doubleHeightOffsets
 

Constructor & Destructor Documentation

makVrf::DtEnvironmentalShapeCopyObject::DtEnvironmentalShapeCopyObject ( makVrv::DtDe )
virtual makVrf::DtEnvironmentalShapeCopyObject::~DtEnvironmentalShapeCopyObject ( )
virtual

Member Function Documentation

virtual void makVrf::DtEnvironmentalShapeCopyObject::createFacade ( const DtGeodeticCoord &  origin)
virtual

Creates the facade that will be used to display a temp item during paste operation.

Reimplemented from makVrf::DtCopyObject.

virtual void makVrf::DtEnvironmentalShapeCopyObject::setOrigin ( const DtGeodeticCoord &  )
virtual

Should shift (rather than absolute location set) points by amount specified.

Reimplemented from makVrf::DtCopyObject.

virtual DtVector makVrf::DtEnvironmentalShapeCopyObject::origin ( ) const
virtual

If facade is available, returns the origin of the facade, else returns center(). Returns in local coordinates.

Reimplemented from makVrf::DtCopyObject.

virtual void makVrf::DtEnvironmentalShapeCopyObject::createObject ( const DtVector )
protectedvirtual

Creates the object locally or on the network. Default implementation does nothing. Vector is supplied in geocentric coordinates.

Reimplemented from makVrf::DtCopyObject.

virtual void makVrf::DtEnvironmentalShapeCopyObject::setupOffsets ( const DtGeodeticCoord &  )
protectedvirtual

Sets up offsets from geometric center. Default adds one offset from center() of object.

Reimplemented from makVrf::DtCopyObject.

virtual bool makVrf::DtEnvironmentalShapeCopyObject::preserveOffsets ( ) const
protectedvirtual

Returns true if offsets from origin should be preserved on paste. Default is false.

Reimplemented from makVrf::DtCopyObject.

virtual void makVrf::DtEnvironmentalShapeCopyObject::copy ( makVrv::DtSimEntry )
protectedvirtual

Starts copy process. Subclasses need to implement specific copy procedures.

Reimplemented from makVrf::DtCopyObject.

Member Data Documentation

DtVector makVrf::DtEnvironmentalShapeCopyObject::myPosition
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)