|
| template<class OtherTraits > |
| | PolyMesh_ArrayKernelT (const TriMesh_ArrayKernelT< OtherTraits > &t) |
| |
| | PolyMeshT () |
| | Circulator.
|
| |
| template<typename T > |
| | PolyMeshT (const T &t) |
| | Circulator.
|
| |
| virtual | ~PolyMeshT () |
| | Circulator.
|
| |
| template<typename H , typename = SmartHandle<H>> |
| auto | make_smart (H const &h) const -> typename SmartHandle< H >::type const |
| | Create a smart handle from a regular handle.
|
| |
| template<typename SH , typename = typename std::enable_if<std::is_base_of<SmartBaseHandle, SH>::value>::type> |
| SH | make_smart (SH const &sh) const |
| | Return the passed smart handle. This allows for code using make_smart(h) to keep compiling when h's type is changed to a smart handle.
|
| |
| SmartVertexHandle | new_vertex () |
| | Adds a new default-initialized vertex.
|
| |
| SmartVertexHandle | new_vertex (const Point _p) |
| | Adds a new vertex initialized to a custom position.
|
| |
| SmartVertexHandle | new_vertex_dirty (const Point _p) |
| |
| SmartVertexHandle | add_vertex (const Point _p) |
| |
| SmartVertexHandle | add_vertex_dirty (const Point _p) |
| | Alias for new_vertex_dirty().
|
| |
| void | update_normals () |
| | Compute normals for all primitives.
|
| |
| void | update_normal (FaceHandle _fh) |
| | Update normal for face _fh.
|
| |
| void | update_face_normals () |
| | Update normal vectors for all faces.
|
| |
| virtual Normal | calc_face_normal (FaceHandle _fh) const |
| |
| Normal | calc_face_normal (const Point &_p0, const Point &_p1, const Point &_p2) const |
| |
| Normal | calc_normal (FaceHandle _fh) const |
| | same as calc_face_normal
|
| |
| void | calc_face_centroid (FaceHandle _fh, Point &_pt) const |
| | calculates the average of the vertices defining _fh
|
| |
| Point | calc_face_centroid (FaceHandle _fh) const |
| | Computes and returns the average of the vertices defining _fh.
|
| |
| Point | calc_centroid (FaceHandle _fh) const |
| | Computes and returns the average of the vertices defining _fh (same as calc_face_centroid)
|
| |
| Point | calc_centroid (EdgeHandle _eh) const |
| | Computes and returns the average of the vertices defining _eh (same as calc_edge_midpoint)
|
| |
| Point | calc_centroid (HalfedgeHandle _heh) const |
| | Computes and returns the average of the vertices defining _heh (same as calc_edge_midpoint for edge of halfedge)
|
| |
| Point | calc_centroid (VertexHandle _vh) const |
| | Returns the point of _vh.
|
| |
| Point | calc_centroid (MeshHandle _mh) const |
| | Computes and returns the average of the vertices defining the mesh.
|
| |
| void | update_normal (HalfedgeHandle _heh, const double _feature_angle=0.8) |
| | Update normal for halfedge _heh.
|
| |
| void | update_halfedge_normals (const double _feature_angle=0.8) |
| | Update normal vectors for all halfedges.
|
| |
| virtual Normal | calc_halfedge_normal (HalfedgeHandle _heh, const double _feature_angle=0.8) const |
| | Calculate halfedge normal for one specific halfedge.
|
| |
| Normal | calc_normal (HalfedgeHandle, const double _feature_angle=0.8) const |
| | same as calc_halfedge_normal
|
| |
| bool | is_estimated_feature_edge (HalfedgeHandle _heh, const double _feature_angle) const |
| |
| void | update_normal (VertexHandle _vh) |
| | Update normal for vertex _vh.
|
| |
| void | update_vertex_normals () |
| | Update normal vectors for all vertices.
|
| |
| Normal | calc_vertex_normal (VertexHandle _vh) const |
| | Calculate vertex normal for one specific vertex.
|
| |
| void | calc_vertex_normal_fast (VertexHandle _vh, Normal &_n) const |
| |
| void | calc_vertex_normal_correct (VertexHandle _vh, Normal &_n) const |
| | Compute normals for all primitives.
|
| |
| void | calc_vertex_normal_loop (VertexHandle _vh, Normal &_n) const |
| | Compute normals for all primitives.
|
| |
| Normal | calc_normal (VertexHandle _vh) const |
| | same as calc_vertex_normal_correct
|
| |
| void | calc_edge_vector (EdgeHandle _eh, Normal &_edge_vec) const |
| |
| Normal | calc_edge_vector (EdgeHandle _eh) const |
| |
| void | calc_edge_vector (HalfedgeHandle _heh, Normal &_edge_vec) const |
| |
| Normal | calc_edge_vector (HalfedgeHandle _heh) const |
| |
| Scalar | calc_edge_length (EdgeHandle _eh) const |
| | Compute normals for all primitives.
|
| |
| Scalar | calc_edge_length (HalfedgeHandle _heh) const |
| |
| Scalar | calc_edge_sqr_length (EdgeHandle _eh) const |
| | Compute normals for all primitives.
|
| |
| Scalar | calc_edge_sqr_length (HalfedgeHandle _heh) const |
| | Compute normals for all primitives.
|
| |
| Point | calc_edge_midpoint (HalfedgeHandle _heh) const |
| |
| Point | calc_edge_midpoint (EdgeHandle _eh) const |
| |
| Normal | calc_normal (EdgeHandle _eh) const |
| | calculated and returns the average of the two vertex normals
|
| |
| void | calc_sector_vectors (HalfedgeHandle _in_heh, Normal &_vec0, Normal &_vec1) const |
| |
| Scalar | calc_sector_angle (HalfedgeHandle _in_heh) const |
| |
| void | calc_sector_normal (HalfedgeHandle _in_heh, Normal &_sector_normal) const |
| |
| Scalar | calc_sector_area (HalfedgeHandle _in_heh) const |
| |
| Scalar | calc_dihedral_angle_fast (HalfedgeHandle _heh) const |
| |
| Scalar | calc_dihedral_angle_fast (EdgeHandle _eh) const |
| |
| Scalar | calc_dihedral_angle (HalfedgeHandle _heh) const |
| | Compute normals for all primitives.
|
| |
| Scalar | calc_dihedral_angle (EdgeHandle _eh) const |
| | Compute normals for all primitives.
|
| |
| unsigned int | find_feature_edges (Scalar _angle_tresh=OpenMesh::deg_to_rad(44.0)) |
| |
| void | split (FaceHandle _fh, const Point &_p) |
| | Face split (= 1-to-n split)
|
| |
| void | split (FaceHandle _fh, VertexHandle _vh) |
| | Compute normals for all primitives.
|
| |
| void | split (EdgeHandle _eh, const Point &_p) |
| | Compute normals for all primitives.
|
| |
| void | split (EdgeHandle _eh, VertexHandle _vh) |
| | Compute normals for all primitives.
|
| |
template<class Traits = DefaultTraits>
class OpenMesh::PolyMesh_ArrayKernelT< Traits >
Polygonal mesh based on the ArrayKernel.
- See also
- OpenMesh::PolyMeshT
-
OpenMesh::ArrayKernel
Definition at line 94 of file PolyMesh_ArrayKernelT.hh.