Open CASCADE Technology  7.6.0
Public Member Functions

ShapeAnalysis_ShapeContents Class Reference

Dumps shape contents. More...

#include <ShapeAnalysis_ShapeContents.hxx>

Public Member Functions

 ShapeAnalysis_ShapeContents ()
 Initialize fields and call ClearFlags() More...
 
void Clear ()
 Clears all accumulated statistics. More...
 
void ClearFlags ()
 Clears all flags. More...
 
void Perform (const TopoDS_Shape &shape)
 Counts quantities of sun-shapes in shape and stores sub-shapes according to flags. More...
 
Standard_BooleanModifyBigSplineMode ()
 Returns (modifiable) the flag which defines whether to store faces with edges if its 3D curves has more than 8192 poles. More...
 
Standard_BooleanModifyIndirectMode ()
 Returns (modifiable) the flag which defines whether to store faces on indirect surfaces. More...
 
Standard_BooleanModifyOffsetSurfaceMode ()
 Returns (modifiable) the flag which defines whether to store faces on offset surfaces. More...
 
Standard_BooleanModifyTrimmed3dMode ()
 Returns (modifiable) the flag which defines whether to store faces with edges if its 3D curves are trimmed curves. More...
 
Standard_BooleanModifyOffsetCurveMode ()
 Returns (modifiable) the flag which defines whether to store faces with edges if its 3D curves and pcurves are offset curves. More...
 
Standard_BooleanModifyTrimmed2dMode ()
 Returns (modifiable) the flag which defines whether to store faces with edges if its pcurves are trimmed curves. More...
 
Standard_Integer NbSolids () const
 
Standard_Integer NbShells () const
 
Standard_Integer NbFaces () const
 
Standard_Integer NbWires () const
 
Standard_Integer NbEdges () const
 
Standard_Integer NbVertices () const
 
Standard_Integer NbSolidsWithVoids () const
 
Standard_Integer NbBigSplines () const
 
Standard_Integer NbC0Surfaces () const
 
Standard_Integer NbC0Curves () const
 
Standard_Integer NbOffsetSurf () const
 
Standard_Integer NbIndirectSurf () const
 
Standard_Integer NbOffsetCurves () const
 
Standard_Integer NbTrimmedCurve2d () const
 
Standard_Integer NbTrimmedCurve3d () const
 
Standard_Integer NbBSplibeSurf () const
 
Standard_Integer NbBezierSurf () const
 
Standard_Integer NbTrimSurf () const
 
Standard_Integer NbWireWitnSeam () const
 
Standard_Integer NbWireWithSevSeams () const
 
Standard_Integer NbFaceWithSevWires () const
 
Standard_Integer NbNoPCurve () const
 
Standard_Integer NbFreeFaces () const
 
Standard_Integer NbFreeWires () const
 
Standard_Integer NbFreeEdges () const
 
Standard_Integer NbSharedSolids () const
 
Standard_Integer NbSharedShells () const
 
Standard_Integer NbSharedFaces () const
 
Standard_Integer NbSharedWires () const
 
Standard_Integer NbSharedFreeWires () const
 
Standard_Integer NbSharedFreeEdges () const
 
Standard_Integer NbSharedEdges () const
 
Standard_Integer NbSharedVertices () const
 
const Handle< TopTools_HSequenceOfShape > & BigSplineSec () const
 
const Handle< TopTools_HSequenceOfShape > & IndirectSec () const
 
const Handle< TopTools_HSequenceOfShape > & OffsetSurfaceSec () const
 
const Handle< TopTools_HSequenceOfShape > & Trimmed3dSec () const
 
const Handle< TopTools_HSequenceOfShape > & OffsetCurveSec () const
 
const Handle< TopTools_HSequenceOfShape > & Trimmed2dSec () const
 
Standard_BooleanModifyOffestSurfaceMode ()
 

Detailed Description

Dumps shape contents.

Constructor & Destructor Documentation

◆ ShapeAnalysis_ShapeContents()

ShapeAnalysis_ShapeContents::ShapeAnalysis_ShapeContents ( )

Initialize fields and call ClearFlags()

Member Function Documentation

◆ BigSplineSec()

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::BigSplineSec ( ) const
inline

◆ Clear()

void ShapeAnalysis_ShapeContents::Clear ( )

Clears all accumulated statistics.

◆ ClearFlags()

void ShapeAnalysis_ShapeContents::ClearFlags ( )

Clears all flags.

◆ IndirectSec()

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::IndirectSec ( ) const
inline

◆ ModifyBigSplineMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyBigSplineMode ( )
inline

Returns (modifiable) the flag which defines whether to store faces with edges if its 3D curves has more than 8192 poles.

◆ ModifyIndirectMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyIndirectMode ( )
inline

Returns (modifiable) the flag which defines whether to store faces on indirect surfaces.

◆ ModifyOffestSurfaceMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffestSurfaceMode ( )
inline
Deprecated:
("ModifyOffsetSurfaceMode() should be used instead")

◆ ModifyOffsetCurveMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetCurveMode ( )
inline

Returns (modifiable) the flag which defines whether to store faces with edges if its 3D curves and pcurves are offset curves.

◆ ModifyOffsetSurfaceMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetSurfaceMode ( )
inline

Returns (modifiable) the flag which defines whether to store faces on offset surfaces.

◆ ModifyTrimmed2dMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed2dMode ( )
inline

Returns (modifiable) the flag which defines whether to store faces with edges if its pcurves are trimmed curves.

◆ ModifyTrimmed3dMode()

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed3dMode ( )
inline

Returns (modifiable) the flag which defines whether to store faces with edges if its 3D curves are trimmed curves.

◆ NbBezierSurf()

Standard_Integer ShapeAnalysis_ShapeContents::NbBezierSurf ( ) const
inline

◆ NbBigSplines()

Standard_Integer ShapeAnalysis_ShapeContents::NbBigSplines ( ) const
inline

◆ NbBSplibeSurf()

Standard_Integer ShapeAnalysis_ShapeContents::NbBSplibeSurf ( ) const
inline

◆ NbC0Curves()

Standard_Integer ShapeAnalysis_ShapeContents::NbC0Curves ( ) const
inline

◆ NbC0Surfaces()

Standard_Integer ShapeAnalysis_ShapeContents::NbC0Surfaces ( ) const
inline

◆ NbEdges()

Standard_Integer ShapeAnalysis_ShapeContents::NbEdges ( ) const
inline

◆ NbFaces()

Standard_Integer ShapeAnalysis_ShapeContents::NbFaces ( ) const
inline

◆ NbFaceWithSevWires()

Standard_Integer ShapeAnalysis_ShapeContents::NbFaceWithSevWires ( ) const
inline

◆ NbFreeEdges()

Standard_Integer ShapeAnalysis_ShapeContents::NbFreeEdges ( ) const
inline

◆ NbFreeFaces()

Standard_Integer ShapeAnalysis_ShapeContents::NbFreeFaces ( ) const
inline

◆ NbFreeWires()

Standard_Integer ShapeAnalysis_ShapeContents::NbFreeWires ( ) const
inline

◆ NbIndirectSurf()

Standard_Integer ShapeAnalysis_ShapeContents::NbIndirectSurf ( ) const
inline

◆ NbNoPCurve()

Standard_Integer ShapeAnalysis_ShapeContents::NbNoPCurve ( ) const
inline

◆ NbOffsetCurves()

Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetCurves ( ) const
inline

◆ NbOffsetSurf()

Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetSurf ( ) const
inline

◆ NbSharedEdges()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedEdges ( ) const
inline

◆ NbSharedFaces()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFaces ( ) const
inline

◆ NbSharedFreeEdges()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeEdges ( ) const
inline

◆ NbSharedFreeWires()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeWires ( ) const
inline

◆ NbSharedShells()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedShells ( ) const
inline

◆ NbSharedSolids()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedSolids ( ) const
inline

◆ NbSharedVertices()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedVertices ( ) const
inline

◆ NbSharedWires()

Standard_Integer ShapeAnalysis_ShapeContents::NbSharedWires ( ) const
inline

◆ NbShells()

Standard_Integer ShapeAnalysis_ShapeContents::NbShells ( ) const
inline

◆ NbSolids()

Standard_Integer ShapeAnalysis_ShapeContents::NbSolids ( ) const
inline

◆ NbSolidsWithVoids()

Standard_Integer ShapeAnalysis_ShapeContents::NbSolidsWithVoids ( ) const
inline

◆ NbTrimmedCurve2d()

Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve2d ( ) const
inline

◆ NbTrimmedCurve3d()

Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve3d ( ) const
inline

◆ NbTrimSurf()

Standard_Integer ShapeAnalysis_ShapeContents::NbTrimSurf ( ) const
inline

◆ NbVertices()

Standard_Integer ShapeAnalysis_ShapeContents::NbVertices ( ) const
inline

◆ NbWires()

Standard_Integer ShapeAnalysis_ShapeContents::NbWires ( ) const
inline

◆ NbWireWithSevSeams()

Standard_Integer ShapeAnalysis_ShapeContents::NbWireWithSevSeams ( ) const
inline

◆ NbWireWitnSeam()

Standard_Integer ShapeAnalysis_ShapeContents::NbWireWitnSeam ( ) const
inline

◆ OffsetCurveSec()

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::OffsetCurveSec ( ) const
inline

◆ OffsetSurfaceSec()

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::OffsetSurfaceSec ( ) const
inline

◆ Perform()

void ShapeAnalysis_ShapeContents::Perform ( const TopoDS_Shape shape)

Counts quantities of sun-shapes in shape and stores sub-shapes according to flags.

◆ Trimmed2dSec()

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::Trimmed2dSec ( ) const
inline

◆ Trimmed3dSec()

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::Trimmed3dSec ( ) const
inline

The documentation for this class was generated from the following file: