49 #define DEF_SPHERE_STACKS 10 
   50 #define DEF_SPHERE_SLICES 10 
   51 #define DEF_SPHERE_SLICE_START 0.0f 
   52 #define DEF_SPHERE_SLICE_END 360.0f 
   53 #define DEF_SPHERE_STACK_START 0.0f 
   54 #define DEF_SPHERE_STACK_END 180.0f 
   70     GLS_SPHERE_MAPPING = GLS_LAST_INITIALIZER + 1,
 
   74     GLS_SPHERE_SLICE_START,
 
   76     GLS_SPHERE_STACK_START,
 
   86     void CommonConstructorInit();
 
  116     GLS_EXPORT 
void Resize( 
void );
 
  119     virtual GLS_EXPORT 
void SetValue( 
int spec, va_list& args );
 
  137     bool FirstHit( 
const Vector& point, 
const Vector& directionVector, 
Vector* collisionPoint );
 
  146     bool BestHit( 
const Vector& point, 
const Vector& directionVector, 
Vector* collisionPoint );
 
  149     DISTI_DEPRECATED( 
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
 
  153     friend class GlsSphereEditor;
 
  160     GLS_EXPORT 
GlsSphere( 
float x, 
float y, 
float z );
 
  163     GLS_EXPORT 
GlsSphere( 
bool newGlsSphere = true );
 
  181     virtual GLS_EXPORT 
void TextureIndex( 
int index );
 
  202     virtual GLS_EXPORT 
void GetExtents( 
float& x, 
float& y, 
float& z, 
float& x1, 
float& y1, 
float& z1 );
 
  205     virtual GLS_EXPORT 
void Draw( 
void );
 
  208     virtual GLS_EXPORT 
bool Hit( 
float x, 
float y, 
float z, 
float scale, const 
Vector& directionVector, 
Vector* collisionPoint );
 
  211     using BaseClass::
Scale;
 
  214     virtual GLS_EXPORT 
void Scale( 
float px, 
float py, 
float pz, 
Vertex* anchor, 
int handleBar );
 
  232     virtual GLS_EXPORT 
void Rotate( const 
Vector& orig, 
float angle, const 
Vector& axis );
 
  238     virtual GLS_EXPORT 
void SetFillColor( const 
GlsColor& color );
 
  244     virtual GLS_EXPORT 
GlsColor GetFillColor( 
void );
 
  289     virtual GLS_EXPORT 
void Slices( 
unsigned int slices );
 
  294     virtual GLS_EXPORT 
unsigned int Slices();
 
  299     virtual GLS_EXPORT 
void Stacks( 
unsigned int stacks );
 
  304     virtual GLS_EXPORT 
unsigned int Stacks();
 
  329 #define DEF_SPHERE_MAPPING GLS_SPHERE_SPHERICAL_MAP 
  336     virtual GLS_EXPORT ~DistiAttributeSphereMappingTypeEnum();
 
virtual void SetValue(int spec, va_list &args)
virtual float StackStartAngle()
virtual void Rotate(const Vector &orig, float angle, const Vector &axis)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute. 
Definition: gls_cpp_lang_support.h:436
glsSphereMapping_e
Definition: gls_sphere.h:59
virtual float SliceStartAngle()
virtual unsigned int Stacks()
Definition: dynamic_array.h:66
The disti::DynamicArray class. A templated array of objects capable of dynamically growing...
virtual unsigned int Slices()
glsSphereMapping_e TextureMappingType(void)
virtual bool GetPlaneVectorPoints(Vertex &p1, Vertex &p2, Vertex &p3, Vertex &planeVector)
glsSphereMapping_e _textureMappingType
Definition: gls_sphere.h:105
virtual void SetFillColor(const GlsColor &color)
virtual GlsColor GetFillColor(void)
The Color class: Implements a 4 component RGBA color. 
virtual float StackEndAngle()
virtual void SetRadii(const Vector &r1, const Vector &r2, const Vector &r3)
unsigned int _stacks
Definition: gls_sphere.h:99
A file for all GL Studio files to include. 
Definition: gls_glo_file.h:982
The disti::DisplayObject class and global enumerations. 
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1)
float _sliceStartDeg
Definition: gls_sphere.h:96
virtual void SetAvailableAttributes(unsigned int value)
Definition: disti_metadata.h:891
virtual int TextureIndex(void)
virtual DisplayObject * CloneObject(bool generateNames=false)
void SetResizeRecalculate()
GLS_Sphere_Initializers
Definition: gls_sphere.h:68
Definition: gls_color.h:53
Definition: gls_sphere.h:332
GlsColor _objectColor
Definition: gls_sphere.h:94
virtual void CalculateTextureCoordinates(void)
bool _needsResize
Definition: gls_sphere.h:103
virtual void CopyGeometry(DisplayObject *src)
float _stackStartDeg
Definition: gls_sphere.h:97
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
Definition: gls_sphere.h:61
virtual void GetRadii(Vector &r1, Vector &r2, Vector &r3)
virtual void CopyProperties(DisplayObject *src)
unsigned int _slices
Definition: gls_sphere.h:99
Definition: gls_sphere.h:82
Macros and helper code to determine what subset of C++11/14/17 is available. 
bool _needsRecalculate
Definition: gls_sphere.h:102
Definition: gls_sphere.h:62
Definition: disti_metadata.h:85
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint)
Definition: bmpimage.h:46
virtual float SliceEndAngle()
virtual void Scale(float px, float py, float pz, Vertex *anchor, int handleBar)
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)