File indexing completed on 2025-01-18 10:05:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepVisual_TriangulatedFace_HeaderFile_
0018 #define _StepVisual_TriangulatedFace_HeaderFile_
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedFace.hxx>
0023
0024 #include <TColStd_HArray1OfInteger.hxx>
0025 #include <TColStd_HArray2OfInteger.hxx>
0026
0027 DEFINE_STANDARD_HANDLE(StepVisual_TriangulatedFace, StepVisual_TessellatedFace)
0028
0029
0030 class StepVisual_TriangulatedFace : public StepVisual_TessellatedFace
0031 {
0032
0033 public :
0034
0035
0036 Standard_EXPORT StepVisual_TriangulatedFace();
0037
0038
0039 Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0040 const Handle(StepVisual_CoordinatesList)& theTessellatedFace_Coordinates,
0041 const Standard_Integer theTessellatedFace_Pnmax,
0042 const Handle(TColStd_HArray2OfReal)& theTessellatedFace_Normals,
0043 const Standard_Boolean theHasTessellatedFace_GeometricLink,
0044 const StepVisual_FaceOrSurface& theTessellatedFace_GeometricLink,
0045 const Handle(TColStd_HArray1OfInteger)& thePnindex,
0046 const Handle(TColStd_HArray2OfInteger)& theTriangles);
0047
0048
0049 Standard_EXPORT Handle(TColStd_HArray1OfInteger) Pnindex() const;
0050
0051
0052 Standard_EXPORT void SetPnindex (const Handle(TColStd_HArray1OfInteger)& thePnindex);
0053
0054
0055 Standard_EXPORT Standard_Integer NbPnindex() const;
0056
0057
0058 Standard_EXPORT Standard_Integer PnindexValue(const Standard_Integer theNum) const;
0059
0060
0061 Standard_EXPORT Handle(TColStd_HArray2OfInteger) Triangles() const;
0062
0063
0064 Standard_EXPORT void SetTriangles (const Handle(TColStd_HArray2OfInteger)& theTriangles);
0065
0066
0067 Standard_EXPORT Standard_Integer NbTriangles() const;
0068
0069 DEFINE_STANDARD_RTTIEXT(StepVisual_TriangulatedFace, StepVisual_TessellatedFace)
0070
0071 private:
0072
0073 Handle(TColStd_HArray1OfInteger) myPnindex;
0074 Handle(TColStd_HArray2OfInteger) myTriangles;
0075
0076 };
0077
0078 #endif