|
Katana Plug-in APIs 0.1
|
00001 #ifndef TRANSFORM_MANIPULATORS_MESH_GENERATION_H 00002 #define TRANSFORM_MANIPULATORS_MESH_GENERATION_H 00003 00004 #include <memory> 00005 00006 #include "FnViewer/utils/FnDrawable.h" 00007 00008 namespace Foundry 00009 { 00010 namespace Katana 00011 { 00012 namespace ViewerUtils 00013 { 00014 00015 void generateCylinder( 00016 const Vec3f& origin, float base, float top, float height, Drawable& mesh); 00017 00018 void generateSquare(const Vec3f& origin, float length, Drawable& mesh); 00019 00020 void generateCube(const Vec3f& origin, float length, Drawable& mesh); 00021 00022 void generateTorus( 00023 const Vec3f& origin, float centerRadius, float tubeRadius, Drawable& mesh); 00024 00025 void generateTriangle( 00026 const Vec3f& origin, float cathetusLength, float thickness, Drawable& mesh); 00027 00028 } // namespace ViewerUtils 00029 } // namespace Katana 00030 } // namespace Foundry 00031 00032 #endif // TRANSFORM_MANIPULATORS_MESH_GENERATION_H
1.7.3