// Created on: 1999-11-05 // Created by: Vladislav ROMASHKO // Copyright (c) 1999-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _QANewBRepNaming_Prism_HeaderFile #define _QANewBRepNaming_Prism_HeaderFile #include #include #include #include class TDF_Label; class BRepPrimAPI_MakePrism; class TopoDS_Shape; //! To load the Prism results class QANewBRepNaming_Prism : public QANewBRepNaming_TopNaming { public: DEFINE_STANDARD_ALLOC Standard_EXPORT QANewBRepNaming_Prism(); Standard_EXPORT QANewBRepNaming_Prism(const TDF_Label& ResultLabel); Standard_EXPORT void Init (const TDF_Label& ResultLabel); //! Loads the prism in the data framework Standard_EXPORT void Load (BRepPrimAPI_MakePrism& mkPrism, const TopoDS_Shape& basis) const; //! Returns the insertion label of the bottom face of the Prism. Standard_EXPORT TDF_Label Bottom() const; //! Returns the insertion label of the top face of the Prism. Standard_EXPORT TDF_Label Top() const; //! Returns the insertion label of the lateral face of the Prism. Standard_EXPORT TDF_Label Lateral() const; //! Returns the insertion label of the degenerated face of the Prism. Standard_EXPORT TDF_Label Degenerated() const; //! Returns the insertion label of the degenerated face of the Prism. Standard_EXPORT TDF_Label Dangle() const; //! Returns the insertion label of the degenerated face of the Prism. Standard_EXPORT TDF_Label Content() const; protected: private: }; #endif // _QANewBRepNaming_Prism_HeaderFile