Simple Nano Circuit 0.0.2
|
Public Member Functions | |
WireObject (AsgardClass *) | |
WireObject (WireObject *) | |
WireObject (const unsigned char *, AsgardClass *) | |
const ICType | getType () const override |
void | Drawing () override |
void | Drawing (BaseElectronObject::RendererEffective) override |
BaseElectronObject * | processClickEvent (SDL_Point &) override |
BaseElectronObject * | deepDuplicateSelf () override |
void | processKeyEvent (int) override |
bool | isDrawing () |
void | resetToDrawNewLine () |
SDL_Rect | getLocationRect () override |
NetlistManagerClass::BindResult | bindNetlist () |
wire自身向 netlistManager 申请进行网络绑定 | |
bool | havePopupWindow () override |
const char * | popupWindowName () const override |
void | CreateImGuiForm () override |
void | beSplitedToMultiSubLines (FootPinNode *) |
bool | isPinOnSegment (FootPinNode *) |
bool | isPointOnSegment (SDL_Point) |
void | setNetlist (NetlistClass *_nl) |
const double | getCurrent () |
SDL_Point | SDL_middlePoint () |
void | pinInvalidNotify (FootPinNode *) |
void | setCurrentNotify (FootPinNode *) |
void | saveToFile (std::ofstream &) override |
void | processMouseMotion (const SDL_Point &) override |
void | DrawingElectronAnimate (SDL_Point, SDL_Point) |
![]() | |
BaseElectronObject (AsgardClass *) | |
virtual const ICType | getType () const =0 |
virtual void | Drawing ()=0 |
virtual void | Drawing (BaseElectronObject::RendererEffective)=0 |
virtual BaseElectronObject * | processClickEvent (SDL_Point &)=0 |
virtual void | processKeyEvent (int)=0 |
virtual BaseElectronObject * | deepDuplicateSelf ()=0 |
virtual SDL_Rect | getLocationRect ()=0 |
virtual const char * | popupWindowName () const =0 |
virtual bool | havePopupWindow ()=0 |
virtual void | CreateImGuiForm ()=0 |
virtual void | saveToFile (std::ofstream &)=0 |
virtual void | processMouseMotion (const SDL_Point &)=0 |
Public Attributes | |
const int | lineBorder = 4 |
SDL_Point | startPos |
SDL_Point | endPos |
SDL_Point | mousePos |
FootPinNode * | startPin = nullptr |
FootPinNode * | endPin = nullptr |
WireObject::DrawingLineStage | drawingLineStage = WireObject::DrawingLineStage::NotYet |
NetlistClass * | attachedNet = nullptr |
double | currentPositionOffset = 0 |
![]() | |
const int | moveMinStepLength = MIN_STEP_LENGTH |
AsgardClass * | asgard = nullptr |
Additional Inherited Members | |
![]() | |
enum class | RendererEffective { Valid = 1 , Invalid } |
void WireObject::beSplitedToMultiSubLines | ( | FootPinNode * | footPin | ) |
pin端点改造之后,下面的线段分割方法也进行了相应的调整
|
inlineoverridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.
|
inlineoverridevirtual |
Implements BaseElectronObject.
|
inlineoverridevirtual |
Implements BaseElectronObject.
|
inlineoverridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
线段的终点和起点相同,终点的点击行为视为无效
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.
|
overridevirtual |
Implements BaseElectronObject.