Signals |
|
void | openedFile (int _id) |
|
void | addEmptyObject (DataType _type, int &_id) |
|
void | load (QString _filename, DataType _type, int &_id) |
|
void | save (int _id, QString _filename) |
|
void | log (Logtype _type, QString _message) |
|
void | log (QString _message) |
|
void | updateView () |
|
void | deleteObject (int _id) |
| virtual void | setRenderer (unsigned int _viewer, QString _rendererName) |
| | Set a renderer for the given viewer.
|
| virtual void | getCurrentRenderer (unsigned int _viewer, QString &_rendererName) |
| | Get the current renderer for the given viewer.
|
| virtual void | updateView () |
| | Update current view in Main Application.
|
| virtual void | updatedObject (int _objectId) |
| | An object has been changed or added by this plugin.
|
| virtual void | updatedObject (int _identifier, const UpdateType &_type) |
| | An object has been changed or added by this plugin.
|
| virtual void | nodeVisibilityChanged (int _identifier) |
| | A scenegraph node has been shown or hidden.
|
| virtual void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
| | Set a description for a public slot.
|
| virtual void | openedFile (int _id) |
| | This signal has to be emitted if an object has been loaded from a file.
|
| virtual void | save (int _id, QString _filename) |
| | Save object to a file.
|
| virtual void | load (QString _filename, DataType _type, int &_id) |
| | Load object from file with a specific DataType.
|
| virtual void | addEmptyObject (DataType _type, int &_id) |
| virtual void | copyObject (int _oldId, int &_newId) |
| virtual void | emptyObjectAdded (int _id) |
| | DEPRECATED! Emit this signal if an empty object has been created.
|
| virtual void | deleteObject (int _id) |
| | Delete an object.
|
| virtual void | deleteAllObjects () |
| | Delete all Objects.
|
| virtual void | getAllFileFilters (QStringList &_filters) |
| | Get all file filters that are registered.
|
| virtual void | log (Logtype _type, QString _message)=0 |
| virtual void | log (QString _message)=0 |
| virtual void | executeScript (QString _script) |
| virtual void | executeFileScript (QString _filename) |
| virtual void | getAvailableFunctions (QStringList &_functions) |
| virtual void | getDescription (QString _function, QString &_description, QStringList &_parameters, QStringList &_descriptions) |
| virtual void | scriptInfo (QString _functionWithParameters) |
| | Emit this signal if a scriptable function is executed.
|
| virtual void | getScriptingEngine (QScriptEngine *&_engine) |
Private Member Functions |
|
size_t | getTypeSize (std::string _type) |
|
bool | parseHeader (QString _filename, PLYHeader &_header) |
| template<class MeshT > |
| bool | readMeshFileAscii (QString _filename, MeshT *_mesh, const PLYHeader &_header) |
|
template<class MeshT > |
| bool | readMeshFileBinary (QString _filename, MeshT *_mesh, const PLYHeader &_header) |
|
template<class MeshT > |
| bool | writeMeshFileAscii (QString _filename, MeshT *_mesh) |
|
template<class MeshT > |
| bool | writeMeshFileBinary (QString _filename, MeshT *_mesh) |
|
template<class MeshT > |
| void | writeHeader (std::ofstream &_os, MeshT *_mesh, bool _binary) |
|
template<class MeshT > |
| void | backupTextureCoordinates (MeshT &_mesh) |
| | creates a backup of the original per vertex/face texture coordinates
|
|
template<class T > |
| void | readValue (std::istream &_in, T &_value, bool _bigEndian) const |
| | Helper functions for writing/reading of binary data.
|
|
template<class T > |
| void | writeValue (std::ostream &_out, T value, bool _bigEndian=false) const |
|
virtual | ~BaseInterface () |
| | Destructor.
|
| virtual QString | name ()=0 |
| | Return a name for the plugin.
|
| virtual QString | description ()=0 |
| | Return a description of what the plugin is doing.
|
|
virtual | ~FileInterface () |
| | Destructor.
|
| virtual QWidget * | saveOptionsWidget (QString _currentFilter)=0 |
| virtual QWidget * | loadOptionsWidget (QString _currentFilter)=0 |
| virtual DataType | supportedType ()=0 |
| | Return your supported object type( e.g. DATA_TRIANGLE_MESH )
|
| virtual QString | getLoadFilters ()=0 |
| virtual QString | getSaveFilters ()=0 |
|
virtual | ~LoadSaveInterface () |
| | Destructor.
|
|
virtual | ~LoggingInterface () |
| | Destructor.
|
|
virtual | ~ScriptInterface () |
| | Destructor.
|
Definition at line 60 of file FilePLY.hh.