Blender V5.0
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< int2edges_
Vector< FaceCornerface_corners_
Vector< FaceElemface_elements_
bool has_invalid_faces_ = false
bool has_vertex_groups_ = false
NurbsElement nurbs_element_
int total_corner_ = 0

Detailed Description

Definition at line 132 of file obj_import_objects.hh.

Member Function Documentation

◆ get_vertex_count()

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

Definition at line 157 of file obj_import_objects.hh.

References vertices_.

◆ 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<int2> blender::io::obj::Geometry::edges_

◆ face_corners_

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

Definition at line 149 of file obj_import_objects.hh.

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

◆ face_elements_

Vector<FaceElem> 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_

Definition at line 134 of file obj_import_objects.hh.

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

◆ global_to_local_vertices_

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

Definition at line 145 of file obj_import_objects.hh.

◆ group_indices_

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

Definition at line 135 of file obj_import_objects.hh.

◆ group_order_

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

Definition at line 136 of file obj_import_objects.hh.

◆ has_invalid_faces_

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

Definition at line 152 of file obj_import_objects.hh.

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

◆ has_vertex_groups_

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

Definition at line 153 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 137 of file obj_import_objects.hh.

◆ material_order_

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

Definition at line 138 of file obj_import_objects.hh.

◆ nurbs_element_

◆ total_corner_

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

Definition at line 155 of file obj_import_objects.hh.

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

◆ vertex_index_max_

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

Definition at line 141 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 140 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 143 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: