40#ifndef INCLUDED_GLS_PATH_MANAGER_H
41#define INCLUDED_GLS_PATH_MANAGER_H
48#if defined( WIN32 ) && defined( GetObject )
57 GLS_PATHMANAGER_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
58 GLS_PATHMANAGER_PATHOBJPAIR_COUNT,
59 GLS_PATHMANAGER_PATHOBJPAIR,
60 GLS_PATHMANAGER_STRINGPATHOBJPAIR
66 friend class GlsPathManagerEditor;
73 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
150 return _path ? _path->InstanceName() : _pathName;
185 _path = path ? *path : NULL;
194 _object =
object ? *object : NULL;
207 return _object ? _object->InstanceName() : _objectName;
Definition: disti_metadata.h:734
Definition: disti_metadata.h:220
Definition: dynamic_array.h:79
Definition: gls_dynamic_path.h:86
Definition: gls_glo_file.h:1243
Definition: gls_path_manager.h:113
DisplayObject * GetObject() const
Definition: gls_path_manager.h:174
std::string _pathName
The name of the path object.
Definition: gls_path_manager.h:216
std::string GetObjectName() const
Definition: gls_path_manager.h:205
const PathObjectPair & operator=(const PathObjectPair &)
GlsDynamicPath * GetDynamicPath() const
Definition: gls_path_manager.h:161
PathObjectPair()
Constructor.
void SetDynamicPath(GlsDynamicPath *path)
Definition: gls_path_manager.h:155
GlsDynamicPath * _path
The path containing the animation data.
Definition: gls_path_manager.h:212
void SetDynamicPathByName(const std::string &name)
Definition: gls_path_manager.h:142
void SetObject(DisplayObject *object)
Definition: gls_path_manager.h:168
~PathObjectPair()
Destructor.
std::string GetDynamicPathName() const
Definition: gls_path_manager.h:148
DisplayObject * _object
The object to be animated by the path.
Definition: gls_path_manager.h:213
PathObjectPair(const PathObjectPair &)
Copy constructor.
DistiAttribDict & Attributes()
Definition: gls_path_manager.h:133
std::string _objectName
The name of the animation target object.
Definition: gls_path_manager.h:217
DistiAttribDict * _attribDict
The attribute dictionary for the members of this object.
Definition: gls_path_manager.h:219
void SetObjectByName(const std::string &name)
Definition: gls_path_manager.h:199
Definition: gls_path_manager.h:65
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:243
void CalculateMinMaxValue()
virtual void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
virtual void Draw() DISTI_METHOD_OVERRIDE
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
void SetAnimationValue(float value)
float MinTimeValue()
Definition: gls_path_manager.h:260
PathObjectPairArrayType & PathObjectPairArray()
Definition: gls_path_manager.h:226
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint) DISTI_METHOD_OVERRIDE
virtual void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
float MinAnimationValue()
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter) DISTI_METHOD_OVERRIDE
void AnimationPct(double pct)
float _maxValue
The maximum animation key value.
Definition: gls_path_manager.h:278
static DisplayObject * CreateInstance()
DynamicArray< PathObjectPair > PathObjectPairArrayType
Shorthand typedef for a list of path pairs.
Definition: gls_path_manager.h:222
float MaxTimeValue()
Definition: gls_path_manager.h:272
virtual DistiAttributeBase & Resource(const char *name) DISTI_METHOD_OVERRIDE
bool _recalcValueBounds
If true, _minValue and _maxValue will be recalculated.
Definition: gls_path_manager.h:279
const PathObjectPairArrayType & PathObjectPairArray() const
Definition: gls_path_manager.h:229
virtual void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
float _minValue
The minimum animation key value.
Definition: gls_path_manager.h:277
float MaxAnimationValue()
PathObjectPairArrayType _pathObjectPairArray
List of animation pairs to manage.
Definition: gls_path_manager.h:275
Definition: gls_resources.h:51
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
The disti::GlsDynamicPath class and global enumerations.
#define GLSGEN_GLSDYNAMICPATH_EXPORT
Provides support for creating DLLs.
Definition: gls_dynamic_path.h:55
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
The disti::Group class. Implements groups of objects.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47