44 #ifndef VSI_ELEMENT_HH_ 45 #define VSI_ELEMENT_HH_ 61 #define ELEMENT_FLAG_NO_DELETE 0x1 62 #define ELEMENT_FLAG_SKIP_TOOLBOX 0x2 82 QString
name ()
const {
return name_; };
85 const QString &
category ()
const {
return category_; };
94 const QVector<Input *> &
inputs ()
const {
return inputs_; };
97 const QVector<Output *> &
outputs ()
const {
return outputs_; };
100 const QVector <Function*> &
functions ()
const {
return functions_; };
109 unsigned int flags ()
const {
return flags_; };
112 QString
precode ()
const {
return precode_; };
115 QString
code ()
const {
return code_; };
136 QVector <Input*> inputs_;
137 QVector <Output*> outputs_;
138 QVector <Function*> functions_;
Output * dataOut()
Scenegraph output.
Input * dataIn()
Scenegraph input.
QString precode() const
Precode segment.
Context * context() const
Context of element.
QString name() const
Element name.
const QString & longDescription() const
Long description.
const QVector< Output * > & outputs() const
Outputs.
const QVector< Input * > & inputs() const
Inputs.
unsigned int getNewId()
Returns an unused id number.
QString code() const
Code segment.
const QString & category() const
Element category.
const QString & shortDescription() const
Short description.
Element(Context *_context, QString _name)
Constructor.
void setMinId(unsigned int _id)
sets the minimum for an unused id
unsigned int flags() const
Flags.
const QVector< Function * > & functions() const
Functions.