00001 #ifndef __GU_Revolve_h__ 00002 #define __GU_Revolve_h__ 00003 00004 #include "GU_API.h" 00005 #include "GU_Detail.h" 00006 #include "GU_Cap.h" 00007 00008 typedef enum GU_RevolveType 00009 { 00010 GU_REVOLVE_CLOSED = 0, 00011 GU_REVOLVE_OPEN_ARC = 1, 00012 GU_REVOLVE_CLOSED_ARC = 2 00013 } enum_revolvetype; 00014 00015 class GU_API GU_RevolveParms 00016 { 00017 public: 00018 GU_RevolveParms(); 00019 00020 const GU_Detail *crossSection; 00021 GEO_SurfaceType type; 00022 GU_CircleType revType; 00023 float cx, cy, cz; 00024 float nx, ny, nz; 00025 float beginAngle; 00026 float endAngle; 00027 int divs; 00028 int order; 00029 int imperfect; 00030 int outputPolys; 00031 const GB_PrimitiveGroup *crossGroup; // cross section group 00032 }; 00033 00034 #endif
1.5.9