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
65 friend class GlsPathManagerEditor;
77 GLSGEN_GLSDYNAMICPATH_EXPORT
GlsPathManager(
bool generateInstanceName =
false );
78 GLSGEN_GLSDYNAMICPATH_EXPORT GlsPathManager(
const GlsPathManager& that,
const bool generateNames );
83 static GLSGEN_GLSDYNAMICPATH_EXPORT
DisplayObject* CreateInstance();
96 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void Draw(
void );
98 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
bool Hit(
float x,
float y,
float z,
float scale,
const Vector& directionVector,
Vector* collisionPoint );
100 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void SetValue(
int spec, va_list& args );
116 GLSGEN_GLSDYNAMICPATH_EXPORT
PathObjectPair(
const PathObjectPair& );
121 GLSGEN_GLSDYNAMICPATH_EXPORT
const PathObjectPair&
operator=(
const PathObjectPair& );
122 GLSGEN_GLSDYNAMICPATH_EXPORT
void MakeAttribDict();
131 void SetDynamicPathByName(
const std::string& name )
136 std::string GetDynamicPathName()
const
164 _path = path ? *path : NULL;
170 _object =
object ? *
object : NULL;
174 void SetObjectByName(
const std::string& name )
179 std::string GetObjectName()
const
187 std::string _pathName;
188 std::string _objectName;
197 PathObjectPairArrayType& PathObjectPairArray() {
return _pathObjectPairArray; }
198 const PathObjectPairArrayType& PathObjectPairArray()
const {
return _pathObjectPairArray; }
203 GLSGEN_GLSDYNAMICPATH_EXPORT
void AnimationPct(
double pct );
240 PathObjectPairArrayType _pathObjectPairArray;
244 bool _recalcValueBounds;
246 void CalculateMinMaxValue();
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter)
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:388
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:227
virtual DistiAttributeBase & Resource(const char *name)
~PathObjectPair()
Destructor.
Definition: gls_glo_file.h:982
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
The disti::GlsDynamicPath class and global enumerations.
Contains a dynamic path and the object that path animates.
Definition: gls_path_manager.h:110
Definition: gls_dynamic_path.h:84
Definition: disti_metadata.h:182
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
const PathObjectPair & operator=(const PathObjectPair &)
Copy assignment.
char * InstanceName(void)
Definition: disti_metadata.h:660
virtual ~GlsPathManager()
void SetAnimationValue(float value)
Definition: gls_path_manager.h:63
virtual void CopyProperties(DisplayObject *src)
float MaxTimeValue()
Definition: gls_path_manager.h:237
virtual void SetAvailableAttributes(unsigned int value)
float MaxAnimationValue()
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:212
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)
PathObjectPair()
Constructor.
float MinAnimationValue()