3#include "shared/interface/signal.h"
4#include "base/src/callback.h"
14 class IContainerContact;
23 class IRBlockTemplate;
28 using prop_signal = shared::Signal<const QString &,const QVariant &>;
110 virtual void populatePropertySets(QStringList *valueProps,QStringList *labelProps,QStringList *vectorProps)
const=0;
118 template <
class S,
void (S::*MFP)(IRBlock *,qu
int32,qu
int32,
void *)>
121 threadedCallbackObject(callback,v,useThreads);
Definition callback.h:130
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Interface for containers of IThings.
Definition icontainer.h:21
Interface to EnergyMap class.
Definition ienergymap.h:15
Interface to a "refining" cell space.
Definition icellspace.h:24
debug checked shorthand for std::numeric_limits<T>::
Definition limit.h:25
Definition ighostrblock.h:16
Definition irblockmodule.h:25
virtual IRBlock * findIRBlockClosestTo(const DVect &v, const double &radius=limits< double >::max())=0
Find the RBlock closest to v.
virtual const ICellSpace * getRBlockCellSpace() const =0
Return a const ICellSpace pointer to the RBlock cell space.
virtual void getIRBlocksInBoxList(const DExtent &d, FArray< IRBlock * > *ret, bool intersect=true)=0
Return the RBlocks in a box.
virtual uint getRBlockSelectNotice() const =0
Return the RBlock select notice.
virtual void populateAttributeSets(QStringList *scalarAtts, FArray< uint > *scalarNotices, QStringList *stringAtts, FArray< uint > *stringNotices, QStringList *vectorAtts, FArray< uint > *vectorNotices) const =0
Populates sets of property names based on their type.
virtual IRBlockTemplate * findIRBlockTemplateWithName(const QString &s)=0
Find the IRBlock with name s that is a template.
virtual IContainerContact * getIContainerRBlockRBlock()=0
Return the IContainerContact of RBlock-RBlock contacts.
virtual const IGhostRBlock * findIGhostRBlockWithID(quint64 id) const =0
Find the const IGhostRBlock with ID id;.
virtual uint getRBlockExtraNotice() const =0
Return the RBlock extra notice.
virtual const IRBlock * findIRBlockClosestTo(const DVect &v, const double &radius=limits< double >::max()) const =0
Find the const RBlock closest to v.
virtual uint getRBlockCycleNotice() const =0
Return the RBlock cycle notice.
virtual IContainer * getIContainerRBlock()=0
Return the IContainer of the RBlocks.
virtual IRBlock * findIRBlockWithID(quint64 id)=0
Find the IRBlock with ID id.
virtual uint getRBlockHideNotice() const =0
Return the RBlock hide notice.
virtual bool collide(IRBlock *rb1, IRBlock *rb2) const =0
Returns a boolean indicating whether a two rigid blocks intersect.
virtual IContainer * getIContainerRBlockTemplate()=0
Return the IContainer of the RBlock templates.
virtual prop_signal * getPropertySignal() const =0
Return the signal associated with the addition of a new property.
virtual const IEnergyMap * getIRBlockEnergies() const =0
Return the EnergyMap attached to the rblocks.
virtual uint getRBlockGroupNotice() const =0
Return the RBlock group notice.
virtual const IContainer * getIContainerGhostRBlock() const =0
Return the const IContainer of the Ghost RBlocks.
virtual uint getRBlockPropertyNotice() const =0
Return the RBlock property notice.
virtual const IRBlock * findIRBlockWithID(quint64 id) const =0
Find the const IRBlock with ID id;.
virtual TType getRBlockTemplateType() const =0
Get the RBlock template TType.
shared::Signal< const QString &, const QVariant & > prop_signal
Typedef for the small granularity signal used to indicate to the gui that a propery has been added.
Definition irblockmodule.h:28
virtual const IRBlock * findIRBlockContaining(const DVect &v, QSet< quint64 > *skip=nullptr) const =0
Find the const RBlock containing to v.
virtual TType getRBlockType() const =0
Return the RBlock TType.
virtual uint getRBlockGeometryNotice() const =0
Return the RBlock geometry notice.
virtual const IContainerContact * getIContainerRBlockRBlock() const =0
Return the IContainerContact of RBlock-RBlock contacts.
virtual IContainer * getIContainerGhostRBlock()=0
Return the IContainer of the Ghost RBlocks.
virtual const IContainer * getIContainerRBlockTemplate() const =0
Return the const IContainer of the RBlock templates.
virtual const IRBlockTemplate * findIRBlockTemplateWithID(quint64 id) const =0
Find the const IRBlock with ID id that is a template;.
virtual uint getRBlockFixNotice() const =0
Return the RBlock fixity notice.
virtual IRBlock * findIRBlockContaining(const DVect &v, QSet< quint64 > *skip=nullptr)=0
Find the RBlock containing to v.
virtual void populatePropertySets(QStringList *valueProps, QStringList *labelProps, QStringList *vectorProps) const =0
Populates sets of property names based on their type.
virtual const IContainer * getIContainerRBlock() const =0
Return the const IContainer of the RBlocks.
virtual ICellSpace * getRBlockCellSpace()=0
Return an ICellSpace pointer to the RBlock cell space.
virtual IGhostRBlock * findIGhostRBlockWithID(quint64 id)=0
Find the IGhostRBlock with ID id.
virtual const IRBlockTemplate * findIRBlockTemplateWithName(const QString &s) const =0
Find the const IRBlock with name s that is a template;.
virtual IRBlockTemplate * findIRBlockTemplateWithID(quint64 id)=0
Find the IRBlock with ID id that is a template.
virtual TType getGhostRBlockType() const =0
Get the GhostRBlock TType.
void threadedCallbackMethod(S *s, void *v=nullptr, bool useThreads=true) const
Implementation of the multithreaded loop using the threadedCallbackObjectRBlock
Definition irblockmodule.h:119
Definition irblocktemplate.h:11
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:46
DExtent3 DExtent
A DExtent2 in 2D, a DExtent3 in 3D.
Definition dim.h:160
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4