47#if( defined( GLSGEN_EXPORT_GLSODOMETER ) || defined( GLSGEN_IMPORT_GLSODOMETER ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
48 && defined( _MSC_VER )
49# if defined( GLSGEN_EXPORT_GLSODOMETER ) || defined( GLS_EXPORT_GENERATED )
50# define GLSGEN_GLSODOMETER_EXPORT __declspec( dllexport )
52# define GLSGEN_GLSODOMETER_EXPORT __declspec( dllimport )
55# define GLSGEN_GLSODOMETER_EXPORT
60#define LIB_BASE_NAME "gls_odometer"
68 GLS_GLSODOMETER_VALUE = GLS_LAST_INITIALIZER + 1,
69 GLS_GLSODOMETER_MIN_VALUE,
70 GLS_GLSODOMETER_MAX_VALUE,
71 GLS_GLSODOMETER_BASE_SYSTEM,
72 GLS_GLSODOMETER_BEHAVIOR_TYPE,
73 GLS_GLSODOMETER_GEOMETRY_TYPE,
74 GLS_GLSODOMETER_TEXTURE_SCALE,
75 GLS_GLSODOMETER_DEGREES_PER_DIGIT
81 friend class GlsOdometerEditor;
88 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
Definition: dynamic_array.h:79
Definition: gls_glo_file.h:1243
Definition: gls_odometer.h:225
Vector v4
The top left corner.
Definition: gls_odometer.h:230
Vector v2
The bottom right corner.
Definition: gls_odometer.h:228
Vector v3
The top right corner.
Definition: gls_odometer.h:229
Vector v1
The bottom left corner.
Definition: gls_odometer.h:227
Definition: gls_odometer.h:80
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
float _rolloverThreshold
The amount required to make the first digit roll over by one.
Definition: gls_odometer.h:214
virtual void BaseSystem(const int &value)
void CalculateRolloverThreshold()
void Value(const float &value)
float _degreesPerDigit
The amount to rotate the geometry for each digit. GeometryType == GEOMETRY_3D.
Definition: gls_odometer.h:213
virtual void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
GlsOdometerGeometryType
Definition: gls_odometer.h:134
virtual void Draw() DISTI_METHOD_OVERRIDE
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
virtual float DegreesPerDigit()
GlsOdometerBehaviorType _behavior
The "rollover" behavior in use.
Definition: gls_odometer.h:220
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
virtual GlsOdometerGeometryType GeometryType()
void RolloverThreshold(const float &value)
void GeometryType(const GlsOdometerGeometryType value)
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
void OrderOfMagnitude(const int &value)
GlsOdometerBehaviorType
Definition: gls_odometer.h:127
virtual DisplayObject * handle(DisplayEvent *ev) DISTI_METHOD_OVERRIDE
virtual void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
void MaxValue(const float &value)
void BehaviorType(const GlsOdometerBehaviorType value)
int _orderOfMagnitude
The number of digits (zeroes) the odometer can have.
Definition: gls_odometer.h:211
virtual GlsOdometerBehaviorType BehaviorType()
float _maxValue
The maximum value that can be represented on the wheels.
Definition: gls_odometer.h:217
float _textureScale
The amount in texture coordinates to move for each digit. GeometryType == GEOMETRY_2D.
Definition: gls_odometer.h:212
static DisplayObject * CreateInstance()
DynamicArray< TexturePoints > _startLoc
A list of start texture locations, one for each wheel.
Definition: gls_odometer.h:233
void MinValue(const float &value)
void DegreesPerDigit(const float &value)
virtual float TextureScale()
virtual float RolloverThreshold() const
virtual int OrderOfMagnitude() const
virtual void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
float _minValue
The minimum value that can be represented on the wheels.
Definition: gls_odometer.h:216
bool _textureLocSaved
True denotes that the texture locations have been saved off.
Definition: gls_odometer.h:234
float _currentValue
The current value displayed on the wheels.
Definition: gls_odometer.h:219
int _baseSystem
The base system represented, e.g. base 10.
Definition: gls_odometer.h:218
GlsOdometerGeometryType _geometry
The "movement" behavior in use.
Definition: gls_odometer.h:221
void TextureScale(const float &value)
void CalculateOrderOfMagnitude()
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:235
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
#define GLSGEN_GLSODOMETER_EXPORT
Provides support for creating DLLs.
Definition: gls_odometer.h:55
The disti::Group class. Implements groups of objects.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47