File indexing completed on 2026-09-24 09:16:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _MeshVS_Tool_HeaderFile
0017 #define _MeshVS_Tool_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022
0023 #include <NCollection_Array1.hxx>
0024 class Graphic3d_AspectFillArea3d;
0025 class MeshVS_Drawer;
0026 class Graphic3d_MaterialAspect;
0027 class Graphic3d_AspectLine3d;
0028 class Graphic3d_AspectMarker3d;
0029 class Graphic3d_AspectText3d;
0030 class gp_Vec;
0031
0032
0033 class MeshVS_Tool
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT static occ::handle<Graphic3d_AspectFillArea3d> CreateAspectFillArea3d(
0040 const occ::handle<MeshVS_Drawer>& theDr,
0041 const bool UseDefaults = true);
0042
0043
0044
0045 Standard_EXPORT static occ::handle<Graphic3d_AspectFillArea3d> CreateAspectFillArea3d(
0046 const occ::handle<MeshVS_Drawer>& theDr,
0047 const Graphic3d_MaterialAspect& Mat,
0048 const bool UseDefaults = true);
0049
0050
0051 Standard_EXPORT static occ::handle<Graphic3d_AspectLine3d> CreateAspectLine3d(
0052 const occ::handle<MeshVS_Drawer>& theDr,
0053 const bool UseDefaults = true);
0054
0055
0056 Standard_EXPORT static occ::handle<Graphic3d_AspectMarker3d> CreateAspectMarker3d(
0057 const occ::handle<MeshVS_Drawer>& theDr,
0058 const bool UseDefaults = true);
0059
0060
0061 Standard_EXPORT static occ::handle<Graphic3d_AspectText3d> CreateAspectText3d(
0062 const occ::handle<MeshVS_Drawer>& theDr,
0063 const bool UseDefaults = true);
0064
0065
0066
0067 Standard_EXPORT static bool GetNormal(const NCollection_Array1<double>& Nodes, gp_Vec& Norm);
0068
0069
0070
0071 Standard_EXPORT static bool GetAverageNormal(const NCollection_Array1<double>& Nodes,
0072 gp_Vec& Norm);
0073 };
0074
0075 #endif