$search

collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix Class Reference

Definition of a structure for the allowed collision matrix. More...

#include <environment.h>

List of all members.

Public Types

typedef boost::bimap
< std::string, unsigned int > 
entry_type

Public Member Functions

bool addEntry (const std::string &name, bool allowed)
 AllowedCollisionMatrix (const AllowedCollisionMatrix &acm)
 AllowedCollisionMatrix (const std::vector< std::vector< bool > > &all_coll_vectors, const std::map< std::string, unsigned int > &all_coll_indices)
 AllowedCollisionMatrix (const std::vector< std::string > &names, bool allowed=false)
 AllowedCollisionMatrix ()
bool changeEntry (const std::vector< std::string > &change_names_1, const std::vector< std::string > &change_names_2, bool allowed)
bool changeEntry (const std::string &name, const std::vector< std::string > &change_names, bool allowed)
bool changeEntry (const unsigned int ind_1, const unsigned int ind_2, bool allowed)
bool changeEntry (const std::string &name1, const std::string &name2, bool allowed)
bool changeEntry (const std::string &name, bool allowed)
bool changeEntry (bool allowed)
bool getAllowedCollision (unsigned int i, unsigned int j, bool &allowed_collision) const
bool getAllowedCollision (const std::string &name1, const std::string &name2, bool &allowed_collision) const
const entry_typegetEntriesBimap () const
bool getEntryIndex (const std::string &name, unsigned int &index) const
bool getEntryName (const unsigned int ind, std::string &name) const
unsigned int getSize () const
bool getValid () const
bool hasEntry (const std::string &name) const
bool removeEntry (const std::string &name)

Private Attributes

std::vector< std::vector< bool > > allowed_entries_
entry_type allowed_entries_bimap_
bool valid_

Detailed Description

Definition of a structure for the allowed collision matrix.

Definition at line 105 of file environment.h.


Member Typedef Documentation

typedef boost::bimap<std::string, unsigned int> collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::entry_type

Definition at line 167 of file environment.h.


Constructor & Destructor Documentation

collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::AllowedCollisionMatrix (  )  [inline]

Definition at line 109 of file environment.h.

collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::AllowedCollisionMatrix ( const std::vector< std::string > &  names,
bool  allowed = false 
)

Definition at line 43 of file environment.cpp.

collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::AllowedCollisionMatrix ( const std::vector< std::vector< bool > > &  all_coll_vectors,
const std::map< std::string, unsigned int > &  all_coll_indices 
)

Definition at line 56 of file environment.cpp.

collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::AllowedCollisionMatrix ( const AllowedCollisionMatrix acm  ) 

Definition at line 101 of file environment.cpp.


Member Function Documentation

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::addEntry ( const std::string &  name,
bool  allowed 
)

Definition at line 217 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::changeEntry ( const std::vector< std::string > &  change_names_1,
const std::vector< std::string > &  change_names_2,
bool  allowed 
)

Definition at line 335 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::changeEntry ( const std::string &  name,
const std::vector< std::string > &  change_names,
bool  allowed 
)

Definition at line 296 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::changeEntry ( const unsigned int  ind_1,
const unsigned int  ind_2,
bool  allowed 
)

Definition at line 269 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::changeEntry ( const std::string &  name1,
const std::string &  name2,
bool  allowed 
)

Definition at line 250 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::changeEntry ( const std::string &  name,
bool  allowed 
)

Definition at line 280 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::changeEntry ( bool  allowed  ) 

Definition at line 237 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getAllowedCollision ( unsigned int  i,
unsigned int  j,
bool &  allowed_collision 
) const

Definition at line 136 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getAllowedCollision ( const std::string &  name1,
const std::string &  name2,
bool &  allowed_collision 
) const

Definition at line 108 of file environment.cpp.

const entry_type& collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getEntriesBimap (  )  const [inline]

Definition at line 169 of file environment.h.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getEntryIndex ( const std::string &  name,
unsigned int &  index 
) const

Definition at line 152 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getEntryName ( const unsigned int  ind,
std::string &  name 
) const

Definition at line 164 of file environment.cpp.

unsigned int collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getSize (  )  const [inline]

Definition at line 163 of file environment.h.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::getValid (  )  const [inline]

Definition at line 159 of file environment.h.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::hasEntry ( const std::string &  name  )  const

Definition at line 147 of file environment.cpp.

bool collision_space_ccd::EnvironmentModel::AllowedCollisionMatrix::removeEntry ( const std::string &  name  ) 

Definition at line 176 of file environment.cpp.


Member Data Documentation

Definition at line 176 of file environment.h.

Definition at line 178 of file environment.h.

Definition at line 175 of file environment.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


collision_space_ccd
Author(s): Jia Pan
autogenerated on Fri Mar 1 15:01:55 2013