Itasca C++ Interface
Loading...
Searching...
No Matches
3dec
block
interface
icontactarray.h
Go to the documentation of this file.
1
#pragma once
2
// icontactarray.h
3
9
namespace
itasca
10
{
11
class
IContainer;
12
class
IThing;
13
}
14
15
namespace
block
16
{
17
using namespace
itasca
;
18
19
class
IContactThing;
20
23
class
IContactArray
24
{
25
public
:
26
28
virtual
const
IThing
*
getIThing
()
const
=0;
30
virtual
IThing
*
getIThing
()=0;
32
virtual
const
IContainer
*
getIContainer
()
const
=0;
34
virtual
IContainer
*
getIContainer
() =0;
36
virtual
const
IContactThing
*
findContactWithID
(quint64
id
)
const
=0;
38
virtual
IContactThing
*
findContactWithID
(quint64
id
)=0;
40
virtual
quint32
getContactType
()
const
=0;
42
virtual
quint64
getNumContacts
()
const
=0;
44
virtual
IContactThing
*
findContact
(
const
DVect3 &dv)=0;
45
47
virtual
uint
getContactExtraNotice
()
const
=0;
49
virtual
uint
getGroupNotice
()
const
=0;
51
virtual
uint
getModelNotice
()
const
=0;
53
virtual
uint
getMaterialNotice
()
const
=0;
54
};
55
56
}
// end namespace block
57
// EOF
block::IContactArray
This interface provides access to contact thing array.
Definition
icontactarray.h:24
block::IContactArray::getContactType
virtual quint32 getContactType() const =0
Returns the contact type identifier.
block::IContactArray::getGroupNotice
virtual uint getGroupNotice() const =0
Returns tag for group change notice.
block::IContactArray::getContactExtraNotice
virtual uint getContactExtraNotice() const =0
Returns the tag for the contact extra variable change notice.
block::IContactArray::findContact
virtual IContactThing * findContact(const DVect3 &dv)=0
Return contact closest to input location.
block::IContactArray::findContactWithID
virtual IContactThing * findContactWithID(quint64 id)=0
Returns a pointer to the contact, IContactThing, with the ID id, or 0 if the contact does not exist.
block::IContactArray::getIContainer
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of contacts.
block::IContactArray::getIThing
virtual const IThing * getIThing() const =0
Returns a const pointer to an IThing interface representing the IContactArray.
block::IContactArray::getIContainer
virtual IContainer * getIContainer()=0
Returns a pointer to the IContainer interface representing the global list of contacts.
block::IContactArray::getNumContacts
virtual quint64 getNumContacts() const =0
Returns number of contacts in the container.
block::IContactArray::getIThing
virtual IThing * getIThing()=0
Returns a pointer to an IThing interface representing the IContactArray.
block::IContactArray::findContactWithID
virtual const IContactThing * findContactWithID(quint64 id) const =0
Returns a const pointer to the contact, IContactThing, with the ID id, or 0 if the contact does not e...
block::IContactArray::getMaterialNotice
virtual uint getMaterialNotice() const =0
Returns the tag for material change notice.
block::IContactArray::getModelNotice
virtual uint getModelNotice() const =0
Returns the tag for model change notice.
block::IContactThing
Definition
icontactthing.h:31
itasca::IContainer
Interface for containers of IThings.
Definition
icontainer.h:21
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:30
itasca
namespace Itasca
Definition
basememory.cpp:14
Generated by
1.10.0