Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Thompson
SMTK
Commits
1fef54a0
Commit
1fef54a0
authored
Nov 25, 2015
by
David Thompson
Browse files
Remove some of the many warnings creeping into SMTK.
parent
51db223f
Changes
5
Hide whitespace changes
Inline
Side-by-side
smtk/bridge/polygon/internal/Entity.h
View file @
1fef54a0
...
...
@@ -44,7 +44,7 @@ protected:
:
m_parent
(
NULL
)
{
}
entity
(
const
Id
&
uid
,
entity
*
p
)
:
m_
id
(
uid
),
m_parent
(
p
)
:
m_
parent
(
p
),
m_id
(
uid
)
{
}
virtual
~
entity
()
{
...
...
smtk/bridge/polygon/internal/Model.cxx
View file @
1fef54a0
...
...
@@ -359,8 +359,9 @@ bool pmodel::splitModelEdgeAtModelVertex(
// Remove edgeToSplit from its endpoint vertices so that creation
// of new edges can succeed (otherwise it will fail when trying
// to insert a coincident edge at the existing edge endpoints).
// to insert a coincident edge at the existing edge endpoints).
std
::
pair
<
Id
,
Id
>
adjacentFaces
=
this
->
removeModelEdgeFromEndpoints
(
mgr
,
edgeToSplit
);
(
void
)
adjacentFaces
;
// Now we can create the new model edges.
this
->
createModelEdgeFromSegments
(
mgr
,
segs
.
begin
(),
segSplit
);
...
...
@@ -374,7 +375,7 @@ bool pmodel::splitModelEdgeAtModelVertex(
// TODO: Remove edgeToSplit so that creation can succeed (otherwise
// it will fail when trying to insert a coincident edge at the
// existing edge endpoints.
// existing edge endpoints.
std
::
pair
<
Id
,
Id
>
pmodel
::
removeModelEdgeFromEndpoints
(
smtk
::
model
::
ManagerPtr
mgr
,
EdgePtr
edg
)
{
std
::
pair
<
Id
,
Id
>
result
;
...
...
smtk/mesh/Collection.cxx
View file @
1fef54a0
...
...
@@ -74,10 +74,10 @@ Collection::Collection():
m_name
(),
m_readLocation
(),
m_writeLocation
(),
m_internals
(
new
InternalImpl
()
),
m_floatData
(
new
MeshFloatData
),
m_stringData
(
new
MeshStringData
),
m_integerData
(
new
MeshIntegerData
)
m_integerData
(
new
MeshIntegerData
),
m_internals
(
new
InternalImpl
()
)
{
}
...
...
@@ -89,10 +89,10 @@ Collection::Collection(const smtk::common::UUID& collectionID,
m_name
(),
m_readLocation
(),
m_writeLocation
(),
m_internals
(
new
InternalImpl
(
mngr
)
),
m_floatData
(
new
MeshFloatData
),
m_stringData
(
new
MeshStringData
),
m_integerData
(
new
MeshIntegerData
)
m_integerData
(
new
MeshIntegerData
),
m_internals
(
new
InternalImpl
(
mngr
)
)
{
}
...
...
@@ -104,10 +104,10 @@ Collection::Collection( const smtk::common::UUID& collectionID,
m_name
(),
m_readLocation
(),
m_writeLocation
(),
m_internals
(
new
InternalImpl
(
mngr
,
interface
)
),
m_floatData
(
new
MeshFloatData
),
m_stringData
(
new
MeshStringData
),
m_integerData
(
new
MeshIntegerData
)
m_integerData
(
new
MeshIntegerData
),
m_internals
(
new
InternalImpl
(
mngr
,
interface
)
)
{
}
...
...
smtk/mesh/ForEachTypes.h
View file @
1fef54a0
...
...
@@ -50,10 +50,10 @@ public:
bool
wantsCoordinates
()
const
{
return
this
->
m_wantsCoordinates
;
}
const
smtk
::
mesh
::
Handle
*
const
pointIds
()
const
const
smtk
::
mesh
::
Handle
*
pointIds
()
const
{
return
this
->
m_pointIds
;
}
smtk
::
mesh
::
Handle
const
pointId
(
int
index
)
const
smtk
::
mesh
::
Handle
pointId
(
int
index
)
const
{
return
this
->
m_pointIds
[
index
];
}
const
std
::
vector
<
double
>&
coordinates
()
const
...
...
smtk/mesh/Interface.h
View file @
1fef54a0
...
...
@@ -27,7 +27,7 @@ namespace smtk {
namespace
mesh
{
//forward declare classes we use
struct
ContainsFunctor
;
class
ContainsFunctor
;
class
PointConnectivity
;
//----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
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