Open CASCADE Technology  7.1.0.beta
Data Structures | Public Member Functions

BRepTools_Modifier Class Reference

Performs geometric modifications on a shape. More...

#include <BRepTools_Modifier.hxx>

Public Member Functions

 BRepTools_Modifier (Standard_Boolean theMutableInput=Standard_False)
 Creates an empty Modifier. More...
 
 BRepTools_Modifier (const TopoDS_Shape &S)
 Creates a modifier on the shape <S>. More...
 
 BRepTools_Modifier (const TopoDS_Shape &S, const Handle< BRepTools_Modification > &M)
 Creates a modifier on the shape <S>, and performs the modifications described by <M>. More...
 
void Init (const TopoDS_Shape &S)
 Initializes the modifier with the shape <S>. More...
 
void Perform (const Handle< BRepTools_Modification > &M, const Handle< Message_ProgressIndicator > &aProgress=NULL)
 Performs the modifications described by <M>. More...
 
Standard_Boolean IsDone () const
 Returns Standard_True if the modification has been computed successfully. More...
 
Standard_Boolean IsMutableInput () const
 Returns the current mutable input state. More...
 
void SetMutableInput (Standard_Boolean theMutableInput)
 Sets the mutable input state If true then the input (original) shape can be modified during modification process. More...
 
const TopoDS_ShapeModifiedShape (const TopoDS_Shape &S) const
 Returns the modified shape corresponding to <S>. More...
 

Detailed Description

Performs geometric modifications on a shape.

Constructor & Destructor Documentation

BRepTools_Modifier::BRepTools_Modifier ( Standard_Boolean  theMutableInput = Standard_False)

Creates an empty Modifier.

BRepTools_Modifier::BRepTools_Modifier ( const TopoDS_Shape S)

Creates a modifier on the shape <S>.

BRepTools_Modifier::BRepTools_Modifier ( const TopoDS_Shape S,
const Handle< BRepTools_Modification > &  M 
)

Creates a modifier on the shape <S>, and performs the modifications described by <M>.

Member Function Documentation

void BRepTools_Modifier::Init ( const TopoDS_Shape S)

Initializes the modifier with the shape <S>.

Standard_Boolean BRepTools_Modifier::IsDone ( ) const

Returns Standard_True if the modification has been computed successfully.

Standard_Boolean BRepTools_Modifier::IsMutableInput ( ) const

Returns the current mutable input state.

const TopoDS_Shape& BRepTools_Modifier::ModifiedShape ( const TopoDS_Shape S) const

Returns the modified shape corresponding to <S>.

void BRepTools_Modifier::Perform ( const Handle< BRepTools_Modification > &  M,
const Handle< Message_ProgressIndicator > &  aProgress = NULL 
)

Performs the modifications described by <M>.

void BRepTools_Modifier::SetMutableInput ( Standard_Boolean  theMutableInput)

Sets the mutable input state If true then the input (original) shape can be modified during modification process.


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