Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VTK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Michael Migliore
VTK
Commits
8a00b357
Commit
8a00b357
authored
Oct 01, 2018
by
David E. DeMarle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set new deprecations to masters new name
parent
b703d78b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
+21
-21
Common/Core/vtkMath.cxx
Common/Core/vtkMath.cxx
+10
-10
Filters/Extraction/vtkExtractSelection.cxx
Filters/Extraction/vtkExtractSelection.cxx
+8
-8
Filters/Extraction/vtkExtractSelectionLegacy.cxx
Filters/Extraction/vtkExtractSelectionLegacy.cxx
+1
-1
Filters/Extraction/vtkExtractSelectionLegacy.h
Filters/Extraction/vtkExtractSelectionLegacy.h
+1
-1
Utilities/EncodeString/module.cmake
Utilities/EncodeString/module.cmake
+1
-1
No files found.
Common/Core/vtkMath.cxx
View file @
8a00b357
...
...
@@ -2534,14 +2534,14 @@ void vtkMath::RGBToHSV(float r, float g, float b,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
RGBToHSV
(
const
double
rgb
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
RGBToHSV
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
RGBToHSV
,
"VTK
8.2
"
);
return
vtkMath
::
RGBToHSV
(
rgb
[
0
],
rgb
[
1
],
rgb
[
2
]);
}
//----------------------------------------------------------------------------
double
*
vtkMath
::
RGBToHSV
(
double
r
,
double
g
,
double
b
)
{
VTK_LEGACY_BODY
(
vtkMath
::
RGBToHSV
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
RGBToHSV
,
"VTK
8.2
"
);
static
double
hsv
[
3
];
vtkMath
::
RGBToHSV
(
r
,
g
,
b
,
hsv
,
hsv
+
1
,
hsv
+
2
);
return
hsv
;
...
...
@@ -2624,14 +2624,14 @@ void vtkMath::HSVToRGB(float h, float s, float v,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
HSVToRGB
(
const
double
hsv
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
HSVToRGB
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
HSVToRGB
,
"VTK
8.2
"
);
return
vtkMath
::
HSVToRGB
(
hsv
[
0
],
hsv
[
1
],
hsv
[
2
]);
}
//----------------------------------------------------------------------------
double
*
vtkMath
::
HSVToRGB
(
double
h
,
double
s
,
double
v
)
{
VTK_LEGACY_BODY
(
vtkMath
::
HSVToRGB
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
HSVToRGB
,
"VTK
8.2
"
);
static
double
rgb
[
3
];
vtkMath
::
HSVToRGB
(
h
,
s
,
v
,
rgb
,
rgb
+
1
,
rgb
+
2
);
return
rgb
;
...
...
@@ -2724,7 +2724,7 @@ void vtkMath::LabToXYZ(double L, double a, double b,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
LabToXYZ
(
const
double
lab
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
LabToXYZ
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
LabToXYZ
,
"VTK
8.2
"
);
static
double
xyz
[
3
];
vtkMath
::
LabToXYZ
(
lab
[
0
],
lab
[
1
],
lab
[
2
],
xyz
+
0
,
xyz
+
1
,
xyz
+
2
);
return
xyz
;
...
...
@@ -2758,7 +2758,7 @@ void vtkMath::XYZToLab(double x, double y, double z,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
XYZToLab
(
const
double
xyz
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
XYZToLab
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
XYZToLab
,
"VTK
8.2
"
);
static
double
lab
[
3
];
vtkMath
::
XYZToLab
(
xyz
[
0
],
xyz
[
1
],
xyz
[
2
],
lab
+
0
,
lab
+
1
,
lab
+
2
);
return
lab
;
...
...
@@ -2814,7 +2814,7 @@ void vtkMath::XYZToRGB(double x, double y, double z,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
XYZToRGB
(
const
double
xyz
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
XYZToRGB
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
XYZToRGB
,
"VTK
8.2
"
);
static
double
rgb
[
3
];
vtkMath
::
XYZToRGB
(
xyz
[
0
],
xyz
[
1
],
xyz
[
2
],
rgb
+
0
,
rgb
+
1
,
rgb
+
2
);
return
rgb
;
...
...
@@ -2850,7 +2850,7 @@ void vtkMath::RGBToXYZ(double r, double g, double b,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
RGBToXYZ
(
const
double
rgb
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
RGBToXYZ
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
RGBToXYZ
,
"VTK
8.2
"
);
static
double
xyz
[
3
];
vtkMath
::
RGBToXYZ
(
rgb
[
0
],
rgb
[
1
],
rgb
[
2
],
xyz
+
0
,
xyz
+
1
,
xyz
+
2
);
return
xyz
;
...
...
@@ -2870,7 +2870,7 @@ void vtkMath::RGBToLab(double red, double green, double blue,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
RGBToLab
(
const
double
rgb
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
RGBToLab
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
RGBToLab
,
"VTK
8.2
"
);
double
x
,
y
,
z
;
vtkMath
::
RGBToXYZ
(
rgb
[
0
],
rgb
[
1
],
rgb
[
2
],
&
x
,
&
y
,
&
z
);
...
...
@@ -2895,7 +2895,7 @@ void vtkMath::LabToRGB(double L, double a, double b,
#ifndef VTK_LEGACY_REMOVE
double
*
vtkMath
::
LabToRGB
(
const
double
lab
[
3
])
{
VTK_LEGACY_BODY
(
vtkMath
::
LabToRGB
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkMath
::
LabToRGB
,
"VTK
8.2
"
);
double
x
,
y
,
z
;
vtkMath
::
LabToXYZ
(
lab
[
0
],
lab
[
1
],
lab
[
2
],
&
x
,
&
y
,
&
z
);
...
...
Filters/Extraction/vtkExtractSelection.cxx
View file @
8a00b357
...
...
@@ -624,49 +624,49 @@ void vtkExtractSelection::PrintSelf(ostream& os, vtkIndent indent)
//----------------------------------------------------------------------------
void
vtkExtractSelection
::
SetShowBounds
(
bool
)
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
SetShowBounds
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
SetShowBounds
,
"VTK
8.2
"
);
}
//----------------------------------------------------------------------------
bool
vtkExtractSelection
::
GetShowBounds
()
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
GetShowBounds
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
GetShowBounds
,
"VTK
8.2
"
);
return
false
;
}
//----------------------------------------------------------------------------
void
vtkExtractSelection
::
ShowBoundsOn
()
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
ShowBoundsOn
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
ShowBoundsOn
,
"VTK
8.2
"
);
}
//----------------------------------------------------------------------------
void
vtkExtractSelection
::
ShowBoundsOff
()
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
ShowBoundsOff
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
ShowBoundsOff
,
"VTK
8.2
"
);
}
//----------------------------------------------------------------------------
void
vtkExtractSelection
::
SetUseProbeForLocations
(
bool
)
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
SetUseProbeForLocations
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
SetUseProbeForLocations
,
"VTK
8.2
"
);
}
//----------------------------------------------------------------------------
bool
vtkExtractSelection
::
GetUseProbeForLocations
()
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
GetUseProbeForLocations
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
GetUseProbeForLocations
,
"VTK
8.2
"
);
return
false
;
}
//----------------------------------------------------------------------------
void
vtkExtractSelection
::
UseProbeForLocationsOn
()
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
UseProbeForLocationsOn
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
UseProbeForLocationsOn
,
"VTK
8.2
"
);
}
//----------------------------------------------------------------------------
void
vtkExtractSelection
::
UseProbeForLocationsOff
()
{
VTK_LEGACY_BODY
(
vtkExtractSelection
::
UseProbeForLocationsOff
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelection
::
UseProbeForLocationsOff
,
"VTK
8.2
"
);
}
#endif
Filters/Extraction/vtkExtractSelectionLegacy.cxx
View file @
8a00b357
...
...
@@ -40,7 +40,7 @@ vtkStandardNewMacro(vtkExtractSelectionLegacy);
//----------------------------------------------------------------------------
vtkExtractSelectionLegacy
::
vtkExtractSelectionLegacy
()
{
VTK_LEGACY_BODY
(
vtkExtractSelectionLegacy
::
vtkExtractSelectionLegacy
,
"VTK
9.0
"
);
VTK_LEGACY_BODY
(
vtkExtractSelectionLegacy
::
vtkExtractSelectionLegacy
,
"VTK
8.2
"
);
this
->
BlockFilter
=
vtkExtractSelectedBlock
::
New
();
this
->
IdsFilter
=
vtkExtractSelectedIds
::
New
();
this
->
FrustumFilter
=
vtkExtractSelectedFrustum
::
New
();
...
...
Filters/Extraction/vtkExtractSelectionLegacy.h
View file @
8a00b357
...
...
@@ -25,7 +25,7 @@
* the extraction.
*
* This class used to be called vtkExtractSelection but it was replaced in
* VTK
9.0
. This is only provided for backwards compatibility and is therefore
* VTK
8.2
. This is only provided for backwards compatibility and is therefore
* deprecated.
*
* @sa
...
...
Utilities/EncodeString/module.cmake
View file @
8a00b357
vtk_module
(
vtkUtilitiesEncodeString
LEGACY
9.0
"The module is no longer supported. Use the vtkEncodeString CMake module instead."
LEGACY
8.2
"The module is no longer supported. Use the vtkEncodeString CMake module instead."
EXCLUDE_FROM_WRAPPING
)
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