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_;
unsigned int flags() const
Flags.
const QString & longDescription() const
Long description.
const QVector< Output * > & outputs() const
Outputs.
Input * dataIn()
Scenegraph input.
Output * dataOut()
Scenegraph output.
const QVector< Function * > & functions() const
Functions.
const QVector< Input * > & inputs() const
Inputs.
QString precode() const
Precode segment.
void setMinId(unsigned int _id)
sets the minimum for an unused id
const QString & shortDescription() const
Short description.
unsigned int getNewId()
Returns an unused id number.
Context * context() const
Context of element.
Element(Context *_context, QString _name)
Constructor.
QString name() const
Element name.
QString code() const
Code segment.
const QString & category() const
Element category.