50 #ifndef VSI_ELEMENT_HH_ 51 #define VSI_ELEMENT_HH_ 67 #define ELEMENT_FLAG_NO_DELETE 0x1 68 #define ELEMENT_FLAG_SKIP_TOOLBOX 0x2 88 QString
name ()
const {
return name_; };
91 const QString &
category ()
const {
return category_; };
100 const QVector<Input *> &
inputs ()
const {
return inputs_; };
103 const QVector<Output *> &
outputs ()
const {
return outputs_; };
106 const QVector <Function*> &
functions ()
const {
return functions_; };
115 unsigned int flags ()
const {
return flags_; };
118 QString
precode ()
const {
return precode_; };
121 QString
code ()
const {
return code_; };
142 QVector <Input*> inputs_;
143 QVector <Output*> outputs_;
144 QVector <Function*> functions_;
unsigned int flags() const
Flags.
const QVector< Input * > & inputs() const
Inputs.
const QString & shortDescription() const
Short description.
const QString & category() const
Element category.
void setMinId(unsigned int _id)
sets the minimum for an unused id
Element(Context *_context, QString _name)
Constructor.
Context * context() const
Context of element.
const QString & longDescription() const
Long description.
unsigned int getNewId()
Returns an unused id number.
Output * dataOut()
Scenegraph output.
const QVector< Output * > & outputs() const
Outputs.
QString precode() const
Precode segment.
const QVector< Function * > & functions() const
Functions.
QString name() const
Element name.
Input * dataIn()
Scenegraph input.
QString code() const
Code segment.