Blender V4.3
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, intgroup_indices_
Vector< std::string > group_order_
Map< std::string, intmaterial_indices_
Vector< std::string > material_order_
int vertex_index_min_ = INT_MAX
int vertex_index_max_ = -1
Set< intvertices_
Map< int, intglobal_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 117 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 142 of file obj_import_objects.hh.

References int, and 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 134 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 119 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 130 of file obj_import_objects.hh.

◆ group_indices_

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

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

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

◆ has_invalid_faces_

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

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

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

◆ nurbs_element_

◆ total_corner_

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

Definition at line 140 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 126 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 125 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 128 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: