VR-Vantage 3.0 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
ssInterface Class Reference

Public Member Functions

 ssInterface ()
virtual ~ssInterface ()
void copySensor (ssSensor *sensor, int index=0, bool copyToCI=false)
int getNumberSensors ()
void copyObject (ssObject *object, int index=0, bool copyToCI=false)
int getNumberObjects ()
void copyTerrain (ssObject *terrain, bool copyToCI=false)
void copyEnvironment (ssEnvironment *environment, bool copyToCI=false)
void copyScenario (ssEnvironment *environment, bool copyToCI=false)
void setDataDirectory (char *path)
char * getDataDirectory ()
int getSceneWidth ()
void setSceneWidth (int width)
int getSceneHeight ()
void setSceneHeight (int height)
void getSensorOrientation (double &h, double &p, double &r)
void getSensorPosition (double &lat, double &lng, double &alt)
void setSensorOrientation (double h, double p, double r)
void setSensorPosition (double lat, double lng, double alt)
void getSensorWorldPosition (double &lat, double &lng, double &alt)
void setSensorWorldPosition (double lat, double lng, double alt)
void setCiInterfaceSS (ciInterface *ciInterface)

Protected Attributes

char m_dataDirectoryPath [SIGSIM_STRING_SIZE]
int m_activeSensor
double m_sensorPos [3]
double m_sensorOrientation [3]
double m_sensorWorldPos [3]
int m_sceneWindowWidth
int m_sceneWindowHeight
ciInterfacem_ciInterfaceSs

Constructor & Destructor Documentation

ssInterface::ssInterface ( )
Default constructor.
virtual ssInterface::~ssInterface ( )
virtual
Default destructor.

Member Function Documentation

void ssInterface::copySensor ( ssSensor sensor,
int  index = 0,
bool  copyToCI = false 
)
Copies the sensor data object in the ssSensor.
Parameters
sensor- ssSensor to copy into
Returns
int ssInterface::getNumberSensors ( )
inline
Gets the number of sensor data objects in the interface.
Returns
number of sensors
void ssInterface::copyObject ( ssObject object,
int  index = 0,
bool  copyToCI = false 
)
Copies the object data in the interface.
Parameters
object- ssObject to copy into
Returns
int ssInterface::getNumberObjects ( )
Gets the number of Objects.
Parameters
\returnthe number of Objects in this object list
void ssInterface::copyTerrain ( ssObject terrain,
bool  copyToCI = false 
)
Gets the terrain data object in the interface.
Parameters
terrain- ssObject to copy into
Returns
void ssInterface::copyEnvironment ( ssEnvironment environment,
bool  copyToCI = false 
)
Gets the environment data object in the interface.
Parameters
environment- sgEnvironment to copy into
context- sgImagerContext to copy into
Returns
void ssInterface::copyScenario ( ssEnvironment environment,
bool  copyToCI = false 
)
Gets the scenario data object in the interface.
Parameters
scenario- sgScenario to copy into
context- sgImagerContext to copy into
Returns
void ssInterface::setDataDirectory ( char *  path)
Sets the data directory path in the interface.
Parameters
path- data directory path that is set
Returns
char* ssInterface::getDataDirectory ( )
inline
Gets the data directory path in the interface.
Returns
data directory path that is set
int ssInterface::getSceneWidth ( )
inline
Returns
int
void ssInterface::setSceneWidth ( int  width)
inline
Parameters
intwidth
int ssInterface::getSceneHeight ( )
inline
Returns
int
void ssInterface::setSceneHeight ( int  height)
inline
Parameters
intheight
void ssInterface::getSensorOrientation ( double &  h,
double &  p,
double &  r 
)
Gets orientation out of the interface
Returns
void
void ssInterface::getSensorPosition ( double &  lat,
double &  lng,
double &  alt 
)
Gets Position out of the interface
Returns
void
void ssInterface::setSensorOrientation ( double  h,
double  p,
double  r 
)
Sets Position out of the interface
Returns
void
void ssInterface::setSensorPosition ( double  lat,
double  lng,
double  alt 
)
Sets Position out of the interface
Returns
void
void ssInterface::getSensorWorldPosition ( double &  lat,
double &  lng,
double &  alt 
)
gets world Position out of the interface
Returns
void
void ssInterface::setSensorWorldPosition ( double  lat,
double  lng,
double  alt 
)
sets world Position out of the interface
Returns
void
void ssInterface::setCiInterfaceSS ( ciInterface ciInterface)
inline

Member Data Documentation

char ssInterface::m_dataDirectoryPath[SIGSIM_STRING_SIZE]
protected
int ssInterface::m_activeSensor
protected
double ssInterface::m_sensorPos[3]
protected
double ssInterface::m_sensorOrientation[3]
protected
double ssInterface::m_sensorWorldPos[3]
protected
int ssInterface::m_sceneWindowWidth
protected
int ssInterface::m_sceneWindowHeight
protected
ciInterface* ssInterface::m_ciInterfaceSs
protected

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


Copyright © 2005-2022 MAK Technologies. All Rights Reserved (www.mak.com)