Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plugin-InfoMeshObject
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenFlipper-Free
Plugin-InfoMeshObject
Merge requests
!2
Qt6 support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Qt6 support
qt6
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Closed
Johannes Lenzen
requested to merge
qt6
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
a4e6d5df
1 commit,
3 years ago
2 files
+
111
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
MeshObjectInfoPlugin.hh
+
38
−
0
Options
@@ -189,6 +189,44 @@ class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface
/// get the mean edge length
double
meanEdgeLength
(
int
_id
);
/// get total number of vertices for a given object
void
vertexCount_ret
(
int
_id
,
int
*
_result
);
/// get total number of edges for a given object
void
edgeCount_ret
(
int
_id
,
int
*
_result
);
/// get total number of faces for a given object
void
faceCount_ret
(
int
_id
,
int
*
_result
);
/// get the number of boundaries for a given object
void
boundaryCount_ret
(
int
_id
,
int
*
_result
);
/// get the number of components for a given object
void
componentCount_ret
(
int
_id
,
int
*
_result
);
/// get the genus of the given object
void
genus_ret
(
int
_id
,
int
*
_result
);
/// get the center of gravity
void
cog_ret
(
int
_id
,
Vector
*
_result
);
/// get minumum bounding box point
void
boundingBoxMin_ret
(
int
_id
,
Vector
*
_result
);
/// get maximum bounding box point
void
boundingBoxMax_ret
(
int
_id
,
Vector
*
_result
);
/// get the size of the bounding box
void
boundingBoxSize_ret
(
int
_id
,
Vector
*
_result
);
/// get the length of an edge
void
edgeLength_ret
(
int
_id
,
int
_edgeHandle
,
double
*
_result
);
/// get the area of a face
void
faceArea_ret
(
int
_id
,
int
_faceHandle
,
double
*
_result
);
/// get the aspect ratio of a face
void
aspectRatio_ret
(
int
_id
,
int
_faceHandle
,
double
*
_result
);
/// get vertex valence
void
vertexValence_ret
(
int
_id
,
int
_vertexHandle
,
int
*
_result
);
/// get the minimal edge length
void
minEdgeLength_ret
(
int
_id
,
double
*
_result
);
/// get the maximal edge length
void
maxEdgeLength_ret
(
int
_id
,
double
*
_result
);
/// get the mean edge length
void
meanEdgeLength_ret
(
int
_id
,
double
*
_result
);
public
slots
:
QString
version
()
{
return
QString
(
"1.0"
);
};
Loading