0029296: Data Exchange - implement import of mesh data from files in OBJ format
[occt.git] / src / BRepMesh / BRepMesh_Context.cxx
CommitLineData
7bd071ed 1// Created on: 2016-04-07
2// Copyright (c) 2016 OPEN CASCADE SAS
3// Created by: Oleg AGASHIN
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#include <BRepMesh_Context.hxx>
17#include <BRepMesh_ModelBuilder.hxx>
18#include <BRepMesh_EdgeDiscret.hxx>
19#include <BRepMesh_ModelHealer.hxx>
20#include <BRepMesh_FaceDiscret.hxx>
21#include <BRepMesh_ModelPreProcessor.hxx>
22#include <BRepMesh_ModelPostProcessor.hxx>
23#include <BRepMesh_MeshAlgoFactory.hxx>
24
25//=======================================================================
26// Function: Constructor
27// Purpose :
28//=======================================================================
29BRepMesh_Context::BRepMesh_Context ()
30{
31 SetModelBuilder (new BRepMesh_ModelBuilder);
32 SetEdgeDiscret (new BRepMesh_EdgeDiscret);
33 SetModelHealer (new BRepMesh_ModelHealer);
34 SetPreProcessor (new BRepMesh_ModelPreProcessor);
35 SetFaceDiscret (new BRepMesh_FaceDiscret(new BRepMesh_MeshAlgoFactory));
36 SetPostProcessor(new BRepMesh_ModelPostProcessor);
37}
38
39//=======================================================================
40// Function: Destructor
41// Purpose :
42//=======================================================================
43BRepMesh_Context::~BRepMesh_Context ()
44{
45}