|
FPInterfaceDesc * | GetDesc () |
|
virtual Interface_ID | GetID () |
|
|
|
virtual float | GetPathWidth () const =0 |
| Sets the path width. More...
|
|
virtual bool | SetPathWidth (float width)=0 |
| Sets the path width. More...
|
|
virtual float | GetLaneWidth () const =0 |
| Returns the lane width. More...
|
|
virtual bool | SetLaneWidth (float width)=0 |
| Sets the lane width. More...
|
|
virtual bool | GetPortalUnified () const =0 |
| Returns whether or not the portals are unified (or linked) More...
|
|
virtual void | SetPortalUnified (bool unified)=0 |
| Sets whether or not the portals are unified (or linked) More...
|
|
virtual LaneWeaveType | GetLaneWeave () const =0 |
| Returns the lane weave type. More...
|
|
virtual bool | SetLaneWeave (LaneWeaveType weave)=0 |
| Sets the lane weave type. More...
|
|
virtual int | GetPositionSeed () const =0 |
| Returns the position randomization seed. More...
|
|
virtual bool | SetPositionSeed (int seed)=0 |
| Sets the position randomization seed. More...
|
|
virtual int | GetGenderSeed () const =0 |
| Returns the gender randomization seed. More...
|
|
virtual bool | SetGenderSeed (int seed)=0 |
| Sets the gender randomization seed. More...
|
|
|
If the portals are unified, portal 1 parameters apply to both portals, and if not, portal 1 parameters apply only to portal 1.
Returns the flow density at the specified time
|
virtual float | GetDensity (TimeValue t) const =0 |
| Density is a value between 0.0 and 1.0, 0 meaning the portal releases no characters, and 1 meaning the portal releases the maximum allowable number of characters. More...
|
|
virtual bool | SetDensity (TimeValue t, float density)=0 |
| Sets the flow density at the specified time. More...
|
|
virtual float | GetSpeed (TimeValue t) const =0 |
| Returns the flow speed at the specified time. More...
|
|
virtual bool | SetSpeed (TimeValue t, float speed)=0 |
| Sets the flow speed at the specified time. More...
|
|
virtual float | GetRunningPercent (TimeValue t) const =0 |
| Returns the percent of runners at the specified time. More...
|
|
virtual bool | SetRunningPercent (TimeValue t, float runPercent)=0 |
| Sets the percent of runners at the specified time. More...
|
|
virtual float | GetGenderPercent (TimeValue t) const =0 |
| Returns the percent of females at the specified time. More...
|
|
virtual bool | SetGenderPercent (TimeValue t, float genderPercent)=0 |
| Sets the percent of females at the specified time. More...
|
|
|
If the portals are unified, portal 2 parameters are ignored, and if not, portal 2 parameters apply only to portal 2.
Returns the flow density of portal 2 at the specified time
|
virtual float | GetDensity2 (TimeValue t) const =0 |
| Density is a value between 0.0 and 1.0, 0 meaning the portal releases no characters, and 1 meaning the portal releases the maximum allowable number of characters. More...
|
|
virtual bool | SetDensity2 (TimeValue t, float density)=0 |
| Sets the flow density of portal 2 at the specified time. More...
|
|
virtual float | GetSpeed2 (TimeValue t) const =0 |
| Returns the flow speed of portal 2 at the specified time. More...
|
|
virtual bool | SetSpeed2 (TimeValue t, float speed)=0 |
| Sets the flow speed of portal 2 at the specified time. More...
|
|
virtual float | GetRunningPercent2 (TimeValue t) const =0 |
| Returns the percent of runners released from portal 2 at the specified time. More...
|
|
virtual bool | SetRunningPercent2 (TimeValue t, float runPercent)=0 |
| Sets the percent of runners released from portal 2 at the specified time. More...
|
|
virtual float | GetGenderPercent2 (TimeValue t) const =0 |
| Returns the percent of females released from portal 2 at the specified time. More...
|
|
virtual bool | SetGenderPercent2 (TimeValue t, float genderPercent)=0 |
| Sets the percent of females released from portal 2 at the specified time. More...
|
|
|
To edit the geometry of a flow, simply edit the points which make up the center line of the flow.
The sides are created based on the center line of points and the width of the flow.
If the points cannot generate a valid flow, then the flow is marked unusable. An unusable flow is displayed without lanes or marks, and with orange edges in the viewport, and no simulation will take place on it. If executed inside a hold, all functions which change the geometry can be undone. - See also
- ComputeSides(), IsPathUsable()
Returns the number of points in the center line of the flow
|
virtual int | GetNumPoints () const =0 |
| Returns the specified point. More...
|
|
virtual Point3 | GetPoint (int i) const =0 |
| Returns the specified point. More...
|
|
virtual bool | CanAddPoint (Point3 pt)=0 |
| Returns true if a valid flow will result from the point being appended to the flow and false if not. More...
|
|
virtual void | AddPoint (Point3 pt)=0 |
| Appends a point to the flow. More...
|
|
virtual bool | CanInsertPoint (int index, Point3 pt)=0 |
| Returns true if a valid flow will result from the point being inserted at the specified index, and false if not. More...
|
|
virtual bool | InsertPoint (int index, Point3 pt)=0 |
| Inserts a point in the flow. More...
|
|
virtual bool | SetPoint (int index, Point3 pt)=0 |
| Sets a point in the flow. More...
|
|
virtual bool | DeletePoint (int index)=0 |
| Deletes a point in the flow. More...
|
|
virtual bool | SetPointSelected (int index, bool selected)=0 |
| Selects or deselects a point in the flow. More...
|
|
|
A ramp consists of a single inclined or flat segment in a flow surrounded by two landing segments.
The points at the start and end of a ramp are called creases. The points of the ramp creases can not be set directly. Instead, they must be set with the crease percent. The crease percent indicates how far a ramp crease is between the ends of the surrounding landings.
It is a value between 0.0 and 1.0. A value of 0.0 indicates that the crease is just slightly past the start of the landing before the ramp. A value of 1.0 indicates that the crease is just slightly before the end of the last landing segment. The crease percent at the start of the ramp must be less than the crease percent at the end of the ramp.
|
virtual bool | CreateRamp (int index)=0 |
| Creates a ramp. More...
|
|
virtual bool | DeleteRamp (int index)=0 |
| Deletes a ramp. More...
|
|
virtual bool | IsRamp (int index)=0 |
| Returns whether or not the specified index is at the starting crease of a ramp. More...
|
|
virtual bool | IsLanding (int index)=0 |
| Returns whether or not the specified index is at the start of a ramp landing segment. More...
|
|
virtual float | GetCreasePercent (int index) const =0 |
| Returns the crease percent. More...
|
|
virtual bool | SetCreasePercent (int index, float percent)=0 |
| Sets the crease percent. More...
|
|
virtual void | SetRamp (int index)=0 |
| Sets points to be creases. More...
|
|
|
Computes the sides of the flow
|
virtual bool | ComputeSides (bool forceComputation=true)=0 |
| When you add, insert, set, or delete points, or add, delete or change a ramp, an internal flag is set indicating that the flow has changed and the sides need to be recomputed. More...
|
|
virtual bool | IsPathUsable ()=0 |
| Returns whether or not the flow is usable. More...
|
|
virtual float | GetDefaultPathWidth () const =0 |
| Returns the default path width. More...
|
|
virtual Color | GetInvalidPathColor () const =0 |
| Returns the color of the edges of an unusable flow. More...
|
|
virtual void | StoreLastKnownGoodPoints ()=0 |
| Temporarily stores the flow points. More...
|
|
virtual void | RestoreLastKnownGoodPoints ()=0 |
| Restores the temporarily stored points. More...
|
|
| FPMixinInterface () |
|
virtual LifetimeType | LifetimeControl () |
|
virtual CoreExport bool | RegisterNotifyCallback (InterfaceNotifyCallback *incb) |
|
virtual void | UnRegisterNotifyCallback (InterfaceNotifyCallback *incb) |
|
CoreExport | ~FPMixinInterface () |
|
virtual BaseInterface * | GetInterface (Interface_ID id) |
|
virtual FPInterfaceDesc * | GetDescByID (Interface_ID id) |
|
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL) |
|
virtual FPStatus | Invoke (FunctionID fid, FPParams *params) |
|
virtual CoreExport FPStatus | Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL) |
|
virtual FPStatus | Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL) |
|
virtual CoreExport FunctionID | FindFn (const MCHAR *name) |
|
virtual CoreExport BOOL | IsEnabled (FunctionID actionID) |
|
virtual CoreExport BOOL | IsChecked (FunctionID actionID) |
|
virtual CoreExport BOOL | IsVisible (FunctionID actionID) |
|
virtual CoreExport FunctionID | GetIsEnabled (FunctionID actionID) |
|
virtual CoreExport FunctionID | GetIsChecked (FunctionID actionID) |
|
virtual CoreExport FunctionID | GetIsVisible (FunctionID actionID) |
|
virtual ActionTable * | GetActionTable () |
|
virtual void | EnableActions (BOOL onOff) |
|
virtual UtilExport | ~BaseInterface () |
| Destructor. More...
|
|
virtual BaseInterface * | AcquireInterface () |
|
virtual void | ReleaseInterface () |
|
virtual void | DeleteInterface () |
|
virtual BaseInterface * | CloneInterface (void *remapDir=NULL) |
|
virtual UtilExport | ~InterfaceServer () |
| Destructor. More...
|
|
template<class InterfaceType > |
InterfaceType * | GetTypedInterface () |
|
|
static IPopulateFlow * | GetPopulateFlowInterface (Object *obj) |
| Gets the interface to a Populate Flow object. More...
|
|
static UtilExport void * | operator new (size_t size) |
| Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
| Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate arrays of objects. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void | operator delete (void *ptr) |
| Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
| Placement new operator. More...
|
|
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
| Placement delete operator. More...
|
|
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
| Allocates memory on a specified alignment boundary. More...
|
|
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
| Reallocates memory on a specified alignment boundary. More...
|
|
static UtilExport void | aligned_free (void *ptr) |
| Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
|
|