|
Blender V5.3
|
#include <opensubdiv_converter_capi.hh>
Public Attributes | |
| int | verts_num |
| std::span< const std::pair< int, int > > | edges |
| std::span< const int > | face_offsets |
| std::span< const int > | corner_verts |
| std::span< const float > | edge_sharpness |
| std::span< const float > | vert_sharpness |
| OpenSubdiv_SchemeType | scheme_type |
| OpenSubdiv_VtxBoundaryInterpolation | vtx_boundary_interpolation |
| OpenSubdiv_FVarLinearInterpolation | fvar_linear_interpolation |
| bool(*) | specifiesFullTopology (const OpenSubdiv_Converter *converter) |
| void(*) | getFaceEdges (const OpenSubdiv_Converter *converter, const int face_index, int *face_edges) |
| int(*) | getNumEdgeFaces (const OpenSubdiv_Converter *converter, const int edge_index) |
| void(*) | getEdgeFaces (const OpenSubdiv_Converter *converter, const int edge, int *edge_faces) |
| int(*) | getNumVertexEdges (const OpenSubdiv_Converter *converter, const int vertex_index) |
| void(*) | getVertexEdges (const OpenSubdiv_Converter *converter, const int vertex_index, int *vertex_edges) |
| int(*) | getNumVertexFaces (const OpenSubdiv_Converter *converter, const int vertex_index) |
| void(*) | getVertexFaces (const OpenSubdiv_Converter *converter, const int vertex_index, int *vertex_faces) |
| int(*) | getNumUVLayers (const OpenSubdiv_Converter *converter) |
| void(*) | precalcUVLayer (const OpenSubdiv_Converter *converter, const int layer_index) |
| void(*) | finishUVLayer (const OpenSubdiv_Converter *converter) |
| int(*) | getNumUVCoordinates (const OpenSubdiv_Converter *converter) |
| int(*) | getFaceCornerUVIndex (const OpenSubdiv_Converter *converter, const int face_index, const int corner_index) |
| void(*) | freeUserData (const OpenSubdiv_Converter *converter) |
| void * | user_data |
Definition at line 18 of file opensubdiv_converter_capi.hh.
| std::span<const int> OpenSubdiv_Converter::corner_verts |
Definition at line 27 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkBaseMeshTopologyMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::storeBaseMeshTopology().
| std::span<const float> OpenSubdiv_Converter::edge_sharpness |
Sharpness (aka crease) of every edge and every vertex, in the [0, #OPENSUBDIV_SHARPNESS_INFINITE] range. Vertex sharpness includes the infinite sharpness used to make vertices adjacent to a loose edge sharp.
Either aligned with edges and with the vertices respectively, or empty.
Definition at line 36 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkBaseMeshTopologyMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::storeBaseMeshTopology().
| std::span<const std::pair<int, int> > OpenSubdiv_Converter::edges |
The topology of the mesh to be subdivided. See #Mesh::edges(), #Mesh::face_offsets(), and #Mesh::corner_verts() documentation for the details. Other topology information is currently encoded with callbacks rather than arrays directly.
Definition at line 25 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkBaseMeshTopologyMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::storeBaseMeshTopology().
| std::span<const int> OpenSubdiv_Converter::face_offsets |
Definition at line 26 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkBaseMeshTopologyMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::storeBaseMeshTopology().
| void(*) OpenSubdiv_Converter::finishUVLayer(const OpenSubdiv_Converter *converter) |
Definition at line 104 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkSingleUVLayerMatch(), and blender::bke::subdiv::init_functions().
| void(*) OpenSubdiv_Converter::freeUserData(const OpenSubdiv_Converter *converter) |
Definition at line 118 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::converter_free(), and blender::bke::subdiv::init_functions().
| OpenSubdiv_FVarLinearInterpolation OpenSubdiv_Converter::fvar_linear_interpolation |
Definition at line 42 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkOptionsMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::getSDCOptions().
| void(*) OpenSubdiv_Converter::getEdgeFaces(const OpenSubdiv_Converter *converter, const int edge, int *edge_faces) |
Definition at line 71 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| int(*) OpenSubdiv_Converter::getFaceCornerUVIndex(const OpenSubdiv_Converter *converter, const int face_index, const int corner_index) |
Definition at line 111 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkSingleUVLayerMatch(), and blender::bke::subdiv::init_functions().
| void(*) OpenSubdiv_Converter::getFaceEdges(const OpenSubdiv_Converter *converter, const int face_index, int *face_edges) |
Definition at line 61 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| int(*) OpenSubdiv_Converter::getNumEdgeFaces(const OpenSubdiv_Converter *converter, const int edge_index) |
Definition at line 69 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| int(*) OpenSubdiv_Converter::getNumUVCoordinates(const OpenSubdiv_Converter *converter) |
Definition at line 108 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| int(*) OpenSubdiv_Converter::getNumUVLayers(const OpenSubdiv_Converter *converter) |
Definition at line 93 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkUVLayersMatch(), and blender::bke::subdiv::init_functions().
| int(*) OpenSubdiv_Converter::getNumVertexEdges(const OpenSubdiv_Converter *converter, const int vertex_index) |
Definition at line 77 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| int(*) OpenSubdiv_Converter::getNumVertexFaces(const OpenSubdiv_Converter *converter, const int vertex_index) |
Definition at line 83 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| void(*) OpenSubdiv_Converter::getVertexEdges(const OpenSubdiv_Converter *converter, const int vertex_index, int *vertex_edges) |
Definition at line 79 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| void(*) OpenSubdiv_Converter::getVertexFaces(const OpenSubdiv_Converter *converter, const int vertex_index, int *vertex_faces) |
Definition at line 85 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| void(*) OpenSubdiv_Converter::precalcUVLayer(const OpenSubdiv_Converter *converter, const int layer_index) |
Definition at line 103 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkSingleUVLayerMatch(), and blender::bke::subdiv::init_functions().
| OpenSubdiv_SchemeType OpenSubdiv_Converter::scheme_type |
Definition at line 39 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkSchemeTypeMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::getTopologyRefinerOptions().
| bool(*) OpenSubdiv_Converter::specifiesFullTopology(const OpenSubdiv_Converter *converter) |
Definition at line 53 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::init_functions().
| void* OpenSubdiv_Converter::user_data |
Definition at line 119 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::converter_init_for_mesh(), blender::bke::subdiv::free_user_data(), blender::bke::subdiv::get_face_corner_uv_index(), blender::bke::subdiv::get_num_uv_layers(), blender::bke::subdiv::get_num_uvs(), blender::bke::subdiv::init_user_data(), and blender::bke::subdiv::precalc_uv_layer().
| std::span<const float> OpenSubdiv_Converter::vert_sharpness |
Definition at line 37 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkBaseMeshTopologyMatches(), blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::storeBaseMeshTopology().
| int OpenSubdiv_Converter::verts_num |
Definition at line 19 of file opensubdiv_converter_capi.hh.
Referenced by blender::opensubdiv::checkBaseMeshTopologyMatches(), blender::bke::subdiv::converter_init_for_mesh(), blender::bke::subdiv::new_from_converter(), and blender::opensubdiv::storeBaseMeshTopology().
| OpenSubdiv_VtxBoundaryInterpolation OpenSubdiv_Converter::vtx_boundary_interpolation |
Definition at line 41 of file opensubdiv_converter_capi.hh.
Referenced by blender::bke::subdiv::converter_init_for_mesh(), and blender::opensubdiv::getSDCOptions().