Fixing problems with VA IFace

parent 900ebb8c
......@@ -255,7 +255,7 @@ public:
return CreateGeometryMeshFromParameters( oParams, sName );
};
virtual bool DeleteGeometryMesh( const int iID ) = 0;
virtual CVAGeometryMesh GetGeometryMeshInfo( const int iID ) const = 0;
virtual CVAGeometryMesh GetGeometryMesh( const int iID ) const = 0;
virtual void GetGeometryMeshIDs( std::vector< int >& viIDs ) const = 0;
virtual void SetGeometryMeshName( const int iID, const std::string& sName ) = 0;
virtual std::string GetGeometryMeshName( const int iID ) const = 0;
......@@ -541,27 +541,7 @@ public:
oParams[ "value" ] = sFilePath;
SetSignalSourceParameters( sSignalSourceID, oParams );
};
//! Adds a sound playback for a sequencer signal source
/**
* This method adds the playback of a sound for a sequencer signal source.
*
* \param sSignalSourceID ID of the sequencer signal source
* \param iSound ID of the sound
* \param iFlags Playback flags
* \param dTimecode Playback time (0 => instant playback)
*
* \return Playback ID
*/
virtual int AddSignalSourceSequencerSoundPlayback( const std::string& sSignalSourceID, const int iSoundID, const int iFlags, const double dTimecode = 0 ) = 0;
//! Removes an existing sound playback from a sequencer signal source
/**
* \return true, if the playback has been removed
* false, otherwise
*/
virtual bool RemoveSignalSourceSequencerSoundPlayback( const int iID ) = 0;
// TODO: AlterSoundPlayback?
//! Set parameters for a signal source
......@@ -772,17 +752,17 @@ public:
virtual void GetSoundSourcePose( const int iID, VAVec3& vPos, VAQuat& qOrient ) const = 0;
virtual void SetSoundSourcePose( const int iID, const VAVec3& vPos, const VAQuat& qOrient ) = 0;
virtual VAVec3 GetSoundSourcePosition( const int iID ) = 0;
virtual VAVec3 GetSoundSourcePosition( const int iID ) const = 0;
virtual void SetSoundSourcePosition( const int iID, const VAVec3& v3Pos ) = 0;
virtual VAQuat GetSoundSourceOrientation( const int iID ) = 0;
virtual VAQuat GetSoundSourceOrientation( const int iID ) const = 0;
virtual void SetSoundSourceOrientation( const int iID, const VAQuat& qOrient ) = 0;
virtual void GetSoundSourceOrientationVU( const int iID, VAVec3& v3View, VAVec3& v3Up ) = 0;
virtual void GetSoundSourceOrientationVU( const int iID, VAVec3& v3View, VAVec3& v3Up ) const = 0;
virtual void SetSoundSourceOrientationVU( const int iID, const VAVec3& v3View, const VAVec3& v3Up ) = 0;
//! Returns all sound receiver IDs
virtual void GetSoundReceiverIDs( std::vector< int >& viIDs ) = 0;
virtual void GetSoundReceiverIDs( std::vector< int >& viIDs ) const = 0;
//! Creates a sound receiver
/**
......@@ -891,7 +871,7 @@ public:
virtual void SetSoundReceiverPose( const int iID, const VAVec3& vPos, const VAQuat& qOrient ) = 0;
//! Position eines Hörers zurückgeben (Positionsvektor)
virtual VAVec3 GetSoundReceiverPosition( const int iID ) = 0;
virtual VAVec3 GetSoundReceiverPosition( const int iID ) const = 0;
//! Position eines Hörers setzen (Positionsvektor)
/**
......@@ -912,7 +892,7 @@ public:
virtual void SetSoundReceiverOrientation( const int iID, const VAQuat& qOrient ) = 0;
virtual VAQuat GetSoundReceiverHeadAboveTorsoOrientation( const int iID ) const = 0;
virtual void SetSoundReceiverHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient ) const = 0;
virtual void SetSoundReceiverHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient ) = 0;
//! Returns the position and orientation of the real-world listener's head
/**
......@@ -936,11 +916,12 @@ public:
* which goes through both ears.
*/
virtual void SetSoundReceiverRealWorldPositionOrientationVU( const int iID, const VAVec3& v3Pos, const VAVec3& v3View, const VAVec3& v3Up ) = 0;
virtual void GetSoundReceiverRealWorldPose( const int iID, VAVec3& v3Pos, VAQuat& qOrient ) const = 0;
virtual void SetSoundReceiverRealWorldPose( const int iID, const VAVec3& v3Pos, const VAQuat& qOrient ) = 0;
virtual VAQuat GetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID ) const = 0;
virtual void SetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient ) const = 0;
virtual void SetSoundReceiverRealWorldHeadAboveTorsoOrientation( const int iID, const VAQuat& qOrient ) = 0;
//! Set homogeneous medium sound speed in m/s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment