A container for a single "set" of body-block elements. A body-block set is a named collection of body-block elements (points, edges, polygons, blocks) as an organization layer.
More...
|
|
virtual const GeomBase * | getGeomBase () const =0 |
| |
|
virtual IThing * | getIThing ()=0 |
| | Return an IThing interface for this object.
|
| |
|
virtual const IThing * | getIThing () const =0 |
| | Return a const IThing interface for this object.
|
| |
|
virtual IBodySet * | getNext ()=0 |
| | Return the next IBodySet object in the global list, or 0 if it is the last set.
|
| |
|
virtual const IBodySet * | getNext () const =0 |
| | Return the next IBodySet object in the global list, or 0 if it is the last set.
|
| |
|
virtual QString | getName () const =0 |
| | Returns the name associated with the geometry set.
|
| |
| virtual uint | getGeometryCode () const =0 |
| |
|
virtual uint | getGroupCode () const =0 |
| | Returns a notification code (see INoticeManager) indicating that a group assignemnt on some element of the set.
|
| |
|
virtual uint | getExtraCode () const =0 |
| | Returns a notification code (see INoticeManager) indicating a possible extra variable change on some element of the set.
|
| |
|
virtual uint | getEdgeRatioChangedCode () const =0 |
| | Returns notification code for edgeRatio changed.
|
| |
|
virtual uint | getEdgeZoneSizeChangedCode () const =0 |
| | Returns notification code for edge zone size changed.
|
| |
|
virtual uint | getZoneMultiplierCode () const =0 |
| | Returns notification code for block zone multiplier changed.
|
| |
| virtual IGeomPoint * | createPoint (const DVect &pos)=0 |
| |
|
virtual IGeomPoint * | getFirstPoint ()=0 |
| | Returns the first IGeomPoint of all those contained in the set. Call IGeomPoint::getNextPoint() to traverse the list. May return 0.
|
| |
|
virtual const IGeomPoint * | getFirstPoint () const =0 |
| | Returns the first IGeomPoint of all those contained in the set. Call IGeomPoint::getNextPoint() to traverse the list. May return 0.
|
| |
|
virtual IGeomPoint * | findPointWithID (quint64 id)=0 |
| | Find the IGeomPoint with ID number matching id. This search will take less than linear time. May return 0.
|
| |
|
virtual const IGeomPoint * | findPointWithID (quint64 id) const =0 |
| | Find the IGeomPoint with ID number matching id. This search will take less than linear time. May return 0.
|
| |
| virtual IGeomPoint * | findClosestPoint (const DVect &pos, const double &radius=limits< double >::max(), bool validate=true)=0 |
| |
| virtual const IGeomPoint * | findClosestPoint (const DVect &pos, const double &radius=limits< double >::max(), bool validate=true) const =0 |
| |
|
virtual IContainer * | getPointContainer ()=0 |
| | Returns an IContainer interface pointer for the container of all IGeomPoint objects.
|
| |
|
virtual const IContainer * | getPointContainer () const =0 |
| | Returns an IContainer interface pointer for the container of all IGeomPoint objects.
|
| |
| virtual IGeomEdge * | createEdge (IGeomPoint *end1, IGeomPoint *end2)=0 |
| |
|
virtual IGeomEdge * | getFirstEdge ()=0 |
| | Returns the first IGeomEdge object of all those contained in the set. Call IGeomEdge::getNextEdge to traverse the list. May return 0.
|
| |
|
virtual const IGeomEdge * | getFirstEdge () const =0 |
| | Returns the first IGeomEdge object of all those contained in the set. Call IGeomEdge::getNextEdge to traverse the list. May return 0.
|
| |
|
virtual IGeomEdge * | findEdgeWithID (quint64 id)=0 |
| | Find the IGeomEdge with ID number matching id. This search will take less than linear time. May return 0.
|
| |
|
virtual const IGeomEdge * | findEdgeWithID (quint64 id) const =0 |
| | Find the IGeomEdge with ID number matching id. This search will take less than linear time. May return 0.
|
| |
| virtual IGeomEdge * | findClosestEdge (const DVect &pos, const double &radius=limits< double >::max())=0 |
| |
| virtual const IGeomEdge * | findClosestEdge (const DVect &pos, const double &radius=limits< double >::max()) const =0 |
| |
|
virtual IGeomEdge * | findMatchingEdge (const IGeomPoint *end1, const IGeomPoint *end2)=0 |
| | Searches for an existing edge data structure with nodes matching end1 and end2 (either way).
|
| |
|
virtual const IGeomEdge * | findMatchingEdge (const IGeomPoint *end1, const IGeomPoint *end2) const =0 |
| | Searches for an existing edge data structure with nodes matching end1 and end2 (either way).
|
| |
|
virtual IContainer * | getEdgeContainer ()=0 |
| | Returns an IContainer interface pointer for the container of all IGeomEdge objects.
|
| |
|
virtual const IContainer * | getEdgeContainer () const =0 |
| | Returns an IContainer interface pointer for the container of all IGeomEdge objects.
|
| |
| virtual IGeomPoly * | createPoly ()=0 |
| |
|
virtual IGeomPoly * | getFirstPoly ()=0 |
| | Returns the first IGeomPoly object of all those contained in the set. Call IGeomPoly::getNextPoly to traverse the list. May return 0.
|
| |
|
virtual const IGeomPoly * | getFirstPoly () const =0 |
| | Returns the first IGeomPoly object of all those contained in the set. Call IGeomPoly::getNextPoly to traverse the list. May return 0.
|
| |
|
virtual IGeomPoly * | findPolyWithID (quint64 id)=0 |
| | Find the IGeomPoly with ID number matching id. This search will take less than linear time. May return 0.
|
| |
|
virtual const IGeomPoly * | findPolyWithID (quint64 id) const =0 |
| | Find the IGeomPoly with ID number matching id. This search will take less than linear time. May return 0.
|
| |
| virtual IGeomPoly * | findClosestPoly (const DVect &pos, const double &radius=limits< double >::max())=0 |
| |
| virtual const IGeomPoly * | findClosestPoly (const DVect &pos, const double &radius=limits< double >::max()) const =0 |
| |
| virtual IGeomEdge * | addNodeToPoly (IGeomPoly *poly, IGeomPoint *point)=0 |
| |
| virtual IGeomEdge * | closePoly (IGeomPoly *poly)=0 |
| |
|
virtual IContainer * | getPolyContainer ()=0 |
| | Returns an IContainer interface pointer for the container of all IGeomPoly objects.
|
| |
|
virtual const IContainer * | getPolyContainer () const =0 |
| | Returns an IContainer interface pointer for the container of all IGeomPoly objects.
|
| |
|
virtual IContainer::signal_type * | getPointMovedSignal () const =0 |
| | Returns a signal that gets called every time a point is moved.
|
| |
|
virtual IContainer::signal_type * | getEdgeMovedSignal () const =0 |
| | Returns a signal that gets called every time an edge is moved.
|
| |
|
virtual IContainer::signal_type * | getPolyMovedSignal () const =0 |
| | Returns a signal that gets called every time a polygon is moved.
|
| |
|
virtual QList< const IGeomPoly * > | getEdgeConnectedMesh (const IGeomPoly *face) const =0 |
| | Return a list of all of those polygons in the current set that are edge connected with /a poly.
|
| |
|
virtual QList< const IGeomEdge * > | getVertexConnectedMesh (const IGeomEdge *edge) const =0 |
| | Return a list of all of those edges in the current set that are vertex connected with /a edge.
|
| |
|
virtual QList< const IGeomEdge * > | getVertexConnectedEdges (const IGeomPoint *point) const =0 |
| | Return a list of all of those edges in the current set that are vertex connected with /a point.
|
| |
|
virtual bool | sharePoint (const IGeomEdge *edge1, const IGeomEdge *edge2, const IGeomPoint **shared=0) const =0 |
| |
|
virtual QPair< IBodyBlock *, IBodyBlock * > | getFaceConnectedBlocks (const IGeomPoly *face) const =0 |
| | Return pair of blocks connected to the face.
|
| |
|
virtual IGeomPoly * | findMatchingFace (const FArray< const IGeomPoint * > &points)=0 |
| | Finds the face that matches the provided points. If no match can be found returns zero (null-pointer).
|
| |
|
virtual const IGeomPoly * | findMatchingFace (const FArray< const IGeomPoint * > &points) const =0 |
| | Finds the face that matches the provided points. If no match can be found returns zero (null-pointer).
|
| |
| virtual IBodyBlock * | createBlock (FArray< DVect > *points=0, IBodyBlock::blockType blocktype=IBodyBlock::blockType::Hexahedron, IGroupID *addgroup=0)=0 |
| |
|
virtual bool | getValidateFlag () const =0 |
| | return value of validateFlag (used by createBlock)
|
| |
|
virtual void | setValidateFlag (bool flag)=0 |
| | sets validate flag (used by createBlock)
|
| |
|
virtual void | deleteBlock (IBodyBlock *block)=0 |
| | erase block and all its faces, edges, points if they are free (not belong to other blocks).
|
| |
|
virtual IBodyBlock * | getFirstBlock ()=0 |
| | Returns the first IBodyBlock object of all those contained in the set. Call IGeomPoly::getNextBlock to traverse the list. May return 0.
|
| |
|
virtual const IBodyBlock * | getFirstBlock () const =0 |
| | Returns the first IBodyBlock object of all those contained in the set. Call IGeomPoly::getNextBlock to traverse the list. May return 0.
|
| |
|
virtual IBodyBlock * | findBlockWithID (quint64 id)=0 |
| | Find the IBodyBlock with ID number matching id. This search will take less than linear time. May return 0.
|
| |
|
virtual const IBodyBlock * | findBlockWithID (quint64 id) const =0 |
| | Find the IBodyBlock with ID number matching id. This search will take less than linear time. May return 0.
|
| |
|
virtual IContainer * | getBlockContainer ()=0 |
| | Returns an IContainer interface pointer for the container of all IBodyBlock objects.
|
| |
|
virtual const IContainer * | getBlockContainer () const =0 |
| |
| virtual void | setTolerance (double tolerance)=0 |
| |
|
virtual bool | getAutoTolerance () const =0 |
| | get flag auto-tolerance on/off – if it is on, tolerance will be set based on recommended tolerance allways.
|
| |
|
virtual double | getRecommendedTolerance () const =0 |
| | Return the recommended/default tolerance. For the current tolerance setting, call getTolerance().
|
| |
|
virtual double | getTolerance () const =0 |
| | Get tolerance used in the body set methods.
|
| |
|
virtual void | Translate (const DVect &vec, const IRange *filter=0)=0 |
| | Adds vector to all points in the filter.
|
| |
|
virtual void | MoveX (double val, const IRange *filter=0)=0 |
| | Makes X component of all points in the filter val.
|
| |
|
virtual void | MoveY (double val, const IRange *filter=0)=0 |
| | Makes Y component of all points in the filter val.
|
| |
|
virtual void | MoveZ (double val, const IRange *filter=0)=0 |
| | Makes Z component of all points in the filter val.
|
| |
| virtual bool | getProxyBlock (quint64 faceID, FArray< DVect > &proxyBlock, bool useAdjacent=false, IBodyBlock::blockType blocktype=IBodyBlock::blockType::Default) const =0 |
| |
| virtual QList< FArray< DVect > > | getProxyBlocks (quint64 faceID, QList< bool > *validB, IBodyBlock::blockType blocktype=IBodyBlock::blockType::Default, QList< FArray< quint64 >> *adjacentFaces=0, QList< IBodyBlock::blockValidState > *proxyState=0) const =0 |
| |
| virtual bool | proxyBlocksForExtrusionFromFaces (QMap< const IGeomPoly *, FArray< DVect >> &proxyBlocks, const QList< quint64 > &facesIDs, QString &message, double *distance=0) const =0 |
| |
|
virtual double | getDihedralCut (bool rad=true) const =0 |
| | get dihedralCut that is in use by getProxyBlocks (default 3Pi/4). If flag rad=false, returns angle in degree.
|
| |
|
virtual void | setDihedralCut (double cut, bool rad=true)=0 |
| | set dihedralCut that is in use by getProxyBlocks (default 3Pi/4). If flag rad=false, assumes angle in degree.
|
| |
| virtual void | computeMidpoints (const IBodyBlock *block, const IGeomPoly *face, const DVect &midfacePointIn, DVect &midfacePointOut, FArray< DVect > &edgesMidp) const =0 |
| |
|
virtual bool | getArrestTriangle () const =0 |
| |
|
virtual QList< const IGeomSet * > | getExternalGeomSets () const =0 |
| | returns list of external geometric set object, that the body set works with
|
| |
|
virtual void | listObjectAlongLine (const DVect &beg, const DVect &e, const double &radius, FArray< const IGeomPoint * > *retPoints, FArray< QPair< const IGeomEdge *, DVect >> *retEdges, FArray< QPair< const IGeomPoly *, DVect >> *intersectPolyPoints) const =0 |
| | returns a list of external objects along the line. All objects returned will be sorted by the distance from the "beg" point.
|
| |
| virtual void | listObjectAlongCone (const DVect &origin, const DVect &begining, const double &angle, FArray< const IGeomPoint * > *retPoints, FArray< QPair< const IGeomEdge *, DVect >> *retEdges, FArray< QPair< const IGeomPoly *, DVect >> *intersectPolyPoints, const double *depth=0, quint32 whatToReturnFlag=0, FArray< const IBodyBlock * > *retBlocks=0) const =0 |
| |
| virtual void | listObjectAlongCylinder (const DVect &origin, const DVect &begining, const double &radius, FArray< const IGeomPoint * > *retPoints, FArray< QPair< const IGeomEdge *, DVect >> *retEdges, FArray< QPair< const IGeomPoly *, DVect >> *intersectPolyPoints, const double *depth=0, quint32 whatToReturnFlag=0, FArray< const IBodyBlock * > *retBlocks=0) const =0 |
| |
|
virtual void | selectedEdgeControlPoints (QList< QPair< const IBodyEdge *, quint32 >> &selectedCP) const =0 |
| | returns list of selected control points in the form <edge,indexCP>, where edge is a pointer to an edge and indexCP – control point index.
|
| |
|
virtual void | selectEdgeControlPoint (const IBodyEdge *, quint32 indexCP) const =0 |
| |
|
virtual void | deselectEdgeControlPoint (const IBodyEdge *, quint32 indexCP) const =0 |
| |
|
virtual void | clearAllSelectedControlPoints () const =0 |
| |
| virtual void | selectedFaceControlPoints (QSet< quint64 > &selectedEncodedCpIds) const =0 |
| |
|
virtual quint64 | countSelectedFaceControlPoints () const =0 |
| | returns the number of selected face control points
|
| |
|
virtual bool | isSelectedFaceControlPoint (quint64 encodedFaceControlPointId) const =0 |
| | return whether the specified control point is selected
|
| |
|
virtual quint64 | selectedControlPointFaceID () const =0 |
| | return the ID of the face that holds selected control points
|
| |
|
virtual void | selectFaceControlPoint (const IBodyFace *, quint32 indexN, quint32 indexM) const =0 |
| |
|
virtual void | deselectFaceControlPoint (const IBodyFace *, quint32 indexN, quint32 indexM) const =0 |
| |
| virtual QList< const IThing * > | marqueeDeepSelect (bool perspective, const FArray< DVect > &nearSelRect, const FArray< DVect > &farSelRect, const DVect &selectionDirection, TType objType) const =0 |
| |
|
virtual bool | getDihedralBasedValidation () const =0 |
| | return flag if dihedral measure is used in validation of the block.
|
| |
|
virtual int | importFromFlac3D (IParse *par, const QString &fileName, bool fileRecord=true)=0 |
| | imports flac3d grid file, returns zero on success, throws exceptions if somthing wrong. Register input file if fileRecord=true (default).
|
| |
|
virtual void | validateAllBlocks (quint32 *numberOfNotValid=0)=0 |
| | validates cellspace for edges faces and blocks and computes validState for all blocks. May provide number of not blocks.
|
| |
|
virtual bool | makeAllHexBySplitBlocks (QString *message=0)=0 |
| | Make all hex by splitting blocks (all quad face are split)
|
| |