0025923: Remove small wires on face read from STEP
[occt.git] / src / MPrsStd / MPrsStd.cxx
1 // Created on: 1997-08-26
2 // Created by: Guest Design
3 // Copyright (c) 1997-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #include <MPrsStd.ixx>
18 #include <MDF_ASDriverHSequence.hxx>
19 #include <MDF_ARDriverHSequence.hxx>
20 #include <MPrsStd_AISPresentationStorageDriver.hxx>
21 #include <MPrsStd_AISPresentationRetrievalDriver.hxx>
22 #include <MPrsStd_AISPresentationRetrievalDriver_1.hxx>
23 //#include <MPrsStd_AISViewerStorageDriver.hxx>
24 //#include <MPrsStd_AISViewerRetrievalDriver.hxx> 
25 #include <MPrsStd_PositionStorageDriver.hxx>
26 #include <MPrsStd_PositionRetrievalDriver.hxx>
27
28 //=======================================================================
29 //function : AddStorageDriver
30 //purpose  : 
31 //=======================================================================
32
33 void MPrsStd::AddStorageDrivers
34 (const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
35 {
36   aDriverSeq->Append(new MPrsStd_AISPresentationStorageDriver(theMsgDriver));
37 //  aDriverSeq->Append(new MPrsStd_AISViewerStorageDriver());
38   aDriverSeq->Append(new MPrsStd_PositionStorageDriver(theMsgDriver));
39 }
40
41
42 //=======================================================================
43 //function : AddRetrievalDriver
44 //purpose  : 
45 //=======================================================================
46
47 void MPrsStd::AddRetrievalDrivers
48 (const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
49 {
50   aDriverSeq->Append(new MPrsStd_AISPresentationRetrievalDriver(theMsgDriver));
51   aDriverSeq->Append(new MPrsStd_AISPresentationRetrievalDriver_1(theMsgDriver));
52 //  aDriverSeq->Append(new MPrsStd_AISViewerRetrievalDriver());
53   aDriverSeq->Append(new MPrsStd_PositionRetrievalDriver(theMsgDriver));
54 }
55
56