39#ifndef INCLUDED_GLS_PATH_MANAGER_H
40#define INCLUDED_GLS_PATH_MANAGER_H
47#if defined( WIN32 ) && defined( GetObject )
56 GLS_PATHMANAGER_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
57 GLS_PATHMANAGER_PATHOBJPAIR_COUNT,
58 GLS_PATHMANAGER_PATHOBJPAIR,
59 GLS_PATHMANAGER_STRINGPATHOBJPAIR
65 friend class GlsPathManagerEditor;
72 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
149 return _path ? _path->InstanceName() : _pathName;
184 _path = path ? *path : NULL;
193 _object =
object ? *object : NULL;
206 return _object ? _object->InstanceName() : _objectName;
Definition: disti_metadata.h:750
Definition: disti_metadata.h:220
Definition: dynamic_array.h:79
Definition: gls_dynamic_path.h:85
Definition: gls_glo_file.h:1241
Definition: gls_path_manager.h:112
DisplayObject * GetObject() const
Definition: gls_path_manager.h:173
std::string _pathName
The name of the path object.
Definition: gls_path_manager.h:215
std::string GetObjectName() const
Definition: gls_path_manager.h:204
const PathObjectPair & operator=(const PathObjectPair &)
GlsDynamicPath * GetDynamicPath() const
Definition: gls_path_manager.h:160
PathObjectPair()
Constructor.
void SetDynamicPath(GlsDynamicPath *path)
Definition: gls_path_manager.h:154
GlsDynamicPath * _path
The path containing the animation data.
Definition: gls_path_manager.h:211
void SetDynamicPathByName(const std::string &name)
Definition: gls_path_manager.h:141
void SetObject(DisplayObject *object)
Definition: gls_path_manager.h:167
~PathObjectPair()
Destructor.
std::string GetDynamicPathName() const
Definition: gls_path_manager.h:147
DisplayObject * _object
The object to be animated by the path.
Definition: gls_path_manager.h:212
PathObjectPair(const PathObjectPair &)
Copy constructor.
DistiAttribDict & Attributes()
Definition: gls_path_manager.h:132
std::string _objectName
The name of the animation target object.
Definition: gls_path_manager.h:216
DistiAttribDict * _attribDict
The attribute dictionary for the members of this object.
Definition: gls_path_manager.h:218
void SetObjectByName(const std::string &name)
Definition: gls_path_manager.h:198
Definition: gls_path_manager.h:64
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:242
void CalculateMinMaxValue()
void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
DistiAttributeBase & Resource(const char *name) DISTI_METHOD_OVERRIDE
void SetAnimationValue(float value)
float MinTimeValue()
Definition: gls_path_manager.h:259
PathObjectPairArrayType & PathObjectPairArray()
Definition: gls_path_manager.h:225
void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
void GetResources(std::ostream &outstr, GlsResourceFilter *filter) DISTI_METHOD_OVERRIDE
float MinAnimationValue()
void AnimationPct(double pct)
float _maxValue
The maximum animation key value.
Definition: gls_path_manager.h:277
static DisplayObject * CreateInstance()
void Draw() DISTI_METHOD_OVERRIDE
DynamicArray< PathObjectPair > PathObjectPairArrayType
Shorthand typedef for a list of path pairs.
Definition: gls_path_manager.h:221
float MaxTimeValue()
Definition: gls_path_manager.h:271
bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint) DISTI_METHOD_OVERRIDE
bool _recalcValueBounds
If true, _minValue and _maxValue will be recalculated.
Definition: gls_path_manager.h:278
const PathObjectPairArrayType & PathObjectPairArray() const
Definition: gls_path_manager.h:228
float _minValue
The minimum animation key value.
Definition: gls_path_manager.h:276
float MaxAnimationValue()
DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
PathObjectPairArrayType _pathObjectPairArray
List of animation pairs to manage.
Definition: gls_path_manager.h:274
InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
Definition: gls_resources.h:49
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:245
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:487
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:221
The disti::GlsDynamicPath class and global enumerations.
#define GLSGEN_GLSDYNAMICPATH_EXPORT
Provides support for creating DLLs.
Definition: gls_dynamic_path.h:54
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:50
The disti::Group class. Implements groups of objects.
Definition: bmpimage.h:46