Open CASCADE Technology 7.8.0
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.
 
 BRepTools_Modifier (const TopoDS_Shape &S)
 Creates a modifier on the shape .
 
 BRepTools_Modifier (const TopoDS_Shape &S, const Handle< BRepTools_Modification > &M)
 Creates a modifier on the shape , and performs the modifications described by <M>.
 
void Init (const TopoDS_Shape &S)
 Initializes the modifier with the shape .
 
void Perform (const Handle< BRepTools_Modification > &M, const Message_ProgressRange &theProgress=Message_ProgressRange())
 Performs the modifications described by <M>.
 
Standard_Boolean IsDone () const
 Returns Standard_True if the modification has been computed successfully.
 
Standard_Boolean IsMutableInput () const
 Returns the current mutable input state.
 
void SetMutableInput (Standard_Boolean theMutableInput)
 Sets the mutable input state If true then the input (original) shape can be modified during modification process.
 
const TopoDS_ShapeModifiedShape (const TopoDS_Shape &S) const
 Returns the modified shape corresponding to .
 

Detailed Description

Performs geometric modifications on a shape.

Constructor & Destructor Documentation

◆ BRepTools_Modifier() [1/3]

BRepTools_Modifier::BRepTools_Modifier ( Standard_Boolean  theMutableInput = Standard_False)

Creates an empty Modifier.

◆ BRepTools_Modifier() [2/3]

BRepTools_Modifier::BRepTools_Modifier ( const TopoDS_Shape S)

Creates a modifier on the shape .

◆ BRepTools_Modifier() [3/3]

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

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

Member Function Documentation

◆ Init()

void BRepTools_Modifier::Init ( const TopoDS_Shape S)

Initializes the modifier with the shape .

◆ IsDone()

Standard_Boolean BRepTools_Modifier::IsDone ( ) const

Returns Standard_True if the modification has been computed successfully.

◆ IsMutableInput()

Standard_Boolean BRepTools_Modifier::IsMutableInput ( ) const

Returns the current mutable input state.

◆ ModifiedShape()

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

Returns the modified shape corresponding to .

◆ Perform()

void BRepTools_Modifier::Perform ( const Handle< BRepTools_Modification > &  M,
const Message_ProgressRange theProgress = Message_ProgressRange() 
)

Performs the modifications described by <M>.

◆ SetMutableInput()

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: