Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
light_parameter.h File Reference
#include <string>
#include <string_view>
#include <Eigen/Dense>
#include <fmt/format.h>
#include "drake/common/drake_deprecated.h"
#include "drake/common/fmt.h"
#include "drake/common/name_value.h"
#include "drake/geometry/rgba.h"
#include <ostream>
Include dependency graph for light_parameter.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  LightParameter
 Light parameter for supporting RenderEngine implementations. More...

Namespaces

namespace  drake
namespace  drake::geometry
namespace  drake::geometry::render

Enumerations

enum class  LightType { kPoint = 1 , kSpot = 2 , kDirectional = 3 }
 Specification of the type of light. More...
enum class  LightFrame { kWorld = 0 , kCamera = 1 }
 Specifies the frame in which a light is fixed. More...

Functions

std::string_view to_string (const LightType &t)
 Returns the LightType as a string.
std::ostream & operator<< (std::ostream &out, const LightType &t)
 (Deprecated.)
LightType light_type_from_string (const std::string &spec)
 Instantiates a LightType from its string representation.
std::string_view to_string (const LightFrame &f)
 Returns the LightFrame as a string.
std::ostream & operator<< (std::ostream &out, const LightFrame &f)
 (Deprecated.)
LightFrame light_frame_from_string (const std::string &spec)
 Instantiates a LightFrame from its string representation.
 DRAKE_FORMATTER_AS (, drake::geometry::render, LightType, x, drake::geometry::render::to_string(x)) DRAKE_FORMATTER_AS(

Variables

 LightFrame
 x

Function Documentation

◆ DRAKE_FORMATTER_AS()

DRAKE_FORMATTER_AS ( drake::geometry::render ,
LightType ,
x ,
drake::geometry::render::to_string(x)  )

Variable Documentation

◆ LightFrame

LightFrame

◆ x

x