File indexing completed on 2026-09-21 09:18:47
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepVisual_ComplexTriangulatedSurfaceSet_HeaderFile_
0018 #define _StepVisual_ComplexTriangulatedSurfaceSet_HeaderFile_
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedSurfaceSet.hxx>
0023
0024 #include <Standard_Integer.hxx>
0025 #include <NCollection_Array1.hxx>
0026 #include <NCollection_HArray1.hxx>
0027 #include <Standard_Transient.hxx>
0028
0029
0030 class StepVisual_ComplexTriangulatedSurfaceSet : public StepVisual_TessellatedSurfaceSet
0031 {
0032
0033 public:
0034
0035 Standard_EXPORT StepVisual_ComplexTriangulatedSurfaceSet();
0036
0037
0038 Standard_EXPORT void Init(
0039 const occ::handle<TCollection_HAsciiString>& theRepresentationItem_Name,
0040 const occ::handle<StepVisual_CoordinatesList>& theTessellatedSurfaceSet_Coordinates,
0041 const int theTessellatedSurfaceSet_Pnmax,
0042 const occ::handle<NCollection_HArray2<double>>& theTessellatedSurfaceSet_Normals,
0043 const occ::handle<NCollection_HArray1<int>>& thePnindex,
0044 const occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>>& theTriangleStrips,
0045 const occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>>& theTriangleFans);
0046
0047
0048 Standard_EXPORT occ::handle<NCollection_HArray1<int>> Pnindex() const;
0049
0050
0051 Standard_EXPORT void SetPnindex(const occ::handle<NCollection_HArray1<int>>& thePnindex);
0052
0053
0054 Standard_EXPORT int NbPnindex() const;
0055
0056
0057 Standard_EXPORT int PnindexValue(const int theNum) const;
0058
0059
0060 Standard_EXPORT occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>> TriangleStrips()
0061 const;
0062
0063
0064 Standard_EXPORT void SetTriangleStrips(
0065 const occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>>& theTriangleStrips);
0066
0067
0068 Standard_EXPORT int NbTriangleStrips() const;
0069
0070
0071 Standard_EXPORT occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>> TriangleFans()
0072 const;
0073
0074
0075 Standard_EXPORT void SetTriangleFans(
0076 const occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>>& theTriangleFans);
0077
0078
0079 Standard_EXPORT int NbTriangleFans() const;
0080
0081 DEFINE_STANDARD_RTTIEXT(StepVisual_ComplexTriangulatedSurfaceSet,
0082 StepVisual_TessellatedSurfaceSet)
0083
0084 private:
0085 occ::handle<NCollection_HArray1<int>> myPnindex;
0086 occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>> myTriangleStrips;
0087 occ::handle<NCollection_HArray1<occ::handle<Standard_Transient>>> myTriangleFans;
0088 };
0089
0090 #endif