|
Itasca C++ Interface
|
Interface provides access to the constitutive model of a FLAC3D interface. More...
#include <iintmodel.h>
Public Types | |
| enum | State { InContact =0x020 , InShearFailNow =0x100 , InShearFailPast =0x080 , InTensionFail =0x200 , InShearBondFail =0x400 } |
Public Member Functions | |
| virtual int32 | getPropertyNumber (const string &propName) const =0 |
| virtual base::Property | getPropertyValue (int propNo) const =0 |
| virtual void | setPropertyValue (int propNo, const base::Property &val)=0 |
| virtual int32 | getNumProperties ()=0 |
| Returns the number of properties in the model. | |
| virtual string | getPropertyName (int propNo)=0 |
| virtual bool | isInContact () const =0 |
| Returns true if the model considers itself in contact with something. | |
| virtual bool | isSlippingNow () const =0 |
| Returns true if is slipping now. | |
| virtual bool | hasSlipped () const =0 |
| Returns true if has slipped in the past. | |
| virtual uint32 | GetState () const =0 |
| virtual void | SetState (const uint32 uMask)=0 |
| virtual bool | GetCanFail () const =0 |
| virtual string | getShearStateLabel () const =0 |
| virtual string | getNormalStateLabel () const =0 |
Interface provides access to the constitutive model of a FLAC3D interface.
|
pure virtual |
Given a property ID, returns its name.
Parameter propNo must be from 0 to getNumProperties(). For a ID number outside the range, returns "Unknown".
|
pure virtual |
Given a property name, returns its ID.
Possible return values are from 0 to getNumProperties()-1.
A return value of -1 indicates no match for propName. Uses current setting for case sensitivity.
|
pure virtual |
Given a property ID, returns its value.
Parameter propNo must be from 0 to getNumProperties()-1.
|
pure virtual |
Sets the value for a given property ID number.
Parameter propNo must be from 0 to getNumProperties()-1.