Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::io::obj::Geometry Struct Reference

#include <obj_import_objects.hh>

Public Member Functions

int get_vertex_count () const
 
void track_vertex_index (int index)
 
void track_all_vertices (int count)
 

Public Attributes

eGeometryType geom_type_ = GEOM_MESH
 
std::string geometry_name_
 
Map< std::string, int > group_indices_
 
Vector< std::string > group_order_
 
Map< std::string, int > material_indices_
 
Vector< std::string > material_order_
 
int vertex_index_min_ = INT_MAX
 
int vertex_index_max_ = -1
 
Set< int > vertices_
 
Map< int, int > global_to_local_vertices_
 
Vector< MEdgeedges_
 
Vector< PolyCornerface_corners_
 
Vector< PolyElemface_elements_
 
bool has_invalid_polys_ = false
 
bool has_vertex_groups_ = false
 
NurbsElement nurbs_element_
 
int total_loops_ = 0
 

Detailed Description

Definition at line 86 of file obj_import_objects.hh.

Member Function Documentation

◆ get_vertex_count()

int blender::io::obj::Geometry::get_vertex_count ( ) const
inline

◆ track_all_vertices()

void blender::io::obj::Geometry::track_all_vertices ( int  count)
inline

◆ track_vertex_index()

void blender::io::obj::Geometry::track_vertex_index ( int  index)
inline

Member Data Documentation

◆ edges_

Vector<MEdge> blender::io::obj::Geometry::edges_

◆ face_corners_

Vector<PolyCorner> blender::io::obj::Geometry::face_corners_

Definition at line 103 of file obj_import_objects.hh.

Referenced by blender::io::obj::geom_add_polygon().

◆ face_elements_

Vector<PolyElem> blender::io::obj::Geometry::face_elements_

◆ geom_type_

eGeometryType blender::io::obj::Geometry::geom_type_ = GEOM_MESH

◆ geometry_name_

std::string blender::io::obj::Geometry::geometry_name_

◆ global_to_local_vertices_

Map<int, int> blender::io::obj::Geometry::global_to_local_vertices_

Definition at line 99 of file obj_import_objects.hh.

◆ group_indices_

Map<std::string, int> blender::io::obj::Geometry::group_indices_

Definition at line 89 of file obj_import_objects.hh.

Referenced by blender::io::obj::OBJParser::parse().

◆ group_order_

Vector<std::string> blender::io::obj::Geometry::group_order_

Definition at line 90 of file obj_import_objects.hh.

Referenced by blender::io::obj::OBJParser::parse().

◆ has_invalid_polys_

bool blender::io::obj::Geometry::has_invalid_polys_ = false

◆ has_vertex_groups_

bool blender::io::obj::Geometry::has_vertex_groups_ = false

Definition at line 107 of file obj_import_objects.hh.

Referenced by blender::io::obj::geom_add_polygon().

◆ material_indices_

Map<std::string, int> blender::io::obj::Geometry::material_indices_

Definition at line 91 of file obj_import_objects.hh.

Referenced by blender::io::obj::OBJParser::parse().

◆ material_order_

Vector<std::string> blender::io::obj::Geometry::material_order_

Definition at line 92 of file obj_import_objects.hh.

Referenced by blender::io::obj::OBJParser::parse().

◆ nurbs_element_

NurbsElement blender::io::obj::Geometry::nurbs_element_

◆ total_loops_

int blender::io::obj::Geometry::total_loops_ = 0

◆ vertex_index_max_

int blender::io::obj::Geometry::vertex_index_max_ = -1

Definition at line 95 of file obj_import_objects.hh.

Referenced by track_all_vertices(), and track_vertex_index().

◆ vertex_index_min_

int blender::io::obj::Geometry::vertex_index_min_ = INT_MAX

Definition at line 94 of file obj_import_objects.hh.

Referenced by track_all_vertices(), and track_vertex_index().

◆ vertices_

Set<int> blender::io::obj::Geometry::vertices_

Definition at line 97 of file obj_import_objects.hh.

Referenced by get_vertex_count(), track_all_vertices(), and track_vertex_index().


The documentation for this struct was generated from the following file: