Version: 8.3.0
BLSURFPlugin_Attractor Class Reference

#include <BLSURFPlugin_Attractor.hxx>

Public Types

typedef std::vector< double > TDiscreteParam
 
typedef std::vector
< std::vector< double > > 
TDistMap
 
typedef std::vector
< std::vector< bool > > 
TPointSet
 
typedef std::set< std::vector
< double > > 
TTrialSet
 
typedef std::vector< double > Trial_Pnt
 
typedef std::vector< int > IJ_Pnt
 

Public Member Functions

 BLSURFPlugin_Attractor ()
 
 BLSURFPlugin_Attractor (const TopoDS_Face &Face, const TopoDS_Shape &Attractor, const std::string &attEntry)
 
bool init ()
 
void edgeInit (Handle(Geom_Surface) aSurf, const TopoDS_Edge &anEdge)
 
double GetSize (double u, double v)
 
TopoDS_Face GetFace () const
 
TopoDS_Shape GetAttractorShape () const
 
std::string GetAttractorEntry () const
 
std::vector< double > GetParameters () const
 
void SetParameters (double Start_Size, double End_Size, double Action_Radius, double Constant_Radius)
 
void SetType (int type)
 
void BuildMap ()
 
bool IsMapBuilt () const
 
bool Empty () const
 

Private Member Functions

 Handle (Geom_Surface) _plane
 
double _distanceFromMap (double u, double v)
 
double _distanceFromPoint (double u, double v)
 

Private Attributes

TopoDS_Face _face
 
TopoDS_Shape _attractorShape
 
std::string _attEntry
 
TDiscreteParam _vectU
 
TDiscreteParam _vectV
 
TDistMap _DMap
 
TPointSet _known
 
TTrialSet _trial
 
int _type
 
int _gridU
 
int _gridV
 
double _u1
 
double _u2
 
double _v1
 
double _v2
 
double _startSize
 
double _endSize
 
double _actionRadius
 
double _constantRadius
 
bool _isMapBuilt
 
bool _isEmpty
 
gp_Pnt _attractorPnt
 
double(BLSURFPlugin_Attractor::* _distance )(double u, double v)
 

Member Typedef Documentation

typedef std::vector<double> BLSURFPlugin_Attractor::TDiscreteParam
typedef std::vector< std::vector<double> > BLSURFPlugin_Attractor::TDistMap
typedef std::vector< std::vector<bool> > BLSURFPlugin_Attractor::TPointSet
typedef std::set< std::vector<double> > BLSURFPlugin_Attractor::TTrialSet
typedef std::vector<double> BLSURFPlugin_Attractor::Trial_Pnt
typedef std::vector<int> BLSURFPlugin_Attractor::IJ_Pnt

Constructor & Destructor Documentation

BLSURFPlugin_Attractor::BLSURFPlugin_Attractor ( )
BLSURFPlugin_Attractor::BLSURFPlugin_Attractor ( const TopoDS_Face &  Face,
const TopoDS_Shape &  Attractor,
const std::string &  attEntry 
)

References _attractorShape, _face, and init().

Member Function Documentation

void BLSURFPlugin_Attractor::edgeInit ( Handle(Geom_Surface)  aSurf,
const TopoDS_Edge &  anEdge 
)

References _DMap, _gridU, _gridV, _trial, _u1, _u2, _v1, _v2, and Handle().

double BLSURFPlugin_Attractor::GetSize ( double  u,
double  v 
)
TopoDS_Face BLSURFPlugin_Attractor::GetFace ( ) const

References _face.

TopoDS_Shape BLSURFPlugin_Attractor::GetAttractorShape ( ) const

References _attractorShape.

std::string BLSURFPlugin_Attractor::GetAttractorEntry ( ) const

References _attEntry.

std::vector<double> BLSURFPlugin_Attractor::GetParameters ( ) const
void BLSURFPlugin_Attractor::SetParameters ( double  Start_Size,
double  End_Size,
double  Action_Radius,
double  Constant_Radius 
)
void BLSURFPlugin_Attractor::SetType ( int  type)

References _type.

void BLSURFPlugin_Attractor::BuildMap ( )
bool BLSURFPlugin_Attractor::IsMapBuilt ( ) const

References _isMapBuilt.

bool BLSURFPlugin_Attractor::Empty ( ) const

References _isEmpty.

BLSURFPlugin_Attractor::Handle ( Geom_Surface  )
private
double BLSURFPlugin_Attractor::_distanceFromMap ( double  u,
double  v 
)
private

References _DMap, _gridU, _gridV, _u1, _u2, _v1, and _v2.

double BLSURFPlugin_Attractor::_distanceFromPoint ( double  u,
double  v 
)
private

References _attractorPnt.

Field Documentation

TopoDS_Face BLSURFPlugin_Attractor::_face
private
TopoDS_Shape BLSURFPlugin_Attractor::_attractorShape
private
std::string BLSURFPlugin_Attractor::_attEntry
private
TDiscreteParam BLSURFPlugin_Attractor::_vectU
private
TDiscreteParam BLSURFPlugin_Attractor::_vectV
private
TDistMap BLSURFPlugin_Attractor::_DMap
private
TPointSet BLSURFPlugin_Attractor::_known
private
TTrialSet BLSURFPlugin_Attractor::_trial
private
int BLSURFPlugin_Attractor::_type
private
int BLSURFPlugin_Attractor::_gridU
private
int BLSURFPlugin_Attractor::_gridV
private
double BLSURFPlugin_Attractor::_u1
private
double BLSURFPlugin_Attractor::_u2
private
double BLSURFPlugin_Attractor::_v1
private
double BLSURFPlugin_Attractor::_v2
private
double BLSURFPlugin_Attractor::_startSize
private
double BLSURFPlugin_Attractor::_endSize
private
double BLSURFPlugin_Attractor::_actionRadius
private
double BLSURFPlugin_Attractor::_constantRadius
private
bool BLSURFPlugin_Attractor::_isMapBuilt
private
bool BLSURFPlugin_Attractor::_isEmpty
private
gp_Pnt BLSURFPlugin_Attractor::_attractorPnt
private
double(BLSURFPlugin_Attractor::* BLSURFPlugin_Attractor::_distance)(double u, double v)
private