Workspace 6.21.5
|
MeshModelInterface implementation that has no node data of its own, rather it references data in an existing mesh, and "inherits" a set of nodes in a parent mesh. It is ideal for reusing point cloud data that is hierarchically represented.
#include <Mesh/DataStructures/MeshModelInterface/hierarchicalreferencemeshmodelinterface.h>
Protected Member Functions | |
bool | fastAssignFrom (const MeshModelInterface &other) override |
Protected Member Functions inherited from TypedMeshModelInterface< HierarchicalReferenceMeshModelInterface > | |
TypedMeshModelInterface () | |
TypedMeshModelInterface (const TypedMeshModelInterface &other) | |
virtual bool | fastAssignFrom (const MeshModelInterface &other)=0 |
Additional Inherited Members | |
Public Types inherited from MeshModelInterface | |
using | int_type = qint32 |
using | MetaData = DataExecution::ObjectDictionary |
typedef ItemHandle::size_type | size_type |
Static Public Member Functions inherited from MeshModelInterface | |
static MeshModelInterface * | createDefault () |
|
override |
void addNodeHandle | ( | NodeHandle | handle | ) |
|
overridevirtual |
Implements MeshModelInterface.
|
overridevirtual |
elementType | The type of element we want to check if attachment info exists for |
Implements MeshModelInterface.
|
overridevirtual |
Derived classes should return their derived type.
Implements MeshModelInterface.
|
overridevirtual |
elementType | The type of element we want discard attachment info for |
Implements MeshModelInterface.
|
overridevirtual |
Depending on the implementation, removing nodes or elements may just mark their index as invalid rather than completely removing it from internal lists/storage. It should also be noted that removing a node does not guarantee any bookkeeping to update any attached elements, calling code is responsible for this if needed. Specific implementations of MeshModelInterface can use emptyTrash to completely remove any stored nodes and elements (e.g. in a single more efficient way after multiple remove operations) and can optionally use this to remove elements now referencing invalid nodes. This behaviour is implementation specific and calling code should check specific implementation class documentation.
Implements MeshModelInterface.
|
overrideprotectedvirtual |
Perform assignment from another MeshModelInterface. This method is called by operator=() allowing the derived class to check other.getFactory() to see if the other object is the same type as themselves or some other known MeshModelInterface implementation that they can cast for faster assignment (via the derived class assignment operator for example). If the derived class can not offer a fast assignment then it must return false signaling that an assignment should be performed using just the base class interface.
Implements MeshModelInterface.
|
overridevirtual |
Implements MeshModelInterface.
|
overridevirtual |
elementType | The type of attached element |
node | The node we're querying the attachments of |
Implements MeshModelInterface.
|
overridevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements MeshModelInterface.
|
overridevirtual |
Derived class should return MeshElementsInterface::getNullMeshElementsInterface() if an unsupported type is requested. This should be consistent with calls to isElementTypeSupported().
Implements MeshModelInterface.
|
overridevirtual |
Implements MeshModelInterface.
|
overridevirtual |
Implements MeshModelInterface.
|
overridevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements MeshModelInterface.
|
overridevirtual |
Implements MeshModelInterface.
|
overridevirtual |
Implements MeshModelInterface.
HierarchicalReferenceMeshModelInterface & operator= | ( | const HierarchicalReferenceMeshModelInterface & | other | ) |
void setParent | ( | HierarchicalReferenceMeshModelInterface & | parent | ) |
void setReferencedNodes | ( | MeshNodesInterface & | referenceNodes | ) |