KiCad PCB EDA Suite
Loading...
Searching...
No Matches
IMPORTED_SPLINE Class Reference

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_SPLINE:
IMPORTED_SHAPE

Public Member Functions

 IMPORTED_SPLINE (const VECTOR2D &aStart, const VECTOR2D &aBezierControl1, const VECTOR2D &aBezierControl2, const VECTOR2D &aEnd, const IMPORTED_STROKE &aStroke)
 
void ImportTo (GRAPHICS_IMPORTER &aImporter) const override
 
virtual std::unique_ptr< IMPORTED_SHAPEclone () const override
 
void Transform (const MATRIX3x3D &aTransform, const VECTOR2D &aTranslation) override
 
BOX2D GetBoundingBox () const override
 
void SetParentShapeIndex (int aIndex)
 
int GetParentShapeIndex () const
 
void SetSourceLayer (const wxString &aSourceLayer)
 
const wxString & GetSourceLayer () const
 

Protected Attributes

int m_parentShapeIndex = -1
 
wxString m_sourceLayer
 

Private Attributes

VECTOR2D m_start
 
VECTOR2D m_bezierControl1
 
VECTOR2D m_bezierControl2
 
VECTOR2D m_end
 
IMPORTED_STROKE m_stroke
 

Detailed Description

Definition at line 314 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

◆ IMPORTED_SPLINE()

IMPORTED_SPLINE::IMPORTED_SPLINE ( const VECTOR2D & aStart,
const VECTOR2D & aBezierControl1,
const VECTOR2D & aBezierControl2,
const VECTOR2D & aEnd,
const IMPORTED_STROKE & aStroke )
inline

Definition at line 317 of file graphics_importer_buffer.h.

References m_bezierControl1, m_bezierControl2, m_end, m_start, and m_stroke.

Member Function Documentation

◆ clone()

virtual std::unique_ptr< IMPORTED_SHAPE > IMPORTED_SPLINE::clone ( ) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 331 of file graphics_importer_buffer.h.

◆ GetBoundingBox()

BOX2D IMPORTED_SPLINE::GetBoundingBox ( ) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 344 of file graphics_importer_buffer.h.

References m_end, m_start, and BOX2< Vec >::Merge().

◆ GetParentShapeIndex()

int IMPORTED_SHAPE::GetParentShapeIndex ( ) const
inlineinherited

◆ GetSourceLayer()

const wxString & IMPORTED_SHAPE::GetSourceLayer ( ) const
inlineinherited

Definition at line 52 of file graphics_importer_buffer.h.

References m_sourceLayer.

◆ ImportTo()

void IMPORTED_SPLINE::ImportTo ( GRAPHICS_IMPORTER & aImporter) const
inlineoverridevirtual

◆ SetParentShapeIndex()

void IMPORTED_SHAPE::SetParentShapeIndex ( int aIndex)
inlineinherited

Definition at line 48 of file graphics_importer_buffer.h.

References m_parentShapeIndex.

◆ SetSourceLayer()

void IMPORTED_SHAPE::SetSourceLayer ( const wxString & aSourceLayer)
inlineinherited

Definition at line 51 of file graphics_importer_buffer.h.

References m_sourceLayer.

◆ Transform()

void IMPORTED_SPLINE::Transform ( const MATRIX3x3D & aTransform,
const VECTOR2D & aTranslation )
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 336 of file graphics_importer_buffer.h.

References m_bezierControl1, m_bezierControl2, m_end, and m_start.

Member Data Documentation

◆ m_bezierControl1

VECTOR2D IMPORTED_SPLINE::m_bezierControl1
private

Definition at line 354 of file graphics_importer_buffer.h.

Referenced by IMPORTED_SPLINE(), ImportTo(), and Transform().

◆ m_bezierControl2

VECTOR2D IMPORTED_SPLINE::m_bezierControl2
private

Definition at line 355 of file graphics_importer_buffer.h.

Referenced by IMPORTED_SPLINE(), ImportTo(), and Transform().

◆ m_end

VECTOR2D IMPORTED_SPLINE::m_end
private

Definition at line 356 of file graphics_importer_buffer.h.

Referenced by GetBoundingBox(), IMPORTED_SPLINE(), ImportTo(), and Transform().

◆ m_parentShapeIndex

int IMPORTED_SHAPE::m_parentShapeIndex = -1
protectedinherited

Definition at line 57 of file graphics_importer_buffer.h.

Referenced by GetParentShapeIndex(), and SetParentShapeIndex().

◆ m_sourceLayer

wxString IMPORTED_SHAPE::m_sourceLayer
protectedinherited

Definition at line 58 of file graphics_importer_buffer.h.

Referenced by GetSourceLayer(), and SetSourceLayer().

◆ m_start

VECTOR2D IMPORTED_SPLINE::m_start
private

Definition at line 353 of file graphics_importer_buffer.h.

Referenced by GetBoundingBox(), IMPORTED_SPLINE(), ImportTo(), and Transform().

◆ m_stroke

IMPORTED_STROKE IMPORTED_SPLINE::m_stroke
private

Definition at line 357 of file graphics_importer_buffer.h.

Referenced by IMPORTED_SPLINE(), and ImportTo().


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