File indexing completed on 2025-01-18 10:05:31
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 <TColStd_HArray1OfInteger.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <Standard_OStream.hxx>
0026
0027
0028 class Vrml_IndexedFaceSet;
0029 DEFINE_STANDARD_HANDLE(Vrml_IndexedFaceSet, Standard_Transient)
0030
0031
0032
0033
0034
0035
0036 class Vrml_IndexedFaceSet : public Standard_Transient
0037 {
0038
0039 public:
0040
0041
0042 Standard_EXPORT Vrml_IndexedFaceSet(const Handle(TColStd_HArray1OfInteger)& aCoordIndex, const Handle(TColStd_HArray1OfInteger)& aMaterialIndex, const Handle(TColStd_HArray1OfInteger)& aNormalIndex, const Handle(TColStd_HArray1OfInteger)& aTextureCoordIndex);
0043
0044 Standard_EXPORT Vrml_IndexedFaceSet();
0045
0046 Standard_EXPORT void SetCoordIndex (const Handle(TColStd_HArray1OfInteger)& aCoordIndex);
0047
0048 Standard_EXPORT Handle(TColStd_HArray1OfInteger) CoordIndex() const;
0049
0050 Standard_EXPORT void SetMaterialIndex (const Handle(TColStd_HArray1OfInteger)& aMaterialIndex);
0051
0052 Standard_EXPORT Handle(TColStd_HArray1OfInteger) MaterialIndex() const;
0053
0054 Standard_EXPORT void SetNormalIndex (const Handle(TColStd_HArray1OfInteger)& aNormalIndex);
0055
0056 Standard_EXPORT Handle(TColStd_HArray1OfInteger) NormalIndex() const;
0057
0058 Standard_EXPORT void SetTextureCoordIndex (const Handle(TColStd_HArray1OfInteger)& aTextureCoordIndex);
0059
0060 Standard_EXPORT Handle(TColStd_HArray1OfInteger) TextureCoordIndex() const;
0061
0062 Standard_EXPORT Standard_OStream& Print (Standard_OStream& anOStream) const;
0063
0064
0065
0066
0067 DEFINE_STANDARD_RTTIEXT(Vrml_IndexedFaceSet,Standard_Transient)
0068
0069 protected:
0070
0071
0072
0073
0074 private:
0075
0076
0077 Handle(TColStd_HArray1OfInteger) myCoordIndex;
0078 Handle(TColStd_HArray1OfInteger) myMaterialIndex;
0079 Handle(TColStd_HArray1OfInteger) myNormalIndex;
0080 Handle(TColStd_HArray1OfInteger) myTextureCoordIndex;
0081
0082
0083 };
0084
0085
0086
0087
0088
0089
0090
0091 #endif