|
Open CASCADE Technology
6.7.1
|
This class intended to setup / retrieve default triangulation algorithm.
Use BRepMesh_DiscretFactory::Get() static method to retrieve global Factory instance.
Use BRepMesh_DiscretFactory::Discret() method to retrieve meshing tool.
More...
#include <BRepMesh_DiscretFactory.hxx>
Public Member Functions | |
| const TColStd_MapOfAsciiString & | Names () const |
| Returns the list of registered meshing algorithms. More... | |
| Standard_Boolean | SetDefaultName (const TCollection_AsciiString &theName) |
| Setup meshing algorithm by name. Returns true if requested tool is available. On fail Factory will continue to use previous algo. More... | |
| const TCollection_AsciiString & | DefaultName () const |
| Returns name for current meshing algorithm. More... | |
| Standard_Boolean | SetFunctionName (const TCollection_AsciiString &theFuncName) |
| Advanced function. Changes function name to retrieve from plugin. Returns true if requested tool is available. On fail Factory will continue to use previous algo. More... | |
| Standard_Boolean | SetDefault (const TCollection_AsciiString &theName, const TCollection_AsciiString &theFuncName="DISCRETALGO") |
| Setup meshing algorithm that should be created by this Factory. Returns true if requested tool is available. On fail Factory will continue to use previous algo. Call ::ErrorStatus() method to retrieve fault reason. More... | |
| const TCollection_AsciiString & | FunctionName () const |
| Returns function name that should be exported by plugin. More... | |
| Handle_BRepMesh_DiscretRoot | Discret (const TopoDS_Shape &theShape, const Standard_Real theDeflection, const Standard_Real theAngle) |
| Returns triangulation algorithm instance. More... | |
| BRepMesh_FactoryError | ErrorStatus () const |
| Returns error status for last meshing algorithm switch. More... | |
Static Public Member Functions | |
| static BRepMesh_DiscretFactory & | Get () |
| Returns the global factory instance. More... | |
Protected Member Functions | |
| BRepMesh_DiscretFactory () | |
| virtual | ~BRepMesh_DiscretFactory () |
| void | Clear () |
This class intended to setup / retrieve default triangulation algorithm.
Use BRepMesh_DiscretFactory::Get() static method to retrieve global Factory instance.
Use BRepMesh_DiscretFactory::Discret() method to retrieve meshing tool.
|
protected |
|
protectedvirtual |
|
protected |
| const TCollection_AsciiString& BRepMesh_DiscretFactory::DefaultName | ( | ) | const |
Returns name for current meshing algorithm.
| Handle_BRepMesh_DiscretRoot BRepMesh_DiscretFactory::Discret | ( | const TopoDS_Shape & | theShape, |
| const Standard_Real | theDeflection, | ||
| const Standard_Real | theAngle | ||
| ) |
Returns triangulation algorithm instance.
| BRepMesh_FactoryError BRepMesh_DiscretFactory::ErrorStatus | ( | ) | const |
Returns error status for last meshing algorithm switch.
| const TCollection_AsciiString& BRepMesh_DiscretFactory::FunctionName | ( | ) | const |
Returns function name that should be exported by plugin.
|
static |
Returns the global factory instance.
| const TColStd_MapOfAsciiString& BRepMesh_DiscretFactory::Names | ( | ) | const |
Returns the list of registered meshing algorithms.
| Standard_Boolean BRepMesh_DiscretFactory::SetDefault | ( | const TCollection_AsciiString & | theName, |
| const TCollection_AsciiString & | theFuncName = "DISCRETALGO" |
||
| ) |
Setup meshing algorithm that should be created by this Factory.
Returns true if requested tool is available.
On fail Factory will continue to use previous algo.
Call ::ErrorStatus() method to retrieve fault reason.
| Standard_Boolean BRepMesh_DiscretFactory::SetDefaultName | ( | const TCollection_AsciiString & | theName | ) |
Setup meshing algorithm by name.
Returns true if requested tool is available.
On fail Factory will continue to use previous algo.
| Standard_Boolean BRepMesh_DiscretFactory::SetFunctionName | ( | const TCollection_AsciiString & | theFuncName | ) |
Advanced function. Changes function name to retrieve from plugin.
Returns true if requested tool is available.
On fail Factory will continue to use previous algo.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.5