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
T
Type-OpenVolumeMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Type-OpenVolumeMesh
Commits
bf5b1a64
Commit
bf5b1a64
authored
Jan 13, 2018
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove final dynamic_cast with better solution.
parent
8304669b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ObjectTypes/VolumeMeshObject/VolumeMeshNodeT.cc
ObjectTypes/VolumeMeshObject/VolumeMeshNodeT.cc
+2
-1
No files found.
ObjectTypes/VolumeMeshObject/VolumeMeshNodeT.cc
View file @
bf5b1a64
...
...
@@ -56,6 +56,7 @@
#include <ACG/GL/gl.hh>
#include <ACG/Utils/VSToolsT.hh>
#include <vector>
#include <type_traits>
#include <ACG/GL/RenderObject.hh>
#include <ACG/GL/VertexDeclaration.hh>
...
...
@@ -206,7 +207,7 @@ DrawModes::DrawMode VolumeMeshNodeT<VolumeMeshT>::availableDrawModes() const {
if
(
colorAttrib_
.
edge_colors_available
())
result
|=
drawModes_
.
edgesColoredPerEdge
;
if
(
dynamic_cast
<
const
HexahedralMeshTopologyKernel
*>
(
&
mesh_
)
!=
NULL
)
if
(
std
::
is_base_of
<
HexahedralMeshTopologyKernel
,
VolumeMeshT
>::
value
)
{
result
|=
drawModes_
.
irregularInnerEdges
;
result
|=
drawModes_
.
irregularOuterEdges
;
...
...
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