Commit 35b407e7 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed old functions

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7466 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 392b0bb7
......@@ -46,46 +46,6 @@
namespace PluginFunctions {
// ===============================================================================
// Get source planes
// ===============================================================================
bool getSourcePlanes( std::vector<PlaneNode*>& _planes )
{
_planes.clear();
for ( ObjectIterator o_it(PluginFunctions::SOURCE_OBJECTS,DATA_PLANE ) ;
o_it != PluginFunctions::objectsEnd(); ++o_it) {
_planes.push_back ( PluginFunctions::planeNode( *o_it ) );
if( _planes.back() == NULL)
std::cerr << "ERROR: Plane - get_source_planes fatal error\n";
}
return (_planes.size() > 0 );
}
// ===============================================================================
// Get target planes
// ===============================================================================
bool getTargetPlanes( std::vector<PlaneNode*>& _planes )
{
_planes.clear();
for ( ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DATA_PLANE ) ;
o_it != PluginFunctions::objectsEnd(); ++o_it) {
_planes.push_back ( PluginFunctions::planeNode( *o_it ) );
if( _planes.back() == NULL)
std::cerr << "ERROR: Plane - getTargetPolylines fatal error\n";
}
return (_planes.size() > 0 );
}
// ===============================================================================
// Get objects
// ===============================================================================
......
......@@ -52,24 +52,6 @@
/** The Namespace PluginFunctions contains functions for all plugins. */
namespace PluginFunctions {
/** \brief Get a pointer to every Plane which is marked as a source.
*
* @param _planes ( vector returning the source planes )
* @return false, if no plane is selected as source
*/
DLLEXPORT
bool getSourcePlanes( std::vector<PlaneNode*>& _planes );
/** \brief Get a pointer to every Plane which is marked as a target.
*
* @param _planes ( vector returning the target planes )
* @return false, if no plane is selected as target
*/
DLLEXPORT
bool getTargetPlanes( std::vector<PlaneNode*>& _planes );
/** This functions returns the object with the given id if it is a PlaneObject.
* See get_object( int _identifier , BaseObject*& _object ) for more details.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment