File indexing completed on 2026-09-23 09:19:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Vrml_IndexedFaceSet_HeaderFile
0018 #define _Vrml_IndexedFaceSet_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 class Vrml_IndexedFaceSet : public Standard_Transient
0035 {
0036
0037 public:
0038 Standard_EXPORT Vrml_IndexedFaceSet(
0039 const occ::handle<NCollection_HArray1<int>>& aCoordIndex,
0040 const occ::handle<NCollection_HArray1<int>>& aMaterialIndex,
0041 const occ::handle<NCollection_HArray1<int>>& aNormalIndex,
0042 const occ::handle<NCollection_HArray1<int>>& aTextureCoordIndex);
0043
0044 Standard_EXPORT Vrml_IndexedFaceSet();
0045
0046 Standard_EXPORT void SetCoordIndex(const occ::handle<NCollection_HArray1<int>>& aCoordIndex);
0047
0048 Standard_EXPORT occ::handle<NCollection_HArray1<int>> CoordIndex() const;
0049
0050 Standard_EXPORT void SetMaterialIndex(
0051 const occ::handle<NCollection_HArray1<int>>& aMaterialIndex);
0052
0053 Standard_EXPORT occ::handle<NCollection_HArray1<int>> MaterialIndex() const;
0054
0055 Standard_EXPORT void SetNormalIndex(const occ::handle<NCollection_HArray1<int>>& aNormalIndex);
0056
0057 Standard_EXPORT occ::handle<NCollection_HArray1<int>> NormalIndex() const;
0058
0059 Standard_EXPORT void SetTextureCoordIndex(
0060 const occ::handle<NCollection_HArray1<int>>& aTextureCoordIndex);
0061
0062 Standard_EXPORT occ::handle<NCollection_HArray1<int>> TextureCoordIndex() const;
0063
0064 Standard_EXPORT Standard_OStream& Print(Standard_OStream& anOStream) const;
0065
0066 DEFINE_STANDARD_RTTIEXT(Vrml_IndexedFaceSet, Standard_Transient)
0067
0068 private:
0069 occ::handle<NCollection_HArray1<int>> myCoordIndex;
0070 occ::handle<NCollection_HArray1<int>> myMaterialIndex;
0071 occ::handle<NCollection_HArray1<int>> myNormalIndex;
0072 occ::handle<NCollection_HArray1<int>> myTextureCoordIndex;
0073 };
0074
0075 #endif