summaryrefslogtreecommitdiffstats
path: root/Project/Element.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-03 17:09:24 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-03 17:09:24 -0300
commit726686c9b378f3a727ded52226b13a760cba1e6c (patch)
tree941150985ee1823041024ce50bc812303d30868e /Project/Element.h
parent077270f0294d236c6047d850703c5d011cb4b711 (diff)
downloadPSP.git-726686c9b378f3a727ded52226b13a760cba1e6c.tar.gz
PSP.git-726686c9b378f3a727ded52226b13a760cba1e6c.tar.xz
PSP.git-726686c9b378f3a727ded52226b13a760cba1e6c.zip
Inductor under implementation
Ind motor, sync condenser and load implemented
Diffstat (limited to 'Project/Element.h')
-rw-r--r--Project/Element.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/Element.h b/Project/Element.h
index 7eb90c9..d15fc57 100644
--- a/Project/Element.h
+++ b/Project/Element.h
@@ -24,6 +24,8 @@ enum ContextMenuID
ID_EDIT_TRANSFORMER,
ID_EDIT_SYNCGENERATOR,
ID_EDIT_INDMOTOR,
+ ID_EDIT_SYNCMOTOR,
+ ID_EDIT_LOAD,
ID_LINE_ADD_NODE,
ID_LINE_REMOVE_NODE,
@@ -93,8 +95,10 @@ class Element
double offsetY = 0.0) const;
virtual bool RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const;
virtual void DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode = GL_LINE_LOOP) const;
+ virtual void DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode = GL_LINE_LOOP) const;
virtual void DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode = GL_QUADS) const;
virtual void DrawRectangle(wxPoint2DDouble* points, GLenum mode = GL_QUADS) const;
+ virtual void DrawTriangle(std::vector<wxPoint2DDouble> points, GLenum mode = GL_TRIANGLES) const;
virtual void DrawPoint(wxPoint2DDouble position, double size) const;
virtual void DrawLine(std::vector<wxPoint2DDouble> points, GLenum mode = GL_LINE_STRIP) const;
virtual void DrawPickbox(wxPoint2DDouble position) const;