Open CASCADE Technology  7.7.2
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 ( )

Initialize fields and call ClearFlags()

Member Function Documentation

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

Clears all accumulated statistics.

void ShapeAnalysis_ShapeContents::ClearFlags ( )

Clears all flags.

const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::IndirectSec ( ) const
inline
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.

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyIndirectMode ( )
inline

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

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffestSurfaceMode ( )
inline
Deprecated:
("ModifyOffsetSurfaceMode() should be used instead")
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.

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetSurfaceMode ( )
inline

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

Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed2dMode ( )
inline

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

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.

Standard_Integer ShapeAnalysis_ShapeContents::NbBezierSurf ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbBigSplines ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbBSplibeSurf ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbC0Curves ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbC0Surfaces ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbEdges ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbFaces ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbFaceWithSevWires ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbFreeEdges ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbFreeFaces ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbFreeWires ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbIndirectSurf ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbNoPCurve ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetCurves ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetSurf ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedEdges ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFaces ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeEdges ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeWires ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedShells ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedSolids ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedVertices ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSharedWires ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbShells ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSolids ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbSolidsWithVoids ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve2d ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve3d ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbTrimSurf ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbVertices ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbWires ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbWireWithSevSeams ( ) const
inline
Standard_Integer ShapeAnalysis_ShapeContents::NbWireWitnSeam ( ) const
inline
const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::OffsetCurveSec ( ) const
inline
const Handle< TopTools_HSequenceOfShape >& ShapeAnalysis_ShapeContents::OffsetSurfaceSec ( ) const
inline
void ShapeAnalysis_ShapeContents::Perform ( const TopoDS_Shape shape)

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

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

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