Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
openmesh-python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
openmesh-python
Commits
f5a1c90c
Commit
f5a1c90c
authored
Feb 19, 2018
by
Alexander Dielen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed low-level items from the project
parent
04614b0f
Pipeline
#6277
passed with stages
in 5 minutes and 17 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
42 deletions
+0
-42
src/Bindings.cc
src/Bindings.cc
+0
-1
src/Mesh.hh
src/Mesh.hh
+0
-27
src/Miscellaneous.cc
src/Miscellaneous.cc
+0
-11
src/Miscellaneous.hh
src/Miscellaneous.hh
+0
-1
tests/test_trimesh_circulator_face_face.py
tests/test_trimesh_circulator_face_face.py
+0
-2
No files found.
src/Bindings.cc
View file @
f5a1c90c
...
...
@@ -13,7 +13,6 @@ namespace OM = OpenMesh;
PYBIND11_MODULE
(
openmesh
,
m
)
{
expose_items
(
m
);
expose_handles
(
m
);
expose_status_bits_and_info
(
m
);
...
...
src/Mesh.hh
View file @
f5a1c90c
...
...
@@ -497,12 +497,6 @@ void expose_mesh(py::module& m, const char *_name) {
const
typename
Mesh
::
Edge
&
(
Mesh
::*
edge
)(
OM
::
EdgeHandle
)
const
=
&
Mesh
::
edge
;
const
typename
Mesh
::
Face
&
(
Mesh
::*
face
)(
OM
::
FaceHandle
)
const
=
&
Mesh
::
face
;
// Item -> Handle
OM
::
VertexHandle
(
Mesh
::*
handle_v
)(
const
typename
Mesh
::
Vertex
&
)
const
=
&
Mesh
::
handle
;
OM
::
HalfedgeHandle
(
Mesh
::*
handle_h
)(
const
typename
Mesh
::
Halfedge
&
)
const
=
&
Mesh
::
handle
;
OM
::
EdgeHandle
(
Mesh
::*
handle_e
)(
const
typename
Mesh
::
Edge
&
)
const
=
&
Mesh
::
handle
;
OM
::
FaceHandle
(
Mesh
::*
handle_f
)(
const
typename
Mesh
::
Face
&
)
const
=
&
Mesh
::
handle
;
// Get value of a standard property (status)
const
StatusInfo
&
(
Mesh
::*
status_vh
)(
OM
::
VertexHandle
)
const
=
&
Mesh
::
status
;
const
StatusInfo
&
(
Mesh
::*
status_hh
)(
OM
::
HalfedgeHandle
)
const
=
&
Mesh
::
status
;
...
...
@@ -579,12 +573,6 @@ void expose_mesh(py::module& m, const char *_name) {
bool
(
Mesh
::*
is_boundary_vh
)(
OM
::
VertexHandle
)
const
=
&
Mesh
::
is_boundary
;
bool
(
Mesh
::*
is_boundary_fh
)(
OM
::
FaceHandle
,
bool
)
const
=
&
Mesh
::
is_boundary
;
// Generic handle derefertiation
const
typename
Mesh
::
Vertex
&
(
Mesh
::*
deref_vh
)(
OM
::
VertexHandle
)
const
=
&
Mesh
::
deref
;
const
typename
Mesh
::
Halfedge
&
(
Mesh
::*
deref_hh
)(
OM
::
HalfedgeHandle
)
const
=
&
Mesh
::
deref
;
const
typename
Mesh
::
Edge
&
(
Mesh
::*
deref_eh
)(
OM
::
EdgeHandle
)
const
=
&
Mesh
::
deref
;
const
typename
Mesh
::
Face
&
(
Mesh
::*
deref_fh
)(
OM
::
FaceHandle
)
const
=
&
Mesh
::
deref
;
//======================================================================
// PolyMeshT Function Pointers
//======================================================================
...
...
@@ -623,16 +611,6 @@ void expose_mesh(py::module& m, const char *_name) {
.
def
(
"reserve"
,
&
Mesh
::
reserve
)
.
def
(
"vertex"
,
vertex
,
py
::
return_value_policy
::
reference
)
.
def
(
"halfedge"
,
halfedge
,
py
::
return_value_policy
::
reference
)
.
def
(
"edge"
,
edge
,
py
::
return_value_policy
::
reference
)
.
def
(
"face"
,
face
,
py
::
return_value_policy
::
reference
)
.
def
(
"handle"
,
handle_v
)
.
def
(
"handle"
,
handle_h
)
.
def
(
"handle"
,
handle_e
)
.
def
(
"handle"
,
handle_f
)
.
def
(
"vertex_handle"
,
vertex_handle_uint
)
.
def
(
"halfedge_handle"
,
halfedge_handle_uint
)
.
def
(
"edge_handle"
,
edge_handle_uint
)
...
...
@@ -843,11 +821,6 @@ void expose_mesh(py::module& m, const char *_name) {
.
def
(
"is_boundary"
,
is_boundary_fh
,
py
::
arg
(
"fh"
),
py
::
arg
(
"check_vertex"
)
=
false
)
.
def
(
"is_manifold"
,
&
Mesh
::
is_manifold
)
.
def
(
"deref"
,
deref_vh
,
py
::
return_value_policy
::
reference
)
.
def
(
"deref"
,
deref_hh
,
py
::
return_value_policy
::
reference
)
.
def
(
"deref"
,
deref_eh
,
py
::
return_value_policy
::
reference
)
.
def
(
"deref"
,
deref_fh
,
py
::
return_value_policy
::
reference
)
.
def_static
(
"is_triangles"
,
&
Mesh
::
is_triangles
)
.
def_readonly_static
(
"InvalidVertexHandle"
,
&
Mesh
::
InvalidVertexHandle
)
...
...
src/Miscellaneous.cc
View file @
f5a1c90c
#include "Miscellaneous.hh"
#include <OpenMesh/Core/Mesh/ArrayItems.hh>
#include <OpenMesh/Core/Mesh/Handles.hh>
#include <OpenMesh/Core/Utils/Property.hh>
namespace
OM
=
OpenMesh
;
/**
* Expose mesh items to %Python.
*/
void
expose_items
(
py
::
module
&
m
)
{
py
::
class_
<
OM
::
ArrayItems
::
Vertex
>
(
m
,
"Vertex"
);
py
::
class_
<
OM
::
ArrayItems
::
Halfedge
>
(
m
,
"Halfedge"
);
py
::
class_
<
OM
::
ArrayItems
::
Edge
>
(
m
,
"Edge"
);
py
::
class_
<
OM
::
ArrayItems
::
Face
>
(
m
,
"Face"
);
}
/**
* Expose item and property handles to %Python.
*/
...
...
src/Miscellaneous.hh
View file @
f5a1c90c
...
...
@@ -5,7 +5,6 @@
namespace
py
=
pybind11
;
void
expose_items
(
py
::
module
&
m
);
void
expose_handles
(
py
::
module
&
m
);
void
expose_status_bits_and_info
(
py
::
module
&
m
);
...
...
tests/test_trimesh_circulator_face_face.py
View file @
f5a1c90c
...
...
@@ -150,8 +150,6 @@ class TrimeshCirculatorFaceFace(unittest.TestCase):
# Get the face via the handle
faceHandle1
=
next
(
face_iter
)
face1
=
self
.
mesh
.
face
(
faceHandle1
)
self
.
assertEqual
(
faceHandle1
.
idx
(),
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment