Warning, file /include/opencascade/VrmlData_Normal.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef VrmlData_Normal_HeaderFile
0017 #define VrmlData_Normal_HeaderFile
0018
0019 #include <VrmlData_ArrayVec3d.hxx>
0020
0021
0022
0023
0024 class VrmlData_Normal : public VrmlData_ArrayVec3d
0025 {
0026 public:
0027
0028
0029
0030
0031
0032 inline VrmlData_Normal () {}
0033
0034
0035
0036
0037 inline VrmlData_Normal (const VrmlData_Scene& theScene,
0038 const char * theName,
0039 const size_t nVec = 0,
0040 const gp_XYZ * arrVec = 0L)
0041 : VrmlData_ArrayVec3d (theScene, theName, nVec, arrVec)
0042 {}
0043
0044
0045
0046
0047
0048
0049
0050
0051 inline const gp_XYZ& Normal (const Standard_Integer i) const
0052 { return Value(i); }
0053
0054
0055
0056
0057
0058
0059 Standard_EXPORT virtual Handle(VrmlData_Node)
0060 Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
0061
0062
0063
0064
0065 Standard_EXPORT virtual VrmlData_ErrorStatus
0066 Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
0067
0068
0069
0070
0071 Standard_EXPORT virtual VrmlData_ErrorStatus
0072 Write (const char * thePrefix) const Standard_OVERRIDE;
0073
0074
0075 private:
0076
0077
0078
0079 public:
0080
0081 DEFINE_STANDARD_RTTI_INLINE(VrmlData_Normal,VrmlData_ArrayVec3d)
0082 };
0083
0084
0085 DEFINE_STANDARD_HANDLE (VrmlData_Normal, VrmlData_ArrayVec3d)
0086
0087
0088 #endif