Drake
geometry_roles.h File Reference
#include <iostream>
#include <string>
#include "drake/common/drake_copyable.h"
#include "drake/common/eigen_types.h"
#include "drake/geometry/geometry_properties.h"
Include dependency graph for geometry_roles.h:
This graph shows which files directly or indirectly include this file:

Classes

class  ProximityProperties
 The set of properties for geometry used in a proximity role. More...
 
class  PerceptionProperties
 The set of properties for geometry used in a "perception" role. More...
 
class  IllustrationProperties
 The set of properties for geometry used in an "illustration" role. More...
 

Namespaces

 drake
 
 drake::geometry
 

Enumerations

enum  Role { kUnassigned = 0x0, kProximity = 0x1, kIllustration = 0x2, kPerception = 0x4 }
 General enumeration for indicating geometry role. More...
 
enum  RoleAssign { kNew, kReplace }
 The operations that can be performed on the given properties when assigning roles to geometry. More...
 

Functions

Geometry role to string conversions

These are simply convenience functions for converting the Role enumeration into a human-readable string.

std::string to_string (const Role &role)
 
std::ostream & operator<< (std::ostream &out, const Role &role)
 
Convenience functions

A collection of functions to help facilitate working with properties.

IllustrationProperties MakePhongIllustrationProperties (const Vector4< double > &diffuse)
 Constructs an IllustrationProperties instance compatible with a simple "phong" material using only the given diffuse color. More...