QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_MorphControl Class Reference

#include <opennurbs_nurbssurface.h>

Inheritance diagram for ON_MorphControl:
ON_Geometry ON_Object

Public Member Functions

bool AddBoxLocalizer (ON_BoundingBox bbox, double support_distance, double falloff_distance)
 
bool AddControlLocalizer (double support_distance, double falloff_distance)
 
bool AddConvexPolygonLocalizer (const ON_SimpleArray< ON_Plane > &planes, double support_distance, double falloff_distance)
 
bool AddCylinderLocalizer (ON_Line axis, double support_distance, double falloff_distance)
 
bool AddPlaneLocalizer (const ON_Plane &plane, double support_distance, double falloff_distance)
 
bool AddSphereLocalizer (ON_3dPoint center, double support_distance, double falloff_distance)
 
ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
void ClearBoundingBox ()
 
const double * CV (ON_3dex) const
 
int CVCount () const
 
int CVCount (int dir) const
 
void Destroy ()
 
void DestroyRuntimeCache (bool bDelete=true)
 
int Dimension () const
 
void Dump (ON_TextLog &) const
 
ON_BOOL32 GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const
 
bool GetCageMorph (class ON_CageMorph &cage_morph) const
 
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
ON_BOOL32 HasBrepForm () const
 
bool IsIdentity (const ON_BoundingBox &bbox) const
 
bool IsMorphable () const
 
bool IsRational () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
const double * Knot (int dir) const
 
bool MakeNonRational ()
 
bool MakeRational ()
 
ON_3dex MaxCVIndex () const
 
void MemoryRelocate ()
 
bool Morph (const ON_SpaceMorph &morph)
 
ON_3dPoint MorphPoint (ON_3dPoint point) const
 
void MorphPointLocalizerHelper (const ON_3dPoint &point, double &w, double &clspt_max_dist, const ON_Localizer *&distloc) const
 
void MorphPointVarient1Helper (double t, double w, const ON_Localizer *distloc, ON_3dPoint &Q, ON_3dVector *N) const
 
void MorphPointVarient2Helper (double s, double t, double w, const ON_Localizer *distloc, ON_3dPoint &Q, ON_3dVector *N) const
 
ON::object_type ObjectType () const
 
 ON_MorphControl ()
 
int Order (int dir) const
 
ON_BOOL32 Read (ON_BinaryArchive &archive)
 
unsigned int SizeOf () const
 
ON_BOOL32 Transform (const ON_Xform &xform)
 
double Weight (ON_3dex) const
 
ON_BOOL32 Write (ON_BinaryArchive &archive) const
 
 ~ON_MorphControl ()
 
- Public Member Functions inherited from ON_Geometry
ON_BoundingBox BoundingBox () const
 
virtual ON_COMPONENT_INDEX ComponentIndex () const
 
virtual bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
ON_BOOL32 GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
 
virtual bool IsDeformable () const
 
virtual bool MakeDeformable ()
 
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Scale (double scale_factor)
 
virtual ON_BOOL32 SwapCoordinates (int i, int j)
 
ON_BOOL32 Translate (const ON_3dVector &translation_vector)
 
virtual ~ON_Geometry ()
 
- Public Member Functions inherited from ON_Object
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
bool CopyFrom (const ON_Object *src)
 
void CopyUserData (const ON_Object &source_object)
 
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataFirstUserData () const
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual ON_UUID ModelObjectId () const
 
void MoveUserData (ON_Object &source_object)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
void PurgeUserData ()
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Public Attributes

ON_UuidList m_captive_id
 
ON_ClassArray< ON_Localizerm_localizers
 
ON_NurbsCage m_nurbs_cage
 
ON_Xform m_nurbs_cage0
 
ON_NurbsCurve m_nurbs_curve
 
ON_NurbsCurve m_nurbs_curve0
 
ON_Interval m_nurbs_curve_domain
 
ON_NurbsSurface m_nurbs_surface
 
ON_NurbsSurface m_nurbs_surface0
 
ON_Interval m_nurbs_surface_domain [2]
 
bool m_sporh_bPreserveStructure
 
bool m_sporh_bQuickPreview
 
double m_sporh_tolerance
 
int m_varient
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Private Member Functions

 ON_OBJECT_DECLARE (ON_MorphControl)
 

Constructor & Destructor Documentation

◆ ON_MorphControl()

ON_MorphControl::ON_MorphControl ( )

◆ ~ON_MorphControl()

ON_MorphControl::~ON_MorphControl ( )

Member Function Documentation

◆ AddBoxLocalizer()

bool ON_MorphControl::AddBoxLocalizer ( ON_BoundingBox bbox,
double support_distance,
double falloff_distance )

◆ AddControlLocalizer()

bool ON_MorphControl::AddControlLocalizer ( double support_distance,
double falloff_distance )

◆ AddConvexPolygonLocalizer()

bool ON_MorphControl::AddConvexPolygonLocalizer ( const ON_SimpleArray< ON_Plane > & planes,
double support_distance,
double falloff_distance )

◆ AddCylinderLocalizer()

bool ON_MorphControl::AddCylinderLocalizer ( ON_Line axis,
double support_distance,
double falloff_distance )

◆ AddPlaneLocalizer()

bool ON_MorphControl::AddPlaneLocalizer ( const ON_Plane & plane,
double support_distance,
double falloff_distance )

◆ AddSphereLocalizer()

bool ON_MorphControl::AddSphereLocalizer ( ON_3dPoint center,
double support_distance,
double falloff_distance )

◆ BrepForm()

ON_Brep * ON_MorphControl::BrepForm ( ON_Brep * brep = NULL) const
virtual

Reimplemented from ON_Geometry.

◆ ClearBoundingBox()

void ON_MorphControl::ClearBoundingBox ( )
virtual

Reimplemented from ON_Geometry.

◆ CV()

const double * ON_MorphControl::CV ( ON_3dex ijk) const

◆ CVCount() [1/2]

int ON_MorphControl::CVCount ( ) const

◆ CVCount() [2/2]

int ON_MorphControl::CVCount ( int dir) const

◆ Destroy()

void ON_MorphControl::Destroy ( )

◆ DestroyRuntimeCache()

void ON_MorphControl::DestroyRuntimeCache ( bool bDelete = true)
virtual

Reimplemented from ON_Object.

◆ Dimension()

int ON_MorphControl::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Dump()

void ON_MorphControl::Dump ( ON_TextLog & text_log) const
virtual

Reimplemented from ON_Object.

◆ GetBBox()

ON_BOOL32 ON_MorphControl::GetBBox ( double * boxmin,
double * boxmax,
int bGrowBox = false ) const
virtual

Implements ON_Geometry.

◆ GetCageMorph()

bool ON_MorphControl::GetCageMorph ( class ON_CageMorph & cage_morph) const

◆ GetTightBoundingBox()

bool ON_MorphControl::GetTightBoundingBox ( ON_BoundingBox & tight_bbox,
int bGrowBox = false,
const ON_Xform * xform = 0 ) const
virtual

Reimplemented from ON_Geometry.

◆ HasBrepForm()

ON_BOOL32 ON_MorphControl::HasBrepForm ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsIdentity()

bool ON_MorphControl::IsIdentity ( const ON_BoundingBox & bbox) const

◆ IsMorphable()

bool ON_MorphControl::IsMorphable ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsRational()

bool ON_MorphControl::IsRational ( ) const

◆ IsValid()

ON_BOOL32 ON_MorphControl::IsValid ( ON_TextLog * text_log = NULL) const
virtual

Implements ON_Object.

◆ Knot()

const double * ON_MorphControl::Knot ( int dir) const

◆ MakeNonRational()

bool ON_MorphControl::MakeNonRational ( )

◆ MakeRational()

bool ON_MorphControl::MakeRational ( )

◆ MaxCVIndex()

ON_3dex ON_MorphControl::MaxCVIndex ( ) const

◆ MemoryRelocate()

void ON_MorphControl::MemoryRelocate ( )
virtual

Reimplemented from ON_Object.

◆ Morph()

bool ON_MorphControl::Morph ( const ON_SpaceMorph & morph)
virtual

Reimplemented from ON_Geometry.

◆ MorphPoint()

ON_3dPoint ON_MorphControl::MorphPoint ( ON_3dPoint point) const

◆ MorphPointLocalizerHelper()

void ON_MorphControl::MorphPointLocalizerHelper ( const ON_3dPoint & point,
double & w,
double & clspt_max_dist,
const ON_Localizer *& distloc ) const

◆ MorphPointVarient1Helper()

void ON_MorphControl::MorphPointVarient1Helper ( double t,
double w,
const ON_Localizer * distloc,
ON_3dPoint & Q,
ON_3dVector * N ) const

◆ MorphPointVarient2Helper()

void ON_MorphControl::MorphPointVarient2Helper ( double s,
double t,
double w,
const ON_Localizer * distloc,
ON_3dPoint & Q,
ON_3dVector * N ) const

◆ ObjectType()

ON::object_type ON_MorphControl::ObjectType ( ) const
virtual

Reimplemented from ON_Object.

◆ ON_OBJECT_DECLARE()

ON_MorphControl::ON_OBJECT_DECLARE ( ON_MorphControl )
private

◆ Order()

int ON_MorphControl::Order ( int dir) const

◆ Read()

ON_BOOL32 ON_MorphControl::Read ( ON_BinaryArchive & archive)
virtual

Reimplemented from ON_Object.

◆ SizeOf()

unsigned int ON_MorphControl::SizeOf ( ) const
virtual

Reimplemented from ON_Object.

◆ Transform()

ON_BOOL32 ON_MorphControl::Transform ( const ON_Xform & xform)
virtual

Reimplemented from ON_Geometry.

◆ Weight()

double ON_MorphControl::Weight ( ON_3dex ijk) const

◆ Write()

ON_BOOL32 ON_MorphControl::Write ( ON_BinaryArchive & archive) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ m_captive_id

ON_UuidList ON_MorphControl::m_captive_id

◆ m_localizers

ON_ClassArray<ON_Localizer> ON_MorphControl::m_localizers

◆ m_nurbs_cage

ON_NurbsCage ON_MorphControl::m_nurbs_cage

◆ m_nurbs_cage0

ON_Xform ON_MorphControl::m_nurbs_cage0

◆ m_nurbs_curve

ON_NurbsCurve ON_MorphControl::m_nurbs_curve

◆ m_nurbs_curve0

ON_NurbsCurve ON_MorphControl::m_nurbs_curve0

◆ m_nurbs_curve_domain

ON_Interval ON_MorphControl::m_nurbs_curve_domain

◆ m_nurbs_surface

ON_NurbsSurface ON_MorphControl::m_nurbs_surface

◆ m_nurbs_surface0

ON_NurbsSurface ON_MorphControl::m_nurbs_surface0

◆ m_nurbs_surface_domain

ON_Interval ON_MorphControl::m_nurbs_surface_domain[2]

◆ m_sporh_bPreserveStructure

bool ON_MorphControl::m_sporh_bPreserveStructure

◆ m_sporh_bQuickPreview

bool ON_MorphControl::m_sporh_bQuickPreview

◆ m_sporh_tolerance

double ON_MorphControl::m_sporh_tolerance

◆ m_varient

int ON_MorphControl::m_varient

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