Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
ShapeUpgrade_ConvertSurfaceToBezierBasis Class Reference

Converts a plane, bspline surface, surface of revolution, surface
of extrusion, offset surface to grid of bezier basis surface (
bezier surface,
surface of revolution based on bezier curve,
offset surface based on any previous type).
More...

#include <ShapeUpgrade_ConvertSurfaceToBezierBasis.hxx>

Inheritance diagram for ShapeUpgrade_ConvertSurfaceToBezierBasis:
Inheritance graph
[legend]

Public Member Functions

 ShapeUpgrade_ConvertSurfaceToBezierBasis ()
 Empty constructor.
More...
 
virtual void Build (const Standard_Boolean Segment)
 Splits a list of beziers computed by Compute method according
the split values and splitting parameters.
More...
 
virtual void Compute (const Standard_Boolean Segment)
 Converts surface into a grid of bezier based surfaces, and
stores this grid.
More...
 
Handle_ShapeExtend_CompositeSurface Segments () const
 Returns the grid of bezier based surfaces correspondent to
original surface.
More...
 
void SetPlaneMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_Plane to Bezier
More...
 
Standard_Boolean GetPlaneMode () const
 Returns the Geom_Pline conversion mode.
More...
 
void SetRevolutionMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_SurfaceOfRevolution to Bezier
More...
 
Standard_Boolean GetRevolutionMode () const
 Returns the Geom_SurfaceOfRevolution conversion mode.
More...
 
void SetExtrusionMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_SurfaceOfLinearExtrusion to Bezier
More...
 
Standard_Boolean GetExtrusionMode () const
 Returns the Geom_SurfaceOfLinearExtrusion conversion mode.
More...
 
void SetBSplineMode (const Standard_Boolean mode)
 Sets mode for conversion Geom_BSplineSurface to Bezier
More...
 
Standard_Boolean GetBSplineMode () const
 Returns the Geom_BSplineSurface conversion mode.
More...
 
- Public Member Functions inherited from ShapeUpgrade_SplitSurface
 ShapeUpgrade_SplitSurface ()
 Empty constructor.
More...
 
void Init (const Handle< Geom_Surface > &S)
 Initializes with single supporting surface.
More...
 
void Init (const Handle< Geom_Surface > &S, const Standard_Real UFirst, const Standard_Real ULast, const Standard_Real VFirst, const Standard_Real VLast)
 Initializes with single supporting surface with bounding parameters.
More...
 
void SetUSplitValues (const Handle< TColStd_HSequenceOfReal > &UValues)
 Sets U parameters where splitting has to be done
More...
 
void SetVSplitValues (const Handle< TColStd_HSequenceOfReal > &VValues)
 Sets V parameters where splitting has to be done
More...
 
void Perform (const Standard_Boolean Segment=Standard_True)
 Performs correction/splitting of the surface.
First defines splitting values by method Compute(), then calls method Build().
More...
 
const
Handle_TColStd_HSequenceOfReal & 
USplitValues () const
 
returns all the U splitting values including the <br>

First and Last parameters of the input surface
More...

 
const
Handle_TColStd_HSequenceOfReal & 
VSplitValues () const
 
returns all the splitting V values including the <br>

First and Last parameters of the input surface
More...

 
Standard_Boolean Status (const ShapeExtend_Status status) const
 
 Returns the status <br>

OK - no splitting is needed
DONE1 - splitting required and gives more than one patch
DONE2 - splitting is required, but gives only single patch (initial)
DONE3 - geometric form of the surface or parametrisation is modified
More...

 
const
Handle_ShapeExtend_CompositeSurface & 
ResSurfaces () const
 Returns obtained surfaces after splitting as CompositeSurface
More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void ShallowDump (Standard_OStream &) const
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Additional Inherited Members

- Protected Attributes inherited from ShapeUpgrade_SplitSurface
Handle_TColStd_HSequenceOfReal myUSplitValues
 
Handle_TColStd_HSequenceOfReal myVSplitValues
 
Standard_Integer myNbResultingRow
 
Standard_Integer myNbResultingCol
 
Handle_Geom_Surface mySurface
 
Standard_Integer myStatus
 
Handle_ShapeExtend_CompositeSurface myResSurfaces
 

Detailed Description

Converts a plane, bspline surface, surface of revolution, surface
of extrusion, offset surface to grid of bezier basis surface (
bezier surface,
surface of revolution based on bezier curve,
offset surface based on any previous type).

Constructor & Destructor Documentation

ShapeUpgrade_ConvertSurfaceToBezierBasis::ShapeUpgrade_ConvertSurfaceToBezierBasis ( )

Empty constructor.

Member Function Documentation

virtual void ShapeUpgrade_ConvertSurfaceToBezierBasis::Build ( const Standard_Boolean  Segment)
virtual

Splits a list of beziers computed by Compute method according
the split values and splitting parameters.

Reimplemented from ShapeUpgrade_SplitSurface.

virtual void ShapeUpgrade_ConvertSurfaceToBezierBasis::Compute ( const Standard_Boolean  Segment)
virtual

Converts surface into a grid of bezier based surfaces, and
stores this grid.

Reimplemented from ShapeUpgrade_SplitSurface.

Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetBSplineMode ( ) const

Returns the Geom_BSplineSurface conversion mode.

Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetExtrusionMode ( ) const

Returns the Geom_SurfaceOfLinearExtrusion conversion mode.

Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetPlaneMode ( ) const

Returns the Geom_Pline conversion mode.

Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetRevolutionMode ( ) const

Returns the Geom_SurfaceOfRevolution conversion mode.

Handle_ShapeExtend_CompositeSurface ShapeUpgrade_ConvertSurfaceToBezierBasis::Segments ( ) const

Returns the grid of bezier based surfaces correspondent to
original surface.

void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetBSplineMode ( const Standard_Boolean  mode)

Sets mode for conversion Geom_BSplineSurface to Bezier

void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetExtrusionMode ( const Standard_Boolean  mode)

Sets mode for conversion Geom_SurfaceOfLinearExtrusion to Bezier

void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetPlaneMode ( const Standard_Boolean  mode)

Sets mode for conversion Geom_Plane to Bezier

void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetRevolutionMode ( const Standard_Boolean  mode)

Sets mode for conversion Geom_SurfaceOfRevolution to Bezier


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