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;
72 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
79 GLSGEN_GLSDYNAMICPATH_EXPORT
GlsPathManager(
bool generateInstanceName =
false );
80 GLSGEN_GLSDYNAMICPATH_EXPORT GlsPathManager(
const GlsPathManager& that,
const bool generateNames );
85 static GLSGEN_GLSDYNAMICPATH_EXPORT
DisplayObject* CreateInstance();
98 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void Draw(
void );
100 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
bool Hit(
float x,
float y,
float z,
float scale,
const Vector& directionVector,
Vector* collisionPoint );
102 virtual GLSGEN_GLSDYNAMICPATH_EXPORT
void SetValue(
int spec, va_list& args );
118 GLSGEN_GLSDYNAMICPATH_EXPORT
PathObjectPair(
const PathObjectPair& );
123 GLSGEN_GLSDYNAMICPATH_EXPORT
const PathObjectPair&
operator=(
const PathObjectPair& );
124 GLSGEN_GLSDYNAMICPATH_EXPORT
void MakeAttribDict();
133 void SetDynamicPathByName(
const std::string& name )
138 std::string GetDynamicPathName()
const
166 _path = path ? *path : NULL;
172 _object =
object ? *
object : NULL;
176 void SetObjectByName(
const std::string& name )
181 std::string GetObjectName()
const
189 std::string _pathName;
190 std::string _objectName;
199 PathObjectPairArrayType& PathObjectPairArray() {
return _pathObjectPairArray; }
200 const PathObjectPairArrayType& PathObjectPairArray()
const {
return _pathObjectPairArray; }
205 GLSGEN_GLSDYNAMICPATH_EXPORT
void AnimationPct(
double pct );
242 PathObjectPairArrayType _pathObjectPairArray;
246 bool _recalcValueBounds;
248 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:436
Definition: dynamic_array.h:66
The disti::Group class. Implements groups of objects.
virtual void SetValue(int spec, va_list &args)
float MinTimeValue()
Definition: gls_path_manager.h:229
virtual DistiAttributeBase & Resource(const char *name)
~PathObjectPair()
Destructor.
Definition: gls_glo_file.h:988
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:112
Definition: gls_dynamic_path.h:84
Definition: disti_metadata.h:186
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
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:63
virtual void CopyProperties(DisplayObject *src)
float MaxTimeValue()
Definition: gls_path_manager.h:239
virtual void SetAvailableAttributes(unsigned int value)
float MaxAnimationValue()
void CurrentTimeValue(float value)
Definition: gls_path_manager.h:214
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()