Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
ON_Hatch Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_hatch.h>

+ Inheritance diagram for ON_Hatch:
+ Collaboration diagram for ON_Hatch:

Public Member Functions

 ON_Hatch ()
 
 ON_Hatch (const ON_Hatch &)
 
ON_Hatchoperator= (const ON_Hatch &)
 
 ~ON_Hatch ()
 
virtual ON_HatchDuplicateHatch () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
void Dump (ON_TextLog &) const
 
ON_BOOL32 Write (ON_BinaryArchive &) const
 
ON_BOOL32 Read (ON_BinaryArchive &)
 
ON::object_type ObjectType () const
 
int Dimension () const
 
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
 
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
ON_BOOL32 Transform (const ON_Xform &)
 
bool Create (const ON_Plane &plane, const ON_SimpleArray< const ON_Curve * > loops, int pattern_index, double pattern_rotation, double pattern_scale)
 
const ON_PlanePlane () const
 
void SetPlane (const ON_Plane &plane)
 
double PatternRotation () const
 
void SetPatternRotation (double rotation)
 
double PatternScale () const
 
void SetPatternScale (double scale)
 
int LoopCount () const
 
void AddLoop (ON_HatchLoop *loop)
 
bool InsertLoop (int index, ON_HatchLoop *loop)
 
bool RemoveLoop (int index)
 
const ON_HatchLoopLoop (int index) const
 
ON_CurveLoopCurve3d (int index) const
 
int PatternIndex () const
 
void SetPatternIndex (int index)
 
void SetBasePoint (ON_2dPoint basepoint)
 
void SetBasePoint (ON_3dPoint point)
 
ON_3dPoint BasePoint () const
 
ON_2dPoint BasePoint2d () const
 
bool ReplaceLoops (ON_SimpleArray< const ON_Curve * > loops)
 
- Public Member Functions inherited from ON_Geometry
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
virtual ~ON_Geometry ()
 
ON_BoundingBox BoundingBox () const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Translate (const ON_3dVector &translation_vector)
 
ON_BOOL32 Scale (double scale_factor)
 
virtual void ClearBoundingBox ()
 
virtual bool IsDeformable () const
 
virtual bool MakeDeformable ()
 
virtual ON_BOOL32 SwapCoordinates (int i, int j)
 
virtual ON_BOOL32 HasBrepForm () const
 
virtual ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
virtual ON_COMPONENT_INDEX ComponentIndex () const
 
virtual bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
- Public Member Functions inherited from ON_Object
bool CopyFrom (const ON_Object *src)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
virtual ~ON_Object ()
 
void EmergencyDestroy ()
 
virtual void MemoryRelocate ()
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual unsigned int SizeOf () const
 
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
virtual ON_UUID ModelObjectId () const
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
int SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace)
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int UserStringCount () const
 
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
void PurgeUserData ()
 
ON_UserDataFirstUserData () const
 
void TransformUserData (const ON_Xform &xform)
 
void CopyUserData (const ON_Object &source_object)
 
void MoveUserData (ON_Object &source_object)
 
virtual void DestroyRuntimeCache (bool bDelete=true)
 

Protected Member Functions

class ON_HatchExtra * HatchExtension ()
 

Protected Attributes

ON_Plane m_plane
 
double m_pattern_scale
 
double m_pattern_rotation
 
ON_SimpleArray< ON_HatchLoop * > m_loops
 
int m_pattern_index
 

Detailed Description

Definition at line 523 of file opennurbs_hatch.h.

Constructor & Destructor Documentation

◆ ON_Hatch() [1/2]

ON_Hatch::ON_Hatch ( )

◆ ON_Hatch() [2/2]

ON_Hatch::ON_Hatch ( const ON_Hatch )

◆ ~ON_Hatch()

ON_Hatch::~ON_Hatch ( )

Member Function Documentation

◆ AddLoop()

void ON_Hatch::AddLoop ( ON_HatchLoop loop)

◆ BasePoint()

ON_3dPoint ON_Hatch::BasePoint ( ) const

◆ BasePoint2d()

ON_2dPoint ON_Hatch::BasePoint2d ( ) const

◆ Create()

bool ON_Hatch::Create ( const ON_Plane plane,
const ON_SimpleArray< const ON_Curve * >  loops,
int  pattern_index,
double  pattern_rotation,
double  pattern_scale 
)

◆ Dimension()

int ON_Hatch::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Dump()

void ON_Hatch::Dump ( ON_TextLog ) const
virtual

Reimplemented from ON_Object.

◆ DuplicateHatch()

virtual ON_Hatch* ON_Hatch::DuplicateHatch ( ) const
virtual

◆ GetBBox()

ON_BOOL32 ON_Hatch::GetBBox ( double *  ,
double *  ,
ON_BOOL32  = false 
) const
virtual

Implements ON_Geometry.

◆ GetTightBoundingBox()

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

Reimplemented from ON_Geometry.

◆ HatchExtension()

class ON_HatchExtra* ON_Hatch::HatchExtension ( )
protected

◆ InsertLoop()

bool ON_Hatch::InsertLoop ( int  index,
ON_HatchLoop loop 
)

◆ IsValid()

ON_BOOL32 ON_Hatch::IsValid ( ON_TextLog text_log = NULL) const
virtual

Implements ON_Object.

◆ Loop()

const ON_HatchLoop* ON_Hatch::Loop ( int  index) const

◆ LoopCount()

int ON_Hatch::LoopCount ( ) const

◆ LoopCurve3d()

ON_Curve* ON_Hatch::LoopCurve3d ( int  index) const

◆ ObjectType()

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

Reimplemented from ON_Object.

◆ operator=()

ON_Hatch& ON_Hatch::operator= ( const ON_Hatch )

◆ PatternIndex()

int ON_Hatch::PatternIndex ( ) const

◆ PatternRotation()

double ON_Hatch::PatternRotation ( ) const

◆ PatternScale()

double ON_Hatch::PatternScale ( ) const

◆ Plane()

const ON_Plane& ON_Hatch::Plane ( ) const

◆ Read()

ON_BOOL32 ON_Hatch::Read ( ON_BinaryArchive )
virtual

Reimplemented from ON_Object.

◆ RemoveLoop()

bool ON_Hatch::RemoveLoop ( int  index)

◆ ReplaceLoops()

bool ON_Hatch::ReplaceLoops ( ON_SimpleArray< const ON_Curve * >  loops)

◆ SetBasePoint() [1/2]

void ON_Hatch::SetBasePoint ( ON_2dPoint  basepoint)

◆ SetBasePoint() [2/2]

void ON_Hatch::SetBasePoint ( ON_3dPoint  point)

◆ SetPatternIndex()

void ON_Hatch::SetPatternIndex ( int  index)

◆ SetPatternRotation()

void ON_Hatch::SetPatternRotation ( double  rotation)

◆ SetPatternScale()

void ON_Hatch::SetPatternScale ( double  scale)

◆ SetPlane()

void ON_Hatch::SetPlane ( const ON_Plane plane)

◆ Transform()

ON_BOOL32 ON_Hatch::Transform ( const ON_Xform )
virtual

Reimplemented from ON_Geometry.

◆ Write()

ON_BOOL32 ON_Hatch::Write ( ON_BinaryArchive ) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ m_loops

ON_SimpleArray<ON_HatchLoop*> ON_Hatch::m_loops
protected

Definition at line 824 of file opennurbs_hatch.h.

◆ m_pattern_index

int ON_Hatch::m_pattern_index
protected

Definition at line 825 of file opennurbs_hatch.h.

◆ m_pattern_rotation

double ON_Hatch::m_pattern_rotation
protected

Definition at line 823 of file opennurbs_hatch.h.

◆ m_pattern_scale

double ON_Hatch::m_pattern_scale
protected

Definition at line 822 of file opennurbs_hatch.h.

◆ m_plane

ON_Plane ON_Hatch::m_plane
protected

Definition at line 821 of file opennurbs_hatch.h.


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