Blender  V3.3
Classes | Namespaces | Macros | Enumerations | Functions | Variables
obj_export_io.hh File Reference
#include <cstdio>
#include <string>
#include <type_traits>
#include <vector>
#include "BLI_compiler_attrs.h"
#include "BLI_fileops.h"
#include "BLI_string_ref.hh"
#include "BLI_utility_mixins.hh"
#include <fmt/format.h>

Go to the source code of this file.

Classes

struct  blender::io::obj::FileTypeTraits< eFileType::OBJ >
 
struct  blender::io::obj::FileTypeTraits< eFileType::MTL >
 
struct  blender::io::obj::FormattingSyntax
 
struct  blender::io::obj::always_false< T >
 
class  blender::io::obj::FormatHandler< filetype, buffer_chunk_size >
 

Namespaces

 blender
 
 blender::io
 
 blender::io::obj
 

Macros

#define FMT_HEADER_ONLY
 

Enumerations

enum class  blender::io::obj::eFileType { blender::io::obj::OBJ , blender::io::obj::MTL }
 
enum class  blender::io::obj::eOBJSyntaxElement {
  blender::io::obj::vertex_coords , blender::io::obj::vertex_coords_color , blender::io::obj::uv_vertex_coords , blender::io::obj::normal ,
  blender::io::obj::poly_element_begin , blender::io::obj::vertex_uv_normal_indices , blender::io::obj::vertex_normal_indices , blender::io::obj::vertex_uv_indices ,
  blender::io::obj::vertex_indices , blender::io::obj::poly_element_end , blender::io::obj::poly_usemtl , blender::io::obj::edge ,
  blender::io::obj::cstype , blender::io::obj::nurbs_degree , blender::io::obj::curve_element_begin , blender::io::obj::curve_element_end ,
  blender::io::obj::nurbs_parameter_begin , blender::io::obj::nurbs_parameters , blender::io::obj::nurbs_parameter_end , blender::io::obj::nurbs_group_end ,
  blender::io::obj::new_line , blender::io::obj::mtllib , blender::io::obj::smooth_group , blender::io::obj::object_group ,
  blender::io::obj::object_name , blender::io::obj::string
}
 
enum class  blender::io::obj::eMTLSyntaxElement {
  blender::io::obj::newmtl , blender::io::obj::Ni , blender::io::obj::d , blender::io::obj::Ns ,
  blender::io::obj::illum , blender::io::obj::Ka , blender::io::obj::Kd , blender::io::obj::Ks ,
  blender::io::obj::Ke , blender::io::obj::map_Kd , blender::io::obj::map_Ks , blender::io::obj::map_Ns ,
  blender::io::obj::map_d , blender::io::obj::map_refl , blender::io::obj::map_Ke , blender::io::obj::map_Bump ,
  blender::io::obj::string
}
 

Functions

template<typename... T>
constexpr FormattingSyntax blender::io::obj::syntax_elem_to_formatting (const eOBJSyntaxElement key)
 
template<typename... T>
constexpr FormattingSyntax blender::io::obj::syntax_elem_to_formatting (const eMTLSyntaxElement key)
 

Variables

template<typename... T>
constexpr bool blender::io::obj::is_type_float = (... && std::is_floating_point_v<std::decay_t<T>>)
 
template<typename... T>
constexpr bool blender::io::obj::is_type_integral = (... && std::is_integral_v<std::decay_t<T>>)
 
template<typename... T>
constexpr bool blender::io::obj::is_type_string_related = (... && std::is_constructible_v<std::string, T>)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY

Definition at line 21 of file obj_export_io.hh.