Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
63ea46dc
Commit
63ea46dc
authored
Aug 23, 2013
by
Christian Schulte zu Berge
Browse files
fixed some valgrind issues
parent
45d9ad1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/datastructures/imagerepresentationgl.cpp
View file @
63ea46dc
...
...
@@ -92,25 +92,25 @@ namespace campvis {
switch
(
wtp
.
_baseType
)
{
case
WeaklyTypedPointer
::
UINT8
:
delete
static_cast
<
uint8_t
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
uint8_t
*>
(
wtp
.
_pointer
);
break
;
case
WeaklyTypedPointer
::
INT8
:
delete
static_cast
<
int8_t
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
int8_t
*>
(
wtp
.
_pointer
);
break
;
case
WeaklyTypedPointer
::
UINT16
:
delete
static_cast
<
uint16_t
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
uint16_t
*>
(
wtp
.
_pointer
);
break
;
case
WeaklyTypedPointer
::
INT16
:
delete
static_cast
<
int16_t
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
int16_t
*>
(
wtp
.
_pointer
);
break
;
case
WeaklyTypedPointer
::
UINT32
:
delete
static_cast
<
uint32_t
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
uint32_t
*>
(
wtp
.
_pointer
);
break
;
case
WeaklyTypedPointer
::
INT32
:
delete
static_cast
<
int32_t
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
int32_t
*>
(
wtp
.
_pointer
);
break
;
case
WeaklyTypedPointer
::
FLOAT
:
delete
static_cast
<
float
*>
(
wtp
.
_pointer
);
delete
[]
static_cast
<
float
*>
(
wtp
.
_pointer
);
break
;
default:
tgtAssert
(
false
,
"Should not reach this - wrong base data type!"
);
...
...
ext/tgt/camera.cpp
View file @
63ea46dc
...
...
@@ -43,6 +43,7 @@ Camera::Camera(const vec3& position, const vec3& focus, const vec3& up,
upVector_
(
normalize
(
up
)),
frust_
(
Frustum
(
fovy
,
ratio
,
distn
,
distf
)),
windowRatio_
(
1.
f
),
viewMatrixValid_
(
false
),
projectionMode_
(
pm
)
{
viewMatrix_
=
mat4
::
createLookAt
(
position
,
focus
,
up
);
...
...
modules/vis/processors/proxygeometrygenerator.cpp
View file @
63ea46dc
...
...
@@ -48,6 +48,7 @@ namespace campvis {
,
p_clipX
(
"clipX"
,
"X Axis Clip Coordinates"
,
tgt
::
ivec2
(
0
),
tgt
::
ivec2
(
0
),
tgt
::
ivec2
(
0
))
,
p_clipY
(
"clipY"
,
"Y Axis Clip Coordinates"
,
tgt
::
ivec2
(
0
),
tgt
::
ivec2
(
0
),
tgt
::
ivec2
(
0
))
,
p_clipZ
(
"clipZ"
,
"Z Axis Clip Coordinates"
,
tgt
::
ivec2
(
0
),
tgt
::
ivec2
(
0
),
tgt
::
ivec2
(
0
))
,
_sourceTimestamp
(
0
)
{
addProperty
(
&
p_sourceImageID
);
addProperty
(
&
p_geometryID
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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