File indexing completed on 2026-09-20 09:19:33
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Vrml_IndexedLineSet_HeaderFile
0018 #define _Vrml_IndexedLineSet_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <NCollection_Array1.hxx>
0025 #include <NCollection_HArray1.hxx>
0026 #include <Standard_Transient.hxx>
0027 #include <Standard_OStream.hxx>
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 class Vrml_IndexedLineSet : public Standard_Transient
0043 {
0044
0045 public:
0046 Standard_EXPORT Vrml_IndexedLineSet(
0047 const occ::handle<NCollection_HArray1<int>>& aCoordIndex,
0048 const occ::handle<NCollection_HArray1<int>>& aMaterialIndex,
0049 const occ::handle<NCollection_HArray1<int>>& aNormalIndex,
0050 const occ::handle<NCollection_HArray1<int>>& aTextureCoordIndex);
0051
0052 Standard_EXPORT Vrml_IndexedLineSet();
0053
0054 Standard_EXPORT void SetCoordIndex(const occ::handle<NCollection_HArray1<int>>& aCoordIndex);
0055
0056 Standard_EXPORT occ::handle<NCollection_HArray1<int>> CoordIndex() const;
0057
0058 Standard_EXPORT void SetMaterialIndex(
0059 const occ::handle<NCollection_HArray1<int>>& aMaterialIndex);
0060
0061 Standard_EXPORT occ::handle<NCollection_HArray1<int>> MaterialIndex() const;
0062
0063 Standard_EXPORT void SetNormalIndex(const occ::handle<NCollection_HArray1<int>>& aNormalIndex);
0064
0065 Standard_EXPORT occ::handle<NCollection_HArray1<int>> NormalIndex() const;
0066
0067 Standard_EXPORT void SetTextureCoordIndex(
0068 const occ::handle<NCollection_HArray1<int>>& aTextureCoordIndex);
0069
0070 Standard_EXPORT occ::handle<NCollection_HArray1<int>> TextureCoordIndex() const;
0071
0072 Standard_EXPORT Standard_OStream& Print(Standard_OStream& anOStream) const;
0073
0074 DEFINE_STANDARD_RTTIEXT(Vrml_IndexedLineSet, Standard_Transient)
0075
0076 private:
0077 occ::handle<NCollection_HArray1<int>> myCoordIndex;
0078 occ::handle<NCollection_HArray1<int>> myMaterialIndex;
0079 occ::handle<NCollection_HArray1<int>> myNormalIndex;
0080 occ::handle<NCollection_HArray1<int>> myTextureCoordIndex;
0081 };
0082
0083 #endif