Drake
VisualMaterial Class Referencefinal

Definition of material for simple visualization. More...

#include <geometry/visual_material.h>

Public Member Functions

 VisualMaterial ()
 Constructs a material with the default grey color. More...
 
 VisualMaterial (const Eigen::Vector4d &diffuse)
 Constructs a material with the given diffuse color. More...
 
const Eigen::Vector4d & diffuse () const
 Returns the material's diffuse color. More...
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 VisualMaterial (const VisualMaterial &)=default
 
VisualMaterialoperator= (const VisualMaterial &)=default
 
 VisualMaterial (VisualMaterial &&)=default
 
VisualMaterialoperator= (VisualMaterial &&)=default
 

Detailed Description

Definition of material for simple visualization.

Default materials are a light grey.

Constructor & Destructor Documentation

VisualMaterial ( const VisualMaterial )
default
VisualMaterial ( VisualMaterial &&  )
default

Constructs a material with the default grey color.

VisualMaterial ( const Eigen::Vector4d &  diffuse)
explicit

Constructs a material with the given diffuse color.

Member Function Documentation

const Eigen::Vector4d& diffuse ( ) const
inline

Returns the material's diffuse color.

VisualMaterial& operator= ( const VisualMaterial )
default
VisualMaterial& operator= ( VisualMaterial &&  )
default

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