SCIRun
5.0
|
Typedefs | |
typedef boost::shared_ptr < ConnectionDrawStrategy > | ConnectionDrawStrategyPtr |
typedef boost::shared_ptr < NoteDisplayStrategy > | NoteDisplayStrategyPtr |
typedef boost::shared_ptr < PositionProvider > | PositionProviderPtr |
typedef boost::variant < QAction *, QWidget * > | InputWidget |
typedef boost::bimap < std::string, std::string > | GuiStringTranslationMap |
typedef boost::shared_ptr < WidgetSlotManager > | WidgetSlotManagerPtr |
Enumerations | |
enum | ConnectionDrawType { MANHATTAN, EUCLIDEAN, CUBIC } |
enum | NotePosition { Default, None, Tooltip, Top, Left, Right, Bottom } |
Functions | |
const QString | deleteAction ("Delete") |
const QString | insertModuleAction ("Insert Module->*") |
const QString | disableEnableAction ("Disable*") |
const QString | editNotesAction ("Edit Notes...") |
bool | portTypeMatches (const std::string &portTypeToMatch, bool isInput, const ModuleDescription &module) |
void | fillMenu (QMenu *menu, const ModuleDescriptionMap &moduleMap, PortWidget *parent) |
template<class Func > | |
void | visitItem (QTreeWidgetItem *item, Func &itemFunc) |
template<class Func > | |
void | visitTree (QTreeWidget *tree, Func &itemFunc) |
QColor | to_color (const std::string &str) |
QAction * | separatorAction (QWidget *parent) |
QAction * | disabled (QAction *action) |
std::ostream & | operator<< (std::ostream &o, const QPointF &p) |
size_t | buildNormalRenderingForVBO (std::shared_ptr< std::vector< uint8_t >> vboData, size_t stride, float normalLength, std::vector< uint8_t > &out_vboData, std::vector< uint8_t > &out_iboData, size_t posOffset, size_t normOffset) |
Variables | |
float | rainbowRaw [] |
typedef boost::shared_ptr<ConnectionDrawStrategy> ConnectionDrawStrategyPtr |
typedef boost::bimap<std::string,std::string> GuiStringTranslationMap |
typedef boost::variant<QAction*, QWidget*> InputWidget |
typedef boost::shared_ptr<NoteDisplayStrategy> NoteDisplayStrategyPtr |
typedef boost::shared_ptr<PositionProvider> PositionProviderPtr |
typedef boost::shared_ptr<WidgetSlotManager> WidgetSlotManagerPtr |
enum ConnectionDrawType |
enum NotePosition |
size_t buildNormalRenderingForVBO | ( | std::shared_ptr< std::vector< uint8_t >> | vboData, |
size_t | stride, | ||
float | normLength, | ||
std::vector< uint8_t > & | out_vboData, | ||
std::vector< uint8_t > & | out_iboData, | ||
size_t | posOffset = 0 , |
||
size_t | normOffset = sizeof(float)*3 |
||
) |
Normal rendering. Expects position and normals to be floats.
vboData | The raw VBO that gets sent to spire. |
stride | Stride between vertices. |
normLength | Length of the normal. |
posOffset | Offset to position. |
normOffset | Offset to the normal. |
out_vboData | Output VBO data. Format: Position. Where the 3 elements inside the position are floats. |
out_iboData | Output IBO data. Format: uint16_t, GL_LINE. |
const QString SCIRun::Gui::deleteAction | ( | "Delete" | ) |
|
inline |
const QString SCIRun::Gui::disableEnableAction | ( | "Disable*" | ) |
const QString SCIRun::Gui::editNotesAction | ( | "Edit Notes..." | ) |
void SCIRun::Gui::fillMenu | ( | QMenu * | menu, |
const ModuleDescriptionMap & | moduleMap, | ||
PortWidget * | parent | ||
) |
const QString SCIRun::Gui::insertModuleAction | ( | "Insert Module->*" | ) |
|
inline |
bool SCIRun::Gui::portTypeMatches | ( | const std::string & | portTypeToMatch, |
bool | isInput, | ||
const ModuleDescription & | module | ||
) |
|
inline |
|
inline |
void SCIRun::Gui::visitItem | ( | QTreeWidgetItem * | item, |
Func & | itemFunc | ||
) |
void SCIRun::Gui::visitTree | ( | QTreeWidget * | tree, |
Func & | itemFunc | ||
) |
float rainbowRaw[] |