Power System Platform  2018w15a
Classes | Enumerations
Element.h File Reference
#include <wx/msgdlg.h>
#include <wx/geometry.h>
#include <wx/cursor.h>
#include <wx/menu.h>
#include <wx/stdpaths.h>
#include <wx/filename.h>
#include <GL/gl.h>
#include <complex>
#include "XMLParser.h"
Include dependency graph for Element.h:
This graph shows which files directly or indirectly include this file:

Classes

class  OpenGLColour
 Class to manage color of OpenGL. More...
 
class  Element
 Base class of all elements of the program. This class is responsible for manage graphical and his data. More...
 

Enumerations

enum  PickboxID {
  ID_PB_NONE = 0, ID_PB_RIGHT, ID_PB_LEFT, ID_PB_RIGHT_BOTTOM,
  ID_PB_RIGHT_TOP, ID_PB_LEFT_BOTTOM, ID_PB_LEFT_TOP
}
 ID of the pickbox. More...
 
enum  ContextMenuID {
  ID_EDIT_ELEMENT = 0, ID_LINE_ADD_NODE, ID_LINE_REMOVE_NODE, ID_ROTATE_CLOCK,
  ID_ROTATE_COUNTERCLOCK, ID_DELETE
}
 ID of contex menu itens. More...
 

Enumeration Type Documentation

◆ ContextMenuID

ID of contex menu itens.

Enumerator
ID_EDIT_ELEMENT 

Edit element

ID_LINE_ADD_NODE 

Add node on power lines

ID_LINE_REMOVE_NODE 

Remove power line node

ID_ROTATE_CLOCK 

Rotate the element clockwise

ID_ROTATE_COUNTERCLOCK 

Rotate the element counter-clockwise

ID_DELETE 

Delete the element

◆ PickboxID

enum PickboxID

ID of the pickbox.

Enumerator
ID_PB_NONE 

No pickbox

ID_PB_RIGHT 

Right pickbox

ID_PB_LEFT 

Left pickbox

ID_PB_RIGHT_BOTTOM 

Right-bottom pickbox

ID_PB_RIGHT_TOP 

Right-top pickbox

ID_PB_LEFT_BOTTOM 

Left-bottom pickbox

ID_PB_LEFT_TOP 

Left-top pickbox