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." )
80 GLSGEN_GLSDYNAMICPATH_EXPORT
GlsPathManager(
bool generateInstanceName =
false );
81 GLSGEN_GLSDYNAMICPATH_EXPORT GlsPathManager(
const GlsPathManager& that,
const bool generateNames );
86 static GLSGEN_GLSDYNAMICPATH_EXPORT
DisplayObject* CreateInstance();
88 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void SetAvailableAttributes(
unsigned int value ) DISTI_METHOD_OVERRIDE;
99 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void Draw(
void ) DISTI_METHOD_OVERRIDE;
101 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
bool Hit(
float x,
float y,
float z,
float scale,
const Vector& directionVector,
Vector* collisionPoint ) DISTI_METHOD_OVERRIDE;
103 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void SetValue(
int spec, va_list& args ) DISTI_METHOD_OVERRIDE;
119 GLSGEN_GLSDYNAMICPATH_EXPORT
PathObjectPair(
const PathObjectPair& );
124 GLSGEN_GLSDYNAMICPATH_EXPORT
const PathObjectPair&
operator=(
const PathObjectPair& );
125 GLSGEN_GLSDYNAMICPATH_EXPORT
void MakeAttribDict();
134 void SetDynamicPathByName(
const std::string& name )
139 std::string GetDynamicPathName()
const
167 _path = path ? *path : NULL;
173 _object =
object ? *
object : NULL;
177 void SetObjectByName(
const std::string& name )
182 std::string GetObjectName()
const
190 std::string _pathName;
191 std::string _objectName;
200 PathObjectPairArrayType& PathObjectPairArray() {
return _pathObjectPairArray; }
201 const PathObjectPairArrayType& PathObjectPairArray()
const {
return _pathObjectPairArray; }
206 GLSGEN_GLSDYNAMICPATH_EXPORT
void AnimationPct(
double pct );
243 PathObjectPairArrayType _pathObjectPairArray;
247 bool _recalcValueBounds;
249 void CalculateMinMaxValue();
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:436
Definition: dynamic_array.h:66
The disti::Group class. Implements groups of objects.
float MinTimeValue()
Definition: gls_path_manager.h:230
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
~PathObjectPair()
Destructor.
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter) DISTI_METHOD_OVERRIDE
virtual DistiAttributeBase & Resource(const char *name) DISTI_METHOD_OVERRIDE
Definition: gls_glo_file.h:988
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint) DISTI_METHOD_OVERRIDE
virtual void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
The disti::GlsDynamicPath class and global enumerations.
Contains a dynamic path and the object that path animates.
Definition: gls_path_manager.h:113
Definition: gls_dynamic_path.h:84
Definition: disti_metadata.h:186
virtual void Draw(void) DISTI_METHOD_OVERRIDE
const PathObjectPair & operator=(const PathObjectPair &)
Copy assignment.
char * InstanceName(void)
Definition: disti_metadata.h:668
virtual ~GlsPathManager()
void SetAnimationValue(float value)
Definition: gls_path_manager.h:64
virtual void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
virtual void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
float MaxTimeValue()
Definition: gls_path_manager.h:240
float MaxAnimationValue()
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:215
Definition: gls_resources.h:50
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: bmpimage.h:46
void AnimationPct(double pct)
PathObjectPair()
Constructor.
float MinAnimationValue()