Files
OCCT/src/IGESSelect/IGESSelect_SelectFaces.hxx
abv 92efcf78a6 0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
2015-12-04 14:15:06 +03:00

84 lines
2.3 KiB
C++

// Created on: 1997-10-01
// Created by: Christian CAILLET
// Copyright (c) 1997-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 _IGESSelect_SelectFaces_HeaderFile
#define _IGESSelect_SelectFaces_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IFSelect_SelectExplore.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
class Standard_Transient;
class Interface_Graph;
class Interface_EntityIterator;
class TCollection_AsciiString;
class IGESSelect_SelectFaces;
DEFINE_STANDARD_HANDLE(IGESSelect_SelectFaces, IFSelect_SelectExplore)
//! This selection returns the faces contained in an IGES Entity
//! or itself if it is a Face
//! Face means :
//! - Face (510) of a ManifoldSolidBrep
//! - TrimmedSurface (144)
//! - BoundedSurface (143)
//! - Plane with a Bounding Curve (108, form not 0)
//! - Also, any Surface which is not in a TrimmedSurface, a
//! BoundedSurface, or a Face (FREE Surface)
//! -> i.e. a Face for which Natural Bounds will be considered
class IGESSelect_SelectFaces : public IFSelect_SelectExplore
{
public:
Standard_EXPORT IGESSelect_SelectFaces();
//! Explores an entity, to take its faces
//! Works recursively
Standard_EXPORT Standard_Boolean Explore (const Standard_Integer level, const Handle(Standard_Transient)& ent, const Interface_Graph& G, Interface_EntityIterator& explored) const Standard_OVERRIDE;
//! Returns a text defining the criterium : "Faces"
Standard_EXPORT TCollection_AsciiString ExploreLabel() const Standard_OVERRIDE;
DEFINE_STANDARD_RTTIEXT(IGESSelect_SelectFaces,IFSelect_SelectExplore)
protected:
private:
};
#endif // _IGESSelect_SelectFaces_HeaderFile