47 #include <QtCore/QObject>
48 #include <QtCore/QThread>
49 #include <QtCore/QStringList>
50 #include "OgreVector3.h"
77 #pragma data_seg(".shared")
107 virtual void run (
const QString ¶meterName );
119 virtual bool process (
const QString ¶meterName );
121 bool getTypeUnknown ()
const;
136 QString getName ()
const;
144 void setName (
const QString &name );
151 QString getTypeName ()
const;
162 void setTypeName (
const QString &typeName );
169 bool isTypeUnknown ()
const;
177 void setTypeUnknown (
bool typeUnknown =
true );
184 bool isEvaluated ()
const;
191 bool isSelected ()
const;
198 virtual void setSelected (
bool selected );
205 bool isSelfEvaluating ()
const;
212 bool isSaveable ()
const;
219 void setSelfEvaluating (
bool selfEvaluating );
226 void setSaveable (
bool saveable );
233 QString getSearchText ()
const;
241 void setSearchText (
const QString &searchText );
302 bool hasParameter (
const QString &name )
const;
310 Parameter * getParameter (
const QString &name )
const;
379 void setDirty (
const QString &name,
bool dirty );
386 void setDirty (
bool dirty );
393 void setNodeDirty (
bool dirty );
407 void removeParameter (
const QString &name,
bool diveInGroups =
true );
414 void removeParameter (
Parameter *parameter,
bool diveInGroups =
true );
419 void addAffection (
const QString ¶meterName,
const QString &affectedParameterName );
431 QVariant getValue (
const QString &name,
bool triggerEvaluation =
false );
441 bool getBoolValue (
const QString &name,
bool triggerEvaluation =
false );
451 int getIntValue (
const QString &name,
bool triggerEvaluation =
false );
461 unsigned int getUnsignedIntValue (
const QString &name,
bool triggerEvaluation =
false );
472 float getFloatValue (
const QString &name,
bool triggerEvaluation =
false );
483 double getDoubleValue (
const QString &name,
bool triggerEvaluation =
false );
493 QString getStringValue (
const QString &name,
bool triggerEvaluation =
false );
503 QColor getColorValue (
const QString &name,
bool triggerEvaluation =
false );
513 Ogre::Vector3 getVectorValue (
const QString &name,
bool triggerEvaluation =
false );
523 Ogre::SceneNode * getSceneNodeValue (
const QString &name,
bool triggerEvaluation =
false );
533 Ogre::TexturePtr getTextureValue (
const QString &name,
bool triggerEvaluation =
false );
543 ParameterGroup * getGroupValue (
const QString &name,
bool triggerEvaluation =
false );
556 void setValue (
const QString &name,
const QVariant &value,
bool triggerDirtying =
false );
566 void setValue (
const QString &name,
bool value,
bool triggerDirtying =
false );
576 void setValue (
const QString &name,
int value,
bool triggerDirtying =
false );
586 void setValue (
const QString &name,
unsigned int value,
bool triggerDirtying =
false );
597 void setValue (
const QString &name,
double value,
bool triggerDirtying =
false );
607 void setValue (
const QString &name,
char *value,
bool triggerDirtying =
false );
617 void setValue (
const QString &name,
const char *value,
bool triggerDirtying =
false );
630 void setValue (
const QString &name,
const QString &value,
bool triggerDirtying =
false );
640 void setValue (
const QString &name,
const QColor &value,
bool triggerDirtying =
false );
650 void setValue (
const QString &name,
const Ogre::Vector3 &value,
bool triggerDirtying =
false );
660 void setValue (
const QString &name,
Ogre::SceneNode *value,
bool triggerDirtying =
false );
670 void setValue (
const QString &name,
const Ogre::TexturePtr value,
bool triggerDirtying =
false );
680 void setValue (
const QString &name,
ParameterGroup *value,
bool triggerDirtying =
false );
688 void setParameterEnabled (
const QString &name,
bool enabled );
701 void setChangeFunction (
const QString &name,
const char *changeFunction );
712 void setProcessingFunction (
const QString &name,
const char *processingFunction );
723 void setAuxProcessingFunction (
const QString &name,
const char *processingFunction );
735 void setCommandFunction (
const QString &name,
const char *commandFunction );
743 void setOnConnectFunction (
const QString &name,
const char *onConnectFunction );
751 void setOnDisconnectFunction (
const QString &name,
const char *onDisconnectFunction );
759 void notifyChange ();
773 virtual void setUpTimeDependencies (
Parameter *timeParameter );
782 virtual void evaluateConnection (
Connection *connection );
789 void deleteConnection (
Connection *connection);
794 void renderSingleFrame ();
803 virtual void setEvaluate (
bool evaluate );
808 virtual void loadReady();
813 virtual void saveStart();
820 void frameChanged (
int);
831 void nodeNameChanged (
const QString &name);
838 void selectedChanged (
bool selected );
845 void sendDeleteConnection (
Connection *connection);
853 void selectDeselectObject (
const QString &name );
856 void loadSceneElementsReady();
864 Ogre::String createUniqueName (
const QString &objectName );
866 virtual void finalize();