Ceetron Data Provider Framework
|
Public Member Functions | |
virtual void | addElementGroupInfo (cdp_int_t partId, const CDPString &name)=0 |
virtual CDPElementGroupInfo * | addElementGroupInfo ()=0 |
virtual void | setHasAdaptiveGeometry (bool hasAdaptiveGeo)=0 |
Contains information about one geometry.
A geometry contains one or more element groups and one or more node groups. The element groups can have individual node groups, or many element groups can share the same node group.
There are two ways to define what becomes "parts" in the host application from a data provider:
In the first case, each group becomes a part and the id and the name specified in the CDPGeometryInfo::addElementGroupInfo() is used for the part.
In the second case, you can add the element group info with the addElementGroupInfo() method (without parameters). You then add information about all the parts produced by this group with the CDPElementGroupInfo::addPartInfo() method.
There are two restrictions regarding part ids:
See CDPDataProvider::getGeometry() for more information about how geometries are used.
|
pure virtual |
Add information about one element group.
By using this method, all the elements in the group will become one part in the host and it will have the given name and id.
|
pure virtual |
Add information about one element group with sub-group part splitting
Use this method if you want to provide per element part assignment within this group. See description above for restrictions regarding use of part ids.
Use the CDPElementGroupInfo::addPartInfo() method to add meta data about each part produced from this group.
Per element part ids are provided with the CDPElementGroup::setElementPartIds() method.
|
pure virtual |
Specify if this geometry is adaptive or not.
If set to true, you will be asked to provide a CDPGeometry for each state in the analysis.
If set to false (default), the same geometry will be used for all states and you will only have to provide this once.