Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * Copyright 2009-2011 Jörg Hermann Müller 00005 * 00006 * This file is part of AudaSpace. 00007 * 00008 * Audaspace is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * AudaSpace is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with Audaspace; if not, write to the Free Software Foundation, 00020 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00021 * 00022 * ***** END GPL LICENSE BLOCK ***** 00023 */ 00024 00030 #ifndef AUD_I3DHANDLE 00031 #define AUD_I3DHANDLE 00032 00033 #include "AUD_Space.h" 00034 #include "AUD_3DMath.h" 00035 00039 class AUD_I3DHandle 00040 { 00041 public: 00045 virtual ~AUD_I3DHandle() {} 00046 00051 virtual AUD_Vector3 getSourceLocation()=0; 00052 00058 virtual bool setSourceLocation(const AUD_Vector3& location)=0; 00059 00064 virtual AUD_Vector3 getSourceVelocity()=0; 00065 00071 virtual bool setSourceVelocity(const AUD_Vector3& velocity)=0; 00072 00077 virtual AUD_Quaternion getSourceOrientation()=0; 00078 00084 virtual bool setSourceOrientation(const AUD_Quaternion& orientation)=0; 00085 00086 00092 virtual bool isRelative()=0; 00093 00100 virtual bool setRelative(bool relative)=0; 00101 00106 virtual float getVolumeMaximum()=0; 00107 00113 virtual bool setVolumeMaximum(float volume)=0; 00114 00119 virtual float getVolumeMinimum()=0; 00120 00126 virtual bool setVolumeMinimum(float volume)=0; 00127 00134 virtual float getDistanceMaximum()=0; 00135 00143 virtual bool setDistanceMaximum(float distance)=0; 00144 00149 virtual float getDistanceReference()=0; 00150 00156 virtual bool setDistanceReference(float distance)=0; 00157 00162 virtual float getAttenuation()=0; 00163 00170 virtual bool setAttenuation(float factor)=0; 00171 00176 virtual float getConeAngleOuter()=0; 00177 00183 virtual bool setConeAngleOuter(float angle)=0; 00184 00189 virtual float getConeAngleInner()=0; 00190 00196 virtual bool setConeAngleInner(float angle)=0; 00197 00204 virtual float getConeVolumeOuter()=0; 00205 00213 virtual bool setConeVolumeOuter(float volume)=0; 00214 }; 00215 00216 #endif //AUD_I3DHANDLE