Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
f604bfa9
Commit
f604bfa9
authored
Aug 30, 2005
by
Brad King
Browse files
COMP: Removed use of deprecated macros.
parent
d2da3be7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Examples/Build/vtkMy/Imaging/vtkImageFoo.cxx
View file @
f604bfa9
...
...
@@ -21,7 +21,7 @@
//----------------------------------------------------------------------------
vtkCxxRevisionMacro
(
vtkImageFoo
,
"1.
9
"
);
vtkCxxRevisionMacro
(
vtkImageFoo
,
"1.
10
"
);
vtkStandardNewMacro
(
vtkImageFoo
);
//----------------------------------------------------------------------------
...
...
@@ -133,8 +133,10 @@ void vtkImageFooExecute1(vtkImageFoo *self,
switch
(
outData
->
GetScalarType
())
{
vtkTemplateMacro7
(
vtkImageFooExecute
,
self
,
inData
,
inPtr
,
outData
,
(
VTK_TT
*
)(
outPtr
),
outExt
,
id
);
vtkTemplateMacro
(
vtkImageFooExecute
(
self
,
inData
,
inPtr
,
outData
,
(
VTK_TT
*
)(
outPtr
),
outExt
,
id
)
);
default:
vtkGenericWarningMacro
(
"Execute: Unknown input ScalarType"
);
return
;
...
...
@@ -156,8 +158,10 @@ void vtkImageFoo::ThreadedExecute(vtkImageData *inData,
switch
(
inData
->
GetScalarType
())
{
vtkTemplateMacro6
(
vtkImageFooExecute1
,
this
,
inData
,
(
VTK_TT
*
)(
inPtr
),
outData
,
outExt
,
id
);
vtkTemplateMacro
(
vtkImageFooExecute1
(
this
,
inData
,
(
VTK_TT
*
)(
inPtr
),
outData
,
outExt
,
id
)
);
default:
vtkErrorMacro
(
<<
"Execute: Unknown ScalarType"
);
return
;
...
...
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