Developer Documentation

Namespaces
PluginFunctionsTriangleMesh.hh File Reference
`#include <OpenFlipper/common/Types.hh>`
`#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>`

Go to the source code of this file.

## Namespaces
| PluginFunctions

## Functions
Active Objects
bool | PluginFunctions::getSourceMeshes (std::vector< TriMesh * > &_meshes)
| Get a pointer to every Triangle Mesh which is marked as a source mesh. More...
bool | PluginFunctions::getTargetMeshes (std::vector< TriMesh * > &_meshes)
| Get a pointer to every Triangle Mesh which is marked as a target mesh. More...
Identifier handling
bool | PluginFunctions::getObject (int _identifier, TriMeshObject *&_object)
bool | PluginFunctions::getMesh (int _identifier, TriMesh *&_mesh)
| Get the Triangle Mesh which has the given identifier. More...
Getting data from objects and casting between them
TriMesh * | PluginFunctions::triMesh (BaseObjectData *_object)
| Get a triangle mesh from an object. More...
TriMesh * | PluginFunctions::triMesh (int _identifier)
| Get a triangle mesh from an object id. More...
TriMeshObject * | PluginFunctions::triMeshObject (BaseObjectData *_object)
| Cast an BaseObject to a TriMeshObject if possible. More...
TriMeshObject * | PluginFunctions::triMeshObject (int _objectId)
| Get an TriMeshObject from the given id If possible. More...

## Detailed Description

This file contains functions which can be used by plugins to access Triangle Meshes in the framework.

Definition in file PluginFunctionsTriangleMesh.hh.