Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 /***************************************************/ 00009 /***************************************************/ 00010 00011 #ifndef STK_VECTOR3D_H 00012 #define STK_VECTOR3D_H 00013 00014 #include "Stk.h" 00015 00016 class Vector3D : public Stk 00017 { 00018 00019 public: 00021 Vector3D(StkFloat initX=0.0, StkFloat initY=0.0, StkFloat initZ=0.0); 00022 00024 ~Vector3D(); 00025 00027 StkFloat getX(); 00028 00030 StkFloat getY(); 00031 00033 StkFloat getZ(); 00034 00036 StkFloat getLength(); 00037 00039 void setXYZ(StkFloat x, StkFloat y, StkFloat z); 00040 00042 void setX(StkFloat x); 00043 00045 void setY(StkFloat y); 00046 00048 void setZ(StkFloat z); 00049 00050 protected: 00051 StkFloat myX_; 00052 StkFloat myY_; 00053 StkFloat myZ_; 00054 }; 00055 00056 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |