PluginFunctionsTriangleMesh.hh File Reference

#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
Include dependency graph for PluginFunctionsTriangleMesh.hh:
This graph shows which files directly or indirectly include this file:

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, PolyMeshObject *&_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

TriMeshPluginFunctions::triMesh (BaseObjectData *_object)
 Get a triangle mesh from an object.
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.


acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .