Developer Documentation
Loading...
Searching...
No Matches
PluginFunctionsTriangleMesh.hh File Reference

Go to the source code of this file.

Namespaces

namespace  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.
 
bool PluginFunctions::getTargetMeshes (std::vector< TriMesh * > &_meshes)
 Get a pointer to every Triangle Mesh which is marked as a target mesh.
 
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.
 
Getting data from objects and casting between them
TriMesh * PluginFunctions::triMesh (BaseObjectData *_object)
 Get a triangle mesh from an object.
 
TriMesh * PluginFunctions::triMesh (int _identifier)
 Get a triangle mesh from an object id.
 
TriMeshObjectPluginFunctions::triMeshObject (BaseObjectData *_object)
 Cast an BaseObject to a TriMeshObject if possible.
 
TriMeshObjectPluginFunctions::triMeshObject (int _objectId)
 Get an TriMeshObject from the given id If possible.
 

Detailed Description

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

Definition in file PluginFunctionsTriangleMesh.hh.