40 #ifndef _GLSPATHMANAGER_H
41 #define _GLSPATHMANAGER_H
52 GLS_PATHMANAGER_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
53 GLS_PATHMANAGER_PATHOBJPAIR_COUNT,
54 GLS_PATHMANAGER_PATHOBJPAIR
60 friend class GlsPathManagerEditor;
72 GLSGEN_GLSDYNAMICPATH_EXPORT
GlsPathManager(
bool generateInstanceName =
false );
73 GLSGEN_GLSDYNAMICPATH_EXPORT GlsPathManager(
const GlsPathManager& that,
const bool generateNames );
78 static GLSGEN_GLSDYNAMICPATH_EXPORT
DisplayObject* CreateInstance();
91 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void Draw(
void );
93 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
bool Hit(
float x,
float y,
float z,
float scale,
const Vector& directionVector,
Vector* collisionPoint );
95 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void SetValue(
int spec, va_list& args );
109 GLSGEN_GLSDYNAMICPATH_EXPORT PathObjectPair(
const PathObjectPair& );
110 GLSGEN_GLSDYNAMICPATH_EXPORT ~PathObjectPair();
112 GLSGEN_GLSDYNAMICPATH_EXPORT
const PathObjectPair& operator=(
const PathObjectPair& );
113 GLSGEN_GLSDYNAMICPATH_EXPORT
void MakeAttribDict();
122 inline void SetDynamicPathByName(
const std::string& name )
127 inline std::string GetDynamicPathName()
184 inline void SetObjectByName(
const std::string& name )
189 inline std::string GetObjectName()
206 std::string _pathName;
207 std::string _objectName;
216 inline PathObjectPairArrayType& PathObjectPairArray() {
return _pathObjectPairArray; }
217 inline const PathObjectPairArrayType& PathObjectPairArray()
const {
return _pathObjectPairArray; }
222 GLSGEN_GLSDYNAMICPATH_EXPORT
void AnimationPct(
double pct );
259 PathObjectPairArrayType _pathObjectPairArray;
263 bool _recalcValueBounds;
265 void CalculateMinMaxValue();
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter)
Definition: dynamic_array.h:62
The disti::Group class. Implements groups of objects.
virtual void SetValue(int spec, va_list &args)
float MinTimeValue()
Definition: gls_path_manager.h:246
virtual DistiAttributeBase & Resource(const char *name)
Definition: gls_glo_file.h:835
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
The disti::GlsDynamicPath class and global enumerations.
Definition: gls_path_manager.h:105
Definition: gls_dynamic_path.h:84
Definition: disti_metadata.h:174
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
char * InstanceName(void)
Definition: disti_metadata.h:667
virtual ~GlsPathManager()
void SetAnimationValue(float value)
Definition: gls_path_manager.h:58
virtual void CopyProperties(DisplayObject *src)
float MaxTimeValue()
Definition: gls_path_manager.h:256
virtual void SetAvailableAttributes(unsigned int value)
float MaxAnimationValue()
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:231
virtual bool Hit(float x, float y, float z, float scale, const Vector &directionVector, Vector *collisionPoint)
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)
float MinAnimationValue()