Open CASCADE Technology 7.8.0
|
Interface for working with triangulated data. More...
#include <IVtk_IShapeData.hxx>
Public Types | |
typedef Handle< IVtk_IShapeData > | Handle |
![]() | |
typedef Handle< IVtk_Interface > | Handle |
![]() | |
typedef void | base_type |
Returns a type descriptor about this object. | |
Public Member Functions | |
virtual | ~IVtk_IShapeData () |
virtual IVtk_PointId | InsertPoint (const gp_Pnt &thePnt, const NCollection_Vec3< float > &theNorm)=0 |
Insert a coordinate. | |
virtual void | InsertVertex (const IVtk_IdType theShapeID, const IVtk_PointId thePointId, const IVtk_MeshType theMeshType=MT_Undefined)=0 |
Insert a vertex. | |
virtual void | InsertLine (const IVtk_IdType theShapeID, const IVtk_PointId thePointId1, const IVtk_PointId thePointId2, const IVtk_MeshType theMeshType=MT_Undefined)=0 |
Insert a line. | |
virtual void | InsertLine (const IVtk_IdType theShapeID, const IVtk_PointIdList *thePointIds, const IVtk_MeshType theMeshType=MT_Undefined)=0 |
Insert a poly-line. | |
virtual void | InsertTriangle (const IVtk_IdType theShapeID, const IVtk_PointId thePointId1, const IVtk_PointId thePointId2, const IVtk_PointId thePointId3, const IVtk_MeshType theMeshType=MT_Undefined)=0 |
Insert a triangle. | |
virtual IVtk_PointId | InsertCoordinate (double theX, double theY, double theZ) |
Insert a coordinate. | |
IVtk_PointId | InsertCoordinate (const gp_Pnt &thePnt) |
Insert a coordinate. | |
![]() | |
virtual | ~IVtk_Interface () |
![]() | |
Standard_Transient () | |
Empty constructor. | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. | |
virtual | ~Standard_Transient () |
Destructor must be virtual. | |
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
Returns a type descriptor about this object. | |
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
Returns a true value if this is an instance of Type. | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. | |
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. | |
Standard_Transient * | This () const |
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. | |
Standard_Integer | GetRefCount () const noexcept |
Get the reference counter of this object. | |
void | IncrementRefCounter () noexcept |
Increments the reference counter of this object. | |
Standard_Integer | DecrementRefCounter () noexcept |
Decrements the reference counter of this object; returns the decremented value. | |
virtual void | Delete () const |
Memory deallocator for transient classes. | |
Additional Inherited Members | |
![]() | |
static constexpr const char * | get_type_name () |
Returns a type descriptor about this object. | |
static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
Returns type descriptor of Standard_Transient class. | |
Interface for working with triangulated data.
|
inlinevirtual |
|
inline |
Insert a coordinate.
[in] | thePnt | point position |
|
inlinevirtual |
Insert a coordinate.
[in] | theX | X coordinate |
[in] | theY | Y coordinate |
[in] | theZ | Z coordinate |
|
pure virtual |
Insert a line.
[in] | theShapeID | id of the subshape to which the line belongs. |
[in] | thePointId1 | id of the first point |
[in] | thePointId2 | id of the second point |
[in] | theMeshType | mesh type of the subshape (MT_Undefined by default) |
Implemented in IVtkVTK_ShapeData.
|
pure virtual |
Insert a poly-line.
[in] | shapeID | id of the subshape to which the polyline belongs. |
[in] | pointIds | vector of point ids |
[in] | meshType | mesh type of the subshape (MT_Undefined by default) |
Implemented in IVtkVTK_ShapeData.
|
pure virtual |
Insert a coordinate.
[in] | thePnt | point position |
[in] | theNorm | point normal |
Implemented in IVtkVTK_ShapeData.
|
pure virtual |
Insert a triangle.
[in] | theShapeID | id of the subshape to which the triangle belongs. |
[in] | thePointId1 | id of the first point |
[in] | thePointId2 | id of the second point |
[in] | thePointId3 | id of the third point |
[in] | theMeshType | mesh type of the subshape (MT_Undefined by default) |
Implemented in IVtkVTK_ShapeData.
|
pure virtual |
Insert a vertex.
[in] | theShapeID | id of the sub-shape to which the vertex belongs. |
[in] | thePointId | id of the point that defines the coordinates of the vertex |
[in] | theMeshType | mesh type of the sub-shape (MT_Undefined by default) |
Implemented in IVtkVTK_ShapeData.