Public Member Functions | Public Attributes | Friends
ICR::Patch Struct Reference

Contains the id's of points forming a patch on the target object's surface in ICR::Patch::patch_ids_. More...

#include <finger.h>

List of all members.

Public Member Functions

 Patch ()
 Patch (uint centerpoint_id)
 Patch (uint centerpoint_id, TargetObject const &obj, InclusionRule const &rule)

Public Attributes

IndexList patch_ids_

Friends

std::ostream & operator<< (std::ostream &stream, Patch const &patch)

Detailed Description

Contains the id's of points forming a patch on the target object's surface in ICR::Patch::patch_ids_.

Definition at line 95 of file finger.h.


Constructor & Destructor Documentation

Definition at line 88 of file finger.cpp.

ICR::Patch::Patch ( uint  centerpoint_id)

centerpoint_id states the id of the ICR::ContactPoint at which the patch is centered

Parameters:
acenterpoint_id in the range of 0 - ICR::TargetObject::num_cp_

Definition at line 90 of file finger.cpp.

ICR::Patch::Patch ( uint  centerpoint_id,
TargetObject const &  obj,
InclusionRule const &  rule 
)

centerpoint_id states the id of the ICR::ContactPoint at which the patch is centered

Parameters:
acenterpoint_id in the range of 0 - ICR::TargetObject::num_cp_
avalid target object
avalid inclusion rule

Performs a breadth-first exploration of obj's contact points with the contact point given by centerpoint_id as root node. The criterion to qualify a point for inclusion in the patch is that rule.inclusionTest() is satisfied.

Definition at line 92 of file finger.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
Patch const &  patch 
) [friend]

Definition at line 143 of file finger.cpp.


Member Data Documentation

Definition at line 97 of file finger.h.


The documentation for this struct was generated from the following files:


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:32