Namespace f3d
Classes
- f3d::camera
- f3d::camera_state_t
- f3d::color_t
- f3d::colormap_t
- f3d::context
- f3d::direction_t
- f3d::double_array_t
- f3d::engine
- f3d::exception
- f3d::image
- f3d::interaction_bind_t
- f3d::interactor
- f3d::interactor_state_t
- f3d::light_state_t
- f3d::log
- f3d::mesh_t
- f3d::mesh_view
- f3d::options
- f3d::point3_t
- f3d::ratio_t
- f3d::scene
- f3d::transform2d_t
- f3d::type_access_exception
- f3d::type_construction_exception
- f3d::utils
- f3d::vector3_t
- f3d::window
Typedefs
Typedef option_variant_t
using f3d::option_variant_t = typedef std::variant<bool, int, double, std::string, std::vector<double>, std::vector<int> >
Return type: std::variant< bool, int, double, std::string, std::vector< double >, std::vector< int > >
Typedef angle_deg_t
using f3d::angle_deg_t = typedef double
Describe an angle in degrees.
Return type: double
Variables
Variable light_type
enum F3D_EXPORT f3d::light_type
Type: enum F3D_EXPORT
Variable CAMERA_LIGHT
enum F3D_EXPORT f3d::CAMERA_LIGHT = 2
Type: enum F3D_EXPORT
Variable SCENE_LIGHT
enum F3D_EXPORT f3d::SCENE_LIGHT = 3
Type: enum F3D_EXPORT
Functions
Function operator<<
F3D_EXPORT std::ostream & f3d::operator<<(std::ostream &stream, const engine::state &st)
Write a state as a JSON string into the provided stream, with file paths stored as absolute paths.
Parameters:
- std::ostream & stream
- const engine::state & st
Return type: F3D_EXPORT std::ostream &
Function operator>>
F3D_EXPORT std::istream & f3d::operator>>(std::istream &stream, engine::state &st)
Read a state from the JSON content of the provided stream. Throws a engine::statefile_exception if the content cannot be parsed.
Parameters:
- std::istream & stream
- engine::state & st
Return type: F3D_EXPORT std::istream &