Itasca C++ Interface
Loading...
Searching...
No Matches
iintmodel.h
1#pragma once
2
3namespace zone
4{
8 {
9 public:
10 enum State { InContact =0x020,
11 InShearFailNow =0x100,
12 InShearFailPast =0x080,
13 InTensionFail =0x200,
14 InShearBondFail =0x400 };
15
20 virtual int32 getPropertyNumber(const string &propName) const=0;
24 virtual base::Property getPropertyValue(int propNo) const=0;
28 virtual void setPropertyValue(int propNo, const base::Property &val)=0;
30 virtual int32 getNumProperties()=0;
33 virtual string getPropertyName(int propNo)=0;
35 virtual bool isInContact() const=0;
37 virtual bool isSlippingNow() const=0;
39 virtual bool hasSlipped() const=0;
41 virtual uint32 GetState() const = 0;
42 virtual void SetState(const uint32 uMask) = 0;
43 virtual bool GetCanFail() const=0;
44 virtual string getShearStateLabel() const=0;
45 virtual string getNormalStateLabel() const=0;
46 };
47} // namespace zone
48// EoF
Definition property.h:25
Interface provides access to the constitutive model of a FLAC3D interface.
Definition iintmodel.h:8
virtual bool isSlippingNow() const =0
Returns true if is slipping now.
virtual base::Property getPropertyValue(int propNo) const =0
virtual bool isInContact() const =0
Returns true if the model considers itself in contact with something.
virtual bool hasSlipped() const =0
Returns true if has slipped in the past.
virtual string getPropertyName(int propNo)=0
virtual int32 getNumProperties()=0
Returns the number of properties in the model.
virtual int32 getPropertyNumber(const string &propName) const =0
virtual void setPropertyValue(int propNo, const base::Property &val)=0