Itasca C++ Interface
Loading...
Searching...
No Matches
rblock::IRBlockModule Class Referenceabstract

Public Types

using prop_signal = shared::Signal<const string &,const base::Property &>
 Typedef for the small granularity signal used to indicate to the gui that a propery has been added.

Public Member Functions

virtual TType getRBlockType () const =0
 Return the RBlock TType.
virtual TType getRBlockTemplateType () const =0
 Get the RBlock template TType.
virtual TType getGhostRBlockType () const =0
 Get the GhostRBlock TType.
virtual uint32 getRBlockGeometryNotice () const =0
 Return the RBlock geometry notice.
virtual uint32 getRBlockHideNotice () const =0
 Return the RBlock hide notice.
virtual uint32 getRBlockSelectNotice () const =0
 Return the RBlock select notice.
virtual uint32 getRBlockCycleNotice () const =0
 Return the RBlock cycle notice.
virtual uint32 getRBlockFixNotice () const =0
 Return the RBlock fixity notice.
virtual uint32 getRBlockPropertyNotice () const =0
 Return the RBlock property notice.
virtual uint32 getRBlockExtraNotice () const =0
 Return the RBlock extra notice.
virtual uint32 getRBlockGroupNotice () const =0
 Return the RBlock group notice.
virtual const IContainer * getIContainerRBlock () const =0
 Return the const IContainer of the RBlocks.
virtual IContainer * getIContainerRBlock ()=0
 Return the IContainer of the RBlocks.
virtual const IContainer * getIContainerRBlockTemplate () const =0
 Return the const IContainer of the RBlock templates.
virtual IContainer * getIContainerRBlockTemplate ()=0
 Return the IContainer of the RBlock templates.
virtual const IContainer * getIContainerGhostRBlock () const =0
 Return the const IContainer of the Ghost RBlocks.
virtual IContainer * getIContainerGhostRBlock ()=0
 Return the IContainer of the Ghost RBlocks.
virtual const IContainerContact * getIContainerRBlockRBlock () const =0
 Return the IContainerContact of RBlock-RBlock contacts.
virtual IContainerContact * getIContainerRBlockRBlock ()=0
 Return the IContainerContact of RBlock-RBlock contacts.
virtual const ICellSpace * getRBlockCellSpace () const =0
 Return a const ICellSpace pointer to the RBlock cell space.
virtual ICellSpace * getRBlockCellSpace ()=0
 Return an ICellSpace pointer to the RBlock cell space.
virtual const IRBlock * findIRBlockWithID (uint64 id) const =0
 Find the const IRBlock with ID id;.
virtual IRBlock * findIRBlockWithID (uint64 id)=0
 Find the IRBlock with ID id.
virtual const IRBlockTemplate * findIRBlockTemplateWithID (uint64 id) const =0
 Find the const IRBlock with ID id that is a template;.
virtual IRBlockTemplate * findIRBlockTemplateWithID (uint64 id)=0
 Find the IRBlock with ID id that is a template.
virtual const IRBlockTemplate * findIRBlockTemplateWithName (const QString &s) const =0
 Find the const IRBlock with name s that is a template;.
virtual IRBlockTemplate * findIRBlockTemplateWithName (const QString &s)=0
 Find the IRBlock with name s that is a template.
virtual const IGhostRBlock * findIGhostRBlockWithID (uint64 id) const =0
 Find the const IGhostRBlock with ID id;.
virtual IGhostRBlock * findIGhostRBlockWithID (uint64 id)=0
 Find the IGhostRBlock with ID id.
virtual const IRBlock * findIRBlockClosestTo (const DVect &v, const double &radius=limits< double >::max()) const =0
 Find the const RBlock closest to v.
virtual IRBlock * findIRBlockClosestTo (const DVect &v, const double &radius=limits< double >::max())=0
 Find the RBlock closest to v.
virtual const IRBlock * findIRBlockContaining (const DVect &v, std::set< uint64 > *skip=nullptr) const =0
 Find the const RBlock containing to v.
virtual IRBlock * findIRBlockContaining (const DVect &v, std::set< uint64 > *skip=nullptr)=0
 Find the RBlock containing to v.
virtual bool collide (IRBlock *rb1, IRBlock *rb2) const =0
 Returns a boolean indicating whether a two rigid blocks intersect.
virtual const IEnergyMap * getIRBlockEnergies () const =0
 Return the EnergyMap attached to the rblocks.
virtual int claimBit ()=0
virtual void releaseBit (int bit)=0
virtual void getIRBlocksInBoxList (const DExtent &d, FArray< IRBlock * > *ret, bool intersect=true)=0
 Return the RBlocks in a box.
virtual void getIRBlocksInBoxList (const DExtent &d, FArray< const IRBlock * > *ret, bool intersect=true)=0
virtual void populateAttributeSets (StringList *scalarAtts, FArray< uint32 > *scalarNotices, StringList *stringAtts, FArray< uint32 > *stringNotices, StringList *vectorAtts, FArray< uint32 > *vectorNotices) const =0
 Populates sets of property names based on their type.
virtual void populatePropertySets (StringList *valueProps, StringList *labelProps, StringList *vectorProps) const =0
 Populates sets of property names based on their type.
virtual prop_signal * getPropertySignal () const =0
 Return the signal associated with the addition of a new property.
virtual void threadedCallbackObject (Callback4< void, IRBlock *, uint32, uint32, void * > &callback, void *v=nullptr, bool useThreads=true) const =0
template<class S, void(S::*)(IRBlock *, uint32, uint32, void *) MFP>
void threadedCallbackMethod (S *s, void *v=nullptr, bool useThreads=true) const
 Implementation of the multithreaded loop using the threadedCallbackObjectRBlock.

The documentation for this class was generated from the following file: