Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapeFuns.h File Reference#include <vector> #include <algorithm> #include "Shared/ProjectInterface.h" #include "ShapeTypes.h" #include "ShapeRoot.h"
Include dependency graph for ShapeFuns.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Define Documentation
Definition at line 366 of file ShapeFuns.h.
Value:
for ( std::vector<DualCoding::Shape<_type> >::iterator _var2##_it = ++std::vector<DualCoding::Shape<_type> >::iterator(_var1##_it); \
_var2##_it != _shapesvec.end(); _var2##_it++ ) { \
DualCoding::Shape<_type> &_var2 = *_var2##_it; \
_body }
Obsolete: nested iteration over the shapes in a vector; _var2 begins one past _var1. Definition at line 75 of file ShapeFuns.h. Referenced by BrickData::findBricks().
Value:
for ( std::vector<DualCoding::ShapeRoot>::iterator _var##_it = _shapesvec.begin(); \ _var##_it != _shapesvec.end(); _var##_it++ ) { \ DualCoding::ShapeRoot &_var = *_var##_it; \ _body } Obsolete: Iterate over a vector for shapes of mixed type. Definition at line 82 of file ShapeFuns.h. Referenced by DualCoding::select_type().
Value:
for ( std::vector<DualCoding::Shape<_type> >::iterator _var##_it = _shapesvec.begin(); \
_var##_it != _shapesvec.end(); _var##_it++ ) { \
DualCoding::Shape<_type> &_var = *_var##_it; \
_body } \
Obsolete: Iterate over the shapes in a vector; _var is the iterator. Definition at line 68 of file ShapeFuns.h. Referenced by BrickData::findBricks().
Definition at line 65 of file ShapeFuns.h. Referenced by BiColorMarkerData::extractMarkers(), and AgentData::findCirclesManual().
Retrieve a shape based on its name, but bind to a new name. Definition at line 36 of file ShapeFuns.h.
Retrieve a shape based on its name. Definition at line 32 of file ShapeFuns.h.
Value:
DualCoding::Shape<_type> _name((_value)); \
if ( _name.isValid() ) _name->V(#_name);
Create a new shape and make it visible in the SketchGUI. Definition at line 22 of file ShapeFuns.h. Referenced by BrickData::addBrickWithTwoSides(), SiftData::displayMatchedFeatures(), AprilTagData::extractAprilTags(), BrickData::extractBrick(), TargetData::extractLineTarget(), PyramidData::extractPyramid(), PyramidData::findBoundingTriangle(), BrickData::findBricks(), BlobData::findCorners(), BlobData::findCornersDerivative(), BlobData::findCornersDiagonal(), BlobData::findCornersShapeFit(), BrickData::findOrthogonalBoundingBox(), TargetData::mergeWith(), and TargetData::updateParams().
Value:
NEW_SHAPE(_name, _type, _value); \ if ( _name.isValid() ) _name->N(#_name); Create a new shape but hide it from the SketchGUI. Definition at line 27 of file ShapeFuns.h. Referenced by BrickData::findBricks(), AgentData::findCirclesManual(), and BrickData::findOrthogonalBoundingBox().
Create a new vector of shapes of mixed type. Definition at line 44 of file ShapeFuns.h.
Create a new vector of shapes of the specified type. Definition at line 40 of file ShapeFuns.h. Referenced by TargetData::extractLineTarget(), BiColorMarkerData::extractMarkers(), and AgentData::findCirclesManual().
Value:
for ( std::vector<DualCoding::Shape<_type> >::iterator _var2##_it = ++std::vector<DualCoding::Shape<_type> >::iterator(_var1##_it); \
_var2##_it != _shapesvec.end(); _var2##_it++ ) { \
DualCoding::Shape<_type> &_var2 = *_var2##_it;
Nested iteration over the shapes in a vector; _var2 begins one past _var1. Definition at line 54 of file ShapeFuns.h. Referenced by BiColorMarkerData::extractMarkers().
Value:
for ( std::vector<DualCoding::ShapeRoot>::iterator _var##_it = _shapesvec.begin(); \ _var##_it != _shapesvec.end(); _var##_it++ ) { \ DualCoding::ShapeRoot &_var = *_var##_it; Iterate over a vector for shapes of mixed type. Definition at line 60 of file ShapeFuns.h.
Value:
for ( std::vector<DualCoding::Shape<_type> >::iterator _var##_it = _shapesvec.begin(); \
_var##_it != _shapesvec.end(); _var##_it++ ) { \
DualCoding::Shape<_type> &_var = *_var##_it;
Iterate over the shapes in a vector; _var is the iterator. Definition at line 48 of file ShapeFuns.h. Referenced by BiColorMarkerData::extractMarkers(), and AgentData::findCirclesManual(). |
DualCoding 5.1CVS |
Generated Mon May 9 04:56:29 2016 by Doxygen 1.6.3 |