00001
00009 #ifndef IS3DDRAW_H
00010 #define IS3DDRAW_H
00011
00012 #include "IS3DCommon.H"
00013
00014 namespace IS3D {
00015
00016 class IS3DDraw
00017 {
00018 public:
00019
00020 static void poly3DOutline(const Array<Vector3> &polygon,
00021 RenderDevice *renderDevice,
00022 const Color4 &color=Color3::yellow());
00023
00024 static void poly3D(const Array<Vector3> &polygon,
00025 RenderDevice *renderDevice,
00026 const Color4 &color=Color3::yellow());
00027
00028 static void lineWithTristrip(const Array<Vector3> &points,
00029 const Vector3 &normal,
00030 const double &width,
00031 RenderDevice *renderDevice,
00032 const Color4 &color=Color3::black());
00033 static void cylinder(const Vector3 &startPoint,
00034 const Vector3 &endPoint,
00035 const double &startRadius,
00036 const double &endRadius,
00037 RenderDevice *renderDevice,
00038 const Color4 &color=Color3::yellow(),
00039 const int &numSections=10);
00040
00041 };
00042
00043 }
00044
00045 #endif
00046
00047