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;
71 GLSGEN_GLSDYNAMICPATH_EXPORT
GlsPathManager(
bool generateInstanceName=
false);
72 GLSGEN_GLSDYNAMICPATH_EXPORT GlsPathManager(
const GlsPathManager& that,
const bool generateNames );
77 static GLSGEN_GLSDYNAMICPATH_EXPORT
DisplayObject* CreateInstance();
90 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void Draw(
void);
92 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
bool Hit(
float x,
float y,
float z,
float scale,
const Vector& directionVector,
Vector* collisionPoint);
94 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();
117 if(!_attribDict) MakeAttribDict();
121 inline void SetDynamicPathByName(
const std::string &name )
126 inline std::string GetDynamicPathName()
183 inline void SetObjectByName(
const std::string &name )
188 inline std::string GetObjectName()
205 std::string _pathName;
206 std::string _objectName;
215 inline PathObjectPairArrayType& PathObjectPairArray() {
return _pathObjectPairArray; }
216 inline const PathObjectPairArrayType& PathObjectPairArray()
const {
return _pathObjectPairArray; }
221 GLSGEN_GLSDYNAMICPATH_EXPORT
void AnimationPct(
double pct);
259 PathObjectPairArrayType _pathObjectPairArray;
263 bool _recalcValueBounds;
265 void CalculateMinMaxValue();
270 virtual GLS_EXPORT
void SetFromGloData(GlsGloFileAttribute &data);
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter)
Definition: dynamic_array.h:63
The disti::Group class. Implements groups of objects.
virtual void SetValue(int spec, va_list &args)
float MinTimeValue()
Definition: gls_path_manager.h:245
virtual DistiAttributeBase & Resource(const char *name)
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
The disti::GlsDynamicPath class and global enumerations.
Definition: gls_path_manager.h:104
Definition: gls_dynamic_path.h:87
Definition: disti_metadata.h:179
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
char * InstanceName(void)
Definition: disti_metadata.h:676
virtual ~GlsPathManager()
void SetAnimationValue(float value)
Definition: gls_path_manager.h:58
virtual void CopyProperties(DisplayObject *src)
float MaxTimeValue()
Definition: gls_path_manager.h:255
virtual void SetAvailableAttributes(unsigned int value)
float MaxAnimationValue()
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:230
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()