2012-08-09 13:58:02 +06:00
|
|
|
// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
|
2005-12-05 21:23:52 +05:00
|
|
|
//
|
2012-08-09 13:58:02 +06:00
|
|
|
// This library is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
|
|
// License as published by the Free Software Foundation; either
|
|
|
|
// version 2.1 of the License.
|
2005-12-05 21:23:52 +05:00
|
|
|
//
|
2012-08-09 13:58:02 +06:00
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// Lesser General Public License for more details.
|
2009-02-13 17:16:39 +05:00
|
|
|
//
|
2012-08-09 13:58:02 +06:00
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
// License along with this library; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2009-02-13 17:16:39 +05:00
|
|
|
//
|
2012-08-09 13:58:02 +06:00
|
|
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
//NOTE: This is an intreface to a function for the Pipe creation.
|
2013-02-12 17:35:16 +06:00
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
#ifndef _GEOMImpl_IPIPESHELLSECT_HXX_
|
|
|
|
#define _GEOMImpl_IPIPESHELLSECT_HXX_
|
2003-05-12 21:24:23 +06:00
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
#include "GEOM_Function.hxx"
|
2003-05-12 21:24:23 +06:00
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
#ifndef _GEOMImpl_IPIPEDIFFSECT_HXX_
|
|
|
|
#include "GEOMImpl_IPipeDiffSect.hxx"
|
|
|
|
#endif
|
|
|
|
|
2013-02-12 17:35:16 +06:00
|
|
|
#include <TColStd_HSequenceOfTransient.hxx>
|
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
#define PIPEDS_LIST_SUBBASES 6
|
|
|
|
|
|
|
|
|
|
|
|
class GEOMImpl_IPipeShellSect : public GEOMImpl_IPipeDiffSect
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
GEOMImpl_IPipeShellSect(const Handle(GEOM_Function)& theFunction):
|
|
|
|
GEOMImpl_IPipeDiffSect(theFunction) {}
|
|
|
|
|
|
|
|
void SetSubBases (const Handle(TColStd_HSequenceOfTransient)& theSubBases)
|
|
|
|
{
|
|
|
|
_func->SetReferenceList(PIPEDS_LIST_SUBBASES,theSubBases);
|
|
|
|
}
|
|
|
|
|
|
|
|
Handle(TColStd_HSequenceOfTransient) GetSubBases ()
|
|
|
|
{
|
|
|
|
Handle(TColStd_HSequenceOfTransient) aSubBases =
|
|
|
|
_func->GetReferenceList(PIPEDS_LIST_SUBBASES);
|
|
|
|
return aSubBases;
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|