Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Michael Migliore
VTK
Commits
67e054c9
Commit
67e054c9
authored
Sep 25, 2017
by
Ken Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mark ImmediateModeRendering as deprecated
Does not make sense for OpenGL2 and is not implemented Also deprecate PainterDelegate
parent
8eaff476
Changes
119
Hide whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
0 additions
and
101 deletions
+0
-101
Accelerators/Vtkm/Testing/Cxx/TestVTKMExtractVOI.cxx
Accelerators/Vtkm/Testing/Cxx/TestVTKMExtractVOI.cxx
+0
-2
Common/DataModel/Testing/Python/headBone.py
Common/DataModel/Testing/Python/headBone.py
+0
-1
Common/DataModel/Testing/Tcl/headBone.tcl
Common/DataModel/Testing/Tcl/headBone.tcl
+0
-1
Examples/Annotation/Cxx/LabeledMesh/LabeledMesh.cxx
Examples/Annotation/Cxx/LabeledMesh/LabeledMesh.cxx
+0
-1
Examples/Annotation/Python/TestText.py
Examples/Annotation/Python/TestText.py
+0
-1
Examples/Annotation/Python/TestTextOldWay.py
Examples/Annotation/Python/TestTextOldWay.py
+0
-1
Examples/Annotation/Python/annotatePick.py
Examples/Annotation/Python/annotatePick.py
+0
-1
Examples/Annotation/Python/labeledMesh.py
Examples/Annotation/Python/labeledMesh.py
+0
-1
Examples/Annotation/Tcl/TestText.tcl
Examples/Annotation/Tcl/TestText.tcl
+0
-1
Examples/Annotation/Tcl/TestTextOldWay.tcl
Examples/Annotation/Tcl/TestTextOldWay.tcl
+0
-1
Examples/Annotation/Tcl/annotatePick.tcl
Examples/Annotation/Tcl/annotatePick.tcl
+0
-1
Examples/Annotation/Tcl/labeledMesh.tcl
Examples/Annotation/Tcl/labeledMesh.tcl
+0
-1
Examples/GUI/Python/SphereWidget.py
Examples/GUI/Python/SphereWidget.py
+0
-1
Examples/GUI/Qt/SimpleView/SimpleView.cxx
Examples/GUI/Qt/SimpleView/SimpleView.cxx
+0
-1
Examples/GUI/Tcl/SphereWidget.tcl
Examples/GUI/Tcl/SphereWidget.tcl
+0
-1
Examples/GUI/Tcl/vtkTkRenderWidgetDemo.tcl
Examples/GUI/Tcl/vtkTkRenderWidgetDemo.tcl
+0
-1
Examples/ParallelProcessing/Generic/Cxx/task1.cxx
Examples/ParallelProcessing/Generic/Cxx/task1.cxx
+0
-1
Examples/ParallelProcessing/Generic/Cxx/task2.cxx
Examples/ParallelProcessing/Generic/Cxx/task2.cxx
+0
-1
Examples/ParallelProcessing/Generic/Cxx/task3.cxx
Examples/ParallelProcessing/Generic/Cxx/task3.cxx
+0
-1
Examples/Rendering/Tcl/AbortCheckEvent.tcl
Examples/Rendering/Tcl/AbortCheckEvent.tcl
+0
-1
Examples/VisualizationAlgorithms/Python/imageWarp.py
Examples/VisualizationAlgorithms/Python/imageWarp.py
+0
-1
Examples/VisualizationAlgorithms/Tcl/imageWarp.tcl
Examples/VisualizationAlgorithms/Tcl/imageWarp.tcl
+0
-1
Filters/Core/Testing/Python/MassProperties.py
Filters/Core/Testing/Python/MassProperties.py
+0
-3
Filters/Core/Testing/Python/StreamPolyData.py
Filters/Core/Testing/Python/StreamPolyData.py
+0
-1
Filters/Core/Testing/Python/TestGridSynchronizedTemplates3D.py
...rs/Core/Testing/Python/TestGridSynchronizedTemplates3D.py
+0
-1
Filters/Core/Testing/Python/financialField3.py
Filters/Core/Testing/Python/financialField3.py
+0
-1
Filters/Core/Testing/Python/multipleComponentContour.py
Filters/Core/Testing/Python/multipleComponentContour.py
+0
-2
Filters/Core/Testing/Python/skinOrder.py
Filters/Core/Testing/Python/skinOrder.py
+0
-1
Filters/Core/Testing/Tcl/MassProperties.tcl
Filters/Core/Testing/Tcl/MassProperties.tcl
+0
-3
Filters/Core/Testing/Tcl/StreamPolyData.tcl
Filters/Core/Testing/Tcl/StreamPolyData.tcl
+0
-1
Filters/Core/Testing/Tcl/TestGridSynchronizedTemplates3D.tcl
Filters/Core/Testing/Tcl/TestGridSynchronizedTemplates3D.tcl
+0
-1
Filters/Core/Testing/Tcl/financialField2.tcl
Filters/Core/Testing/Tcl/financialField2.tcl
+0
-1
Filters/Core/Testing/Tcl/financialField3.tcl
Filters/Core/Testing/Tcl/financialField3.tcl
+0
-1
Filters/Core/Testing/Tcl/multipleComponentContour.tcl
Filters/Core/Testing/Tcl/multipleComponentContour.tcl
+0
-2
Filters/Core/Testing/Tcl/skinOrder.tcl
Filters/Core/Testing/Tcl/skinOrder.tcl
+0
-1
Filters/Extraction/Testing/Python/extractPolyData.py
Filters/Extraction/Testing/Python/extractPolyData.py
+0
-1
Filters/Extraction/Testing/Python/extractVectors.py
Filters/Extraction/Testing/Python/extractVectors.py
+0
-3
Filters/Extraction/Testing/Tcl/extractPolyData.tcl
Filters/Extraction/Testing/Tcl/extractPolyData.tcl
+0
-1
Filters/Extraction/Testing/Tcl/extractVectors.tcl
Filters/Extraction/Testing/Tcl/extractVectors.tcl
+0
-3
Filters/General/Testing/Python/TestClipClosedSurface.py
Filters/General/Testing/Python/TestClipClosedSurface.py
+0
-1
Filters/General/Testing/Python/TestMultiBlockStreamer.py
Filters/General/Testing/Python/TestMultiBlockStreamer.py
+0
-2
Filters/General/Testing/Python/contoursToSurface.py
Filters/General/Testing/Python/contoursToSurface.py
+0
-1
Filters/General/Testing/Python/edgePoints.py
Filters/General/Testing/Python/edgePoints.py
+0
-1
Filters/General/Testing/Python/recursiveDC.py
Filters/General/Testing/Python/recursiveDC.py
+0
-1
Filters/General/Testing/Python/splitVectors.py
Filters/General/Testing/Python/splitVectors.py
+0
-4
Filters/General/Testing/Tcl/TestClipClosedSurface.tcl
Filters/General/Testing/Tcl/TestClipClosedSurface.tcl
+0
-1
Filters/General/Testing/Tcl/TestMultiBlockStreamer.tcl
Filters/General/Testing/Tcl/TestMultiBlockStreamer.tcl
+0
-2
Filters/General/Testing/Tcl/contoursToSurface.tcl
Filters/General/Testing/Tcl/contoursToSurface.tcl
+0
-1
Filters/General/Testing/Tcl/edgePoints.tcl
Filters/General/Testing/Tcl/edgePoints.tcl
+0
-1
Filters/General/Testing/Tcl/recursiveDC.tcl
Filters/General/Testing/Tcl/recursiveDC.tcl
+0
-1
Filters/General/Testing/Tcl/splitVectors.tcl
Filters/General/Testing/Tcl/splitVectors.tcl
+0
-4
Filters/Hybrid/Testing/Python/TestFacetReader.py
Filters/Hybrid/Testing/Python/TestFacetReader.py
+0
-1
Filters/Hybrid/Testing/Tcl/TestFacetReader.tcl
Filters/Hybrid/Testing/Tcl/TestFacetReader.tcl
+0
-1
Filters/Modeling/Testing/Python/TestImageMarchingCubes.py
Filters/Modeling/Testing/Python/TestImageMarchingCubes.py
+0
-1
Filters/Modeling/Testing/Python/contour3DAll.py
Filters/Modeling/Testing/Python/contour3DAll.py
+0
-1
Filters/Modeling/Testing/Tcl/TestImageMarchingCubes.tcl
Filters/Modeling/Testing/Tcl/TestImageMarchingCubes.tcl
+0
-1
Filters/Modeling/Testing/Tcl/contour3DAll.tcl
Filters/Modeling/Testing/Tcl/contour3DAll.tcl
+0
-1
Filters/Parallel/Testing/Python/TestExtractCTHPart.py
Filters/Parallel/Testing/Python/TestExtractCTHPart.py
+0
-1
Filters/Parallel/Testing/Tcl/TestExtractCTHPart.tcl
Filters/Parallel/Testing/Tcl/TestExtractCTHPart.tcl
+0
-1
Filters/ParallelFlowPaths/Testing/Cxx/TestPLagrangianParticleTracker.cxx
...lFlowPaths/Testing/Cxx/TestPLagrangianParticleTracker.cxx
+0
-1
Filters/ParallelFlowPaths/Testing/Cxx/TestPStream.cxx
Filters/ParallelFlowPaths/Testing/Cxx/TestPStream.cxx
+0
-2
IO/EnSight/Testing/Python/EnSightIronProtASCII.py
IO/EnSight/Testing/Python/EnSightIronProtASCII.py
+0
-1
IO/EnSight/Testing/Python/EnSightIronProtBin.py
IO/EnSight/Testing/Python/EnSightIronProtBin.py
+0
-1
IO/EnSight/Testing/Tcl/EnSightIronProtASCII.tcl
IO/EnSight/Testing/Tcl/EnSightIronProtASCII.tcl
+0
-1
IO/EnSight/Testing/Tcl/EnSightIronProtBin.tcl
IO/EnSight/Testing/Tcl/EnSightIronProtBin.tcl
+0
-1
IO/Geometry/Testing/Python/TestXYZMol.py
IO/Geometry/Testing/Python/TestXYZMol.py
+0
-2
IO/Geometry/Testing/Python/caffeine.py
IO/Geometry/Testing/Python/caffeine.py
+0
-2
IO/Geometry/Testing/Python/caffeine_notrailingwhitespaces.py
IO/Geometry/Testing/Python/caffeine_notrailingwhitespaces.py
+0
-2
IO/Geometry/Testing/Tcl/TestXYZMol.tcl
IO/Geometry/Testing/Tcl/TestXYZMol.tcl
+0
-2
IO/Geometry/Testing/Tcl/caffeine.tcl
IO/Geometry/Testing/Tcl/caffeine.tcl
+0
-2
IO/Image/Testing/Python/TestMHD.py
IO/Image/Testing/Python/TestMHD.py
+0
-1
IO/Image/Testing/Python/dem.py
IO/Image/Testing/Python/dem.py
+0
-1
IO/Image/Testing/Tcl/TestMHD.tcl
IO/Image/Testing/Tcl/TestMHD.tcl
+0
-1
IO/Image/Testing/Tcl/dem.tcl
IO/Image/Testing/Tcl/dem.tcl
+0
-1
Imaging/Core/Testing/Python/TestExtractVOI.py
Imaging/Core/Testing/Python/TestExtractVOI.py
+0
-2
No files found.
Accelerators/Vtkm/Testing/Cxx/TestVTKMExtractVOI.cxx
View file @
67e054c9
...
...
@@ -35,7 +35,6 @@ int TestVTKMExtractVOI(int argc, char* argv[])
vtkNew
<
vtkPolyDataMapper
>
sphereMapper
;
sphereMapper
->
SetInputConnection
(
sphere
->
GetOutputPort
());
sphereMapper
->
ImmediateModeRenderingOn
();
vtkNew
<
vtkActor
>
sphereActor
;
sphereActor
->
SetMapper
(
sphereMapper
);
...
...
@@ -57,7 +56,6 @@ int TestVTKMExtractVOI(int argc, char* argv[])
vtkNew
<
vtkPolyDataMapper
>
mapper
;
mapper
->
SetInputConnection
(
tris
->
GetOutputPort
());
mapper
->
ImmediateModeRenderingOn
();
mapper
->
SetScalarRange
(
130
,
280
);
vtkNew
<
vtkActor
>
actor
;
...
...
Common/DataModel/Testing/Python/headBone.py
View file @
67e054c9
...
...
@@ -50,7 +50,6 @@ isoMapper = vtk.vtkDataSetMapper()
isoMapper
.
SetInputConnection
(
gradient
.
GetOutputPort
())
isoMapper
.
ScalarVisibilityOn
()
isoMapper
.
SetScalarRange
(
0
,
1200
)
isoMapper
.
ImmediateModeRenderingOn
()
isoActor
=
vtk
.
vtkActor
()
isoActor
.
SetMapper
(
isoMapper
)
...
...
Common/DataModel/Testing/Tcl/headBone.tcl
View file @
67e054c9
...
...
@@ -40,7 +40,6 @@ vtkDataSetMapper isoMapper
isoMapper SetInputConnection
[
gradient GetOutputPort
]
isoMapper ScalarVisibilityOn
isoMapper SetScalarRange 0 1200
isoMapper ImmediateModeRenderingOn
vtkActor isoActor
isoActor SetMapper isoMapper
...
...
Examples/Annotation/Cxx/LabeledMesh/LabeledMesh.cxx
View file @
67e054c9
...
...
@@ -126,7 +126,6 @@ int main( int , char *[] )
vtkSmartPointer
<
vtkPolyDataMapper
>
sphereMapper
=
vtkSmartPointer
<
vtkPolyDataMapper
>::
New
();
sphereMapper
->
SetInputConnection
(
sphere
->
GetOutputPort
());
sphereMapper
->
GlobalImmediateModeRenderingOn
();
vtkSmartPointer
<
vtkActor
>
sphereActor
=
vtkSmartPointer
<
vtkActor
>::
New
();
...
...
Examples/Annotation/Python/TestText.py
View file @
67e054c9
...
...
@@ -9,7 +9,6 @@ sphere = vtk.vtkSphereSource()
sphereMapper
=
vtk
.
vtkPolyDataMapper
()
sphereMapper
.
SetInputConnection
(
sphere
.
GetOutputPort
())
sphereMapper
.
GlobalImmediateModeRenderingOn
()
sphereActor
=
vtk
.
vtkLODActor
()
sphereActor
.
SetMapper
(
sphereMapper
)
...
...
Examples/Annotation/Python/TestTextOldWay.py
View file @
67e054c9
...
...
@@ -10,7 +10,6 @@ sphere = vtk.vtkSphereSource()
sphereMapper
=
vtk
.
vtkPolyDataMapper
()
sphereMapper
.
SetInputConnection
(
sphere
.
GetOutputPort
())
sphereMapper
.
GlobalImmediateModeRenderingOn
()
sphereActor
=
vtk
.
vtkLODActor
()
sphereActor
.
SetMapper
(
sphereMapper
)
...
...
Examples/Annotation/Python/annotatePick.py
View file @
67e054c9
...
...
@@ -10,7 +10,6 @@ import vtk
sphere
=
vtk
.
vtkSphereSource
()
sphereMapper
=
vtk
.
vtkPolyDataMapper
()
sphereMapper
.
SetInputConnection
(
sphere
.
GetOutputPort
())
sphereMapper
.
GlobalImmediateModeRenderingOn
()
sphereActor
=
vtk
.
vtkLODActor
()
sphereActor
.
SetMapper
(
sphereMapper
)
...
...
Examples/Annotation/Python/labeledMesh.py
View file @
67e054c9
...
...
@@ -40,7 +40,6 @@ rectActor.SetMapper(rectMapper)
sphere
=
vtk
.
vtkSphereSource
()
sphereMapper
=
vtk
.
vtkPolyDataMapper
()
sphereMapper
.
SetInputConnection
(
sphere
.
GetOutputPort
())
sphereMapper
.
GlobalImmediateModeRenderingOn
()
sphereActor
=
vtk
.
vtkActor
()
sphereActor
.
SetMapper
(
sphereMapper
)
...
...
Examples/Annotation/Tcl/TestText.tcl
View file @
67e054c9
...
...
@@ -12,7 +12,6 @@ vtkSphereSource sphere
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
sphere GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkLODActor sphereActor
sphereActor SetMapper sphereMapper
...
...
Examples/Annotation/Tcl/TestTextOldWay.tcl
View file @
67e054c9
...
...
@@ -12,7 +12,6 @@ vtkSphereSource sphere
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
sphere GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkLODActor sphereActor
sphereActor SetMapper sphereMapper
...
...
Examples/Annotation/Tcl/annotatePick.tcl
View file @
67e054c9
...
...
@@ -14,7 +14,6 @@ vtkSphereSource sphere
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
sphere GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkLODActor sphereActor
sphereActor SetMapper sphereMapper
...
...
Examples/Annotation/Tcl/labeledMesh.tcl
View file @
67e054c9
...
...
@@ -43,7 +43,6 @@ vtkActor2D rectActor
vtkSphereSource sphere
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
sphere GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkActor sphereActor
sphereActor SetMapper sphereMapper
...
...
Examples/GUI/Python/SphereWidget.py
View file @
67e054c9
...
...
@@ -55,7 +55,6 @@ demMapper = vtk.vtkPolyDataMapper()
demMapper
.
SetInputConnection
(
normals
.
GetOutputPort
())
demMapper
.
SetScalarRange
(
lo
,
hi
)
demMapper
.
SetLookupTable
(
lut
)
demMapper
.
ImmediateModeRenderingOn
()
demActor
=
vtk
.
vtkLODActor
()
demActor
.
SetMapper
(
demMapper
)
...
...
Examples/GUI/Qt/SimpleView/SimpleView.cxx
View file @
67e054c9
...
...
@@ -45,7 +45,6 @@ SimpleView::SimpleView()
// Mapper
VTK_CREATE
(
vtkPolyDataMapper
,
mapper
);
mapper
->
ImmediateModeRenderingOn
();
mapper
->
SetInputConnection
(
elevation
->
GetOutputPort
());
// Actor in scene
...
...
Examples/GUI/Tcl/SphereWidget.tcl
View file @
67e054c9
...
...
@@ -53,7 +53,6 @@ vtkPolyDataMapper demMapper
demMapper SetInputConnection
[
normals GetOutputPort
]
eval demMapper SetScalarRange $lo $hi
demMapper SetLookupTable lut
demMapper ImmediateModeRenderingOn
vtkLODActor demActor
demActor SetMapper demMapper
...
...
Examples/GUI/Tcl/vtkTkRenderWidgetDemo.tcl
View file @
67e054c9
...
...
@@ -26,7 +26,6 @@ $renWin AddRenderer ren1
vtkConeSource cone
vtkPolyDataMapper coneMapper
coneMapper SetInputConnection
[
cone GetOutputPort
]
coneMapper GlobalImmediateModeRenderingOn
vtkLODActor coneActor
coneActor SetMapper coneMapper
...
...
Examples/ParallelProcessing/Generic/Cxx/task1.cxx
View file @
67e054c9
...
...
@@ -63,7 +63,6 @@ vtkPolyDataMapper* task1(vtkRenderWindow* renWin, double data,
vtkPolyDataMapper
*
mapper
=
vtkPolyDataMapper
::
New
();
mapper
->
SetInputData
(
probe
->
GetPolyDataOutput
());
mapper
->
SetScalarRange
(
50
,
180
);
mapper
->
ImmediateModeRenderingOn
();
vtkActor
*
actor
=
vtkActor
::
New
();
actor
->
SetMapper
(
mapper
);
...
...
Examples/ParallelProcessing/Generic/Cxx/task2.cxx
View file @
67e054c9
...
...
@@ -75,7 +75,6 @@ vtkPolyDataMapper* task2(vtkRenderWindow* renWin, double data,
vtkPolyDataMapper
*
mapper
=
vtkPolyDataMapper
::
New
();
mapper
->
SetInputConnection
(
glyph
->
GetOutputPort
());
mapper
->
SetScalarRange
(
50
,
180
);
mapper
->
ImmediateModeRenderingOn
();
vtkActor
*
actor
=
vtkActor
::
New
();
actor
->
SetMapper
(
mapper
);
...
...
Examples/ParallelProcessing/Generic/Cxx/task3.cxx
View file @
67e054c9
...
...
@@ -77,7 +77,6 @@ void task3(double data)
vtkPolyDataMapper
*
mapper
=
vtkPolyDataMapper
::
New
();
mapper
->
SetInputConnection
(
append
->
GetOutputPort
());
mapper
->
SetScalarRange
(
50
,
180
);
mapper
->
ImmediateModeRenderingOn
();
vtkActor
*
actor
=
vtkActor
::
New
();
actor
->
SetMapper
(
mapper
);
...
...
Examples/Rendering/Tcl/AbortCheckEvent.tcl
View file @
67e054c9
...
...
@@ -14,7 +14,6 @@ vtkSphereSource sphere
sphere SetPhiResolution 40
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
sphere GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkLODActor sphereActor
sphereActor SetMapper sphereMapper
...
...
Examples/VisualizationAlgorithms/Python/imageWarp.py
View file @
67e054c9
...
...
@@ -29,7 +29,6 @@ merge.SetScalarsConnection(reader.GetOutputPort())
mapper
=
vtk
.
vtkDataSetMapper
()
mapper
.
SetInputConnection
(
merge
.
GetOutputPort
())
mapper
.
SetScalarRange
(
0
,
255
)
mapper
.
ImmediateModeRenderingOff
()
actor
=
vtk
.
vtkActor
()
actor
.
SetMapper
(
mapper
)
...
...
Examples/VisualizationAlgorithms/Tcl/imageWarp.tcl
View file @
67e054c9
...
...
@@ -27,7 +27,6 @@ vtkMergeFilter merge
vtkDataSetMapper mapper
mapper SetInputConnection
[
merge GetOutputPort
]
mapper SetScalarRange 0 255
mapper ImmediateModeRenderingOff
vtkActor actor
actor SetMapper mapper
...
...
Filters/Core/Testing/Python/MassProperties.py
View file @
67e054c9
...
...
@@ -49,14 +49,12 @@ class MassProperties(vtk.test.Testing.vtkTest):
sphereMapper
=
vtk
.
vtkPolyDataMapper
()
sphereMapper
.
SetInputConnection
(
sphere
.
GetOutputPort
())
sphereMapper
.
GlobalImmediateModeRenderingOn
()
sphereActor
=
vtk
.
vtkActor
()
sphereActor
.
SetMapper
(
sphereMapper
)
sphereActor
.
GetProperty
().
SetDiffuseColor
(
1
,
.
2
,
.
4
)
coneMapper
=
vtk
.
vtkPolyDataMapper
()
coneMapper
.
SetInputConnection
(
cone
.
GetOutputPort
())
coneMapper
.
GlobalImmediateModeRenderingOn
()
coneActor
=
vtk
.
vtkActor
()
coneActor
.
SetMapper
(
coneMapper
)
...
...
@@ -64,7 +62,6 @@ class MassProperties(vtk.test.Testing.vtkTest):
cubeMapper
=
vtk
.
vtkPolyDataMapper
()
cubeMapper
.
SetInputConnection
(
cube
.
GetOutputPort
())
cubeMapper
.
GlobalImmediateModeRenderingOn
()
cubeActor
=
vtk
.
vtkActor
()
cubeActor
.
SetMapper
(
cubeMapper
)
...
...
Filters/Core/Testing/Python/StreamPolyData.py
View file @
67e054c9
...
...
@@ -73,7 +73,6 @@ mapper.SetInputConnection(streamer.GetOutputPort())
mapper
.
ScalarVisibilityOff
()
mapper
.
SetPiece
(
0
)
mapper
.
SetNumberOfPieces
(
2
)
mapper
.
ImmediateModeRenderingOn
()
actor
=
vtk
.
vtkActor
()
actor
.
SetMapper
(
mapper
)
...
...
Filters/Core/Testing/Python/TestGridSynchronizedTemplates3D.py
View file @
67e054c9
...
...
@@ -40,7 +40,6 @@ class TestGridSynchronizedTemplates3D(Testing.vtkTest):
# cf ComputeNormalsOff
cfMapper
=
vtk
.
vtkPolyDataMapper
()
cfMapper
.
ImmediateModeRenderingOn
()
cfMapper
.
SetInputConnection
(
cf
.
GetOutputPort
())
cfMapper
.
SetScalarRange
(
pl3d_output
.
GetPointData
().
GetScalars
().
GetRange
())
...
...
Filters/Core/Testing/Python/financialField3.py
View file @
67e054c9
...
...
@@ -180,7 +180,6 @@ class financialField3(vtk.test.Testing.vtkTest):
popMapper
=
vtk
.
vtkPolyDataMapper
()
popMapper
.
SetInputConnection
(
popSurface
.
GetOutputPort
())
popMapper
.
ScalarVisibilityOff
()
popMapper
.
ImmediateModeRenderingOn
()
popActor
=
vtk
.
vtkActor
()
popActor
.
SetMapper
(
popMapper
)
popActor
.
GetProperty
().
SetOpacity
(
0.3
)
...
...
Filters/Core/Testing/Python/multipleComponentContour.py
View file @
67e054c9
...
...
@@ -35,13 +35,11 @@ cf2.SetValue(0,500)
cf2
.
SetArrayComponent
(
1
)
mapper1
=
vtk
.
vtkPolyDataMapper
()
mapper1
.
SetInputConnection
(
cf1
.
GetOutputPort
())
mapper1
.
SetImmediateModeRendering
(
1
)
mapper1
.
SetScalarRange
(
0
,
1
)
mapper1
.
SetScalarVisibility
(
0
)
mapper1
.
Update
()
mapper2
=
vtk
.
vtkPolyDataMapper
()
mapper2
.
SetInputConnection
(
cf2
.
GetOutputPort
())
mapper2
.
SetImmediateModeRendering
(
1
)
mapper2
.
SetScalarRange
(
0
,
1
)
mapper2
.
SetScalarVisibility
(
0
)
actor1
=
vtk
.
vtkActor
()
...
...
Filters/Core/Testing/Python/skinOrder.py
View file @
67e054c9
...
...
@@ -110,7 +110,6 @@ class skinOrder(vtk.test.Testing.vtkTest):
mapper
.
append
(
vtk
.
vtkPolyDataMapper
())
mapper
[
idx
].
SetInputConnection
(
iso
[
idx
].
GetOutputPort
())
mapper
[
idx
].
ImmediateModeRenderingOn
()
actor
.
append
(
vtk
.
vtkActor
())
actor
[
idx
].
SetMapper
(
mapper
[
idx
])
...
...
Filters/Core/Testing/Tcl/MassProperties.tcl
View file @
67e054c9
...
...
@@ -23,14 +23,12 @@ vtkCubeSource cube
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
sphere GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkActor sphereActor
sphereActor SetMapper sphereMapper
[
sphereActor GetProperty
]
SetDiffuseColor 1 .2 .4
vtkPolyDataMapper coneMapper
coneMapper SetInputConnection
[
cone GetOutputPort
]
coneMapper GlobalImmediateModeRenderingOn
vtkActor coneActor
coneActor SetMapper coneMapper
...
...
@@ -38,7 +36,6 @@ vtkActor coneActor
vtkPolyDataMapper cubeMapper
cubeMapper SetInputConnection
[
cube GetOutputPort
]
cubeMapper GlobalImmediateModeRenderingOn
vtkActor cubeActor
cubeActor SetMapper cubeMapper
...
...
Filters/Core/Testing/Tcl/StreamPolyData.tcl
View file @
67e054c9
...
...
@@ -65,7 +65,6 @@ vtkPolyDataMapper mapper
mapper ScalarVisibilityOff
mapper SetPiece 0
mapper SetNumberOfPieces 2
mapper ImmediateModeRenderingOn
vtkActor actor
actor SetMapper mapper
...
...
Filters/Core/Testing/Tcl/TestGridSynchronizedTemplates3D.tcl
View file @
67e054c9
...
...
@@ -22,7 +22,6 @@ vtkContourFilter cf
#cf ComputeNormalsOff
vtkPolyDataMapper cfMapper
cfMapper ImmediateModeRenderingOn
cfMapper SetInputConnection
[
cf GetOutputPort
]
eval cfMapper SetScalarRange
\
[[[
$pl3d
_output GetPointData
]
GetScalars
]
GetRange
]
...
...
Filters/Core/Testing/Tcl/financialField2.tcl
View file @
67e054c9
...
...
@@ -120,7 +120,6 @@ vtkContourFilter popSurface
vtkPolyDataMapper popMapper
popMapper SetInputConnection
[
popSurface GetOutputPort
]
popMapper ScalarVisibilityOff
popMapper ImmediateModeRenderingOn
vtkActor popActor
popActor SetMapper popMapper
[
popActor GetProperty
]
SetOpacity 0.3
...
...
Filters/Core/Testing/Tcl/financialField3.tcl
View file @
67e054c9
...
...
@@ -141,7 +141,6 @@ vtkContourFilter popSurface
vtkPolyDataMapper popMapper
popMapper SetInputConnection
[
popSurface GetOutputPort
]
popMapper ScalarVisibilityOff
popMapper ImmediateModeRenderingOn
vtkActor popActor
popActor SetMapper popMapper
[
popActor GetProperty
]
SetOpacity 0.3
...
...
Filters/Core/Testing/Tcl/multipleComponentContour.tcl
View file @
67e054c9
...
...
@@ -40,14 +40,12 @@ vtkContourFilter cf2
vtkPolyDataMapper mapper1
mapper1 SetInputConnection
[
cf1 GetOutputPort
]
mapper1 SetImmediateModeRendering 1
mapper1 SetScalarRange 0 1
mapper1 SetScalarVisibility 0
mapper1 Update
vtkPolyDataMapper mapper2
mapper2 SetInputConnection
[
cf2 GetOutputPort
]
mapper2 SetImmediateModeRendering 1
mapper2 SetScalarRange 0 1
mapper2 SetScalarVisibility 0
...
...
Filters/Core/Testing/Tcl/skinOrder.tcl
View file @
67e054c9
...
...
@@ -56,7 +56,6 @@ foreach order $orders {
vtkPolyDataMapper mapper$order
mapper$order SetInputConnection
[
iso$order GetOutputPort
]
mapper$order ImmediateModeRenderingOn
vtkActor actor$order
actor$order SetMapper mapper$order
...
...
Filters/Extraction/Testing/Python/extractPolyData.py
View file @
67e054c9
...
...
@@ -25,7 +25,6 @@ extract.ExtractBoundaryCellsOn()
extract
.
PassPointsOn
()
sphereMapper
=
vtk
.
vtkPolyDataMapper
()
sphereMapper
.
SetInputConnection
(
extract
.
GetOutputPort
())
sphereMapper
.
GlobalImmediateModeRenderingOn
()
sphereActor
=
vtk
.
vtkActor
()
sphereActor
.
SetMapper
(
sphereMapper
)
...
...
Filters/Extraction/Testing/Python/extractVectors.py
View file @
67e054c9
...
...
@@ -31,7 +31,6 @@ normalsVx.SetFeatureAngle(45)
isoVxMapper
=
vtk
.
vtkPolyDataMapper
()
isoVxMapper
.
SetInputConnection
(
normalsVx
.
GetOutputPort
())
isoVxMapper
.
ScalarVisibilityOff
()
isoVxMapper
.
ImmediateModeRenderingOn
()
isoVxActor
=
vtk
.
vtkActor
()
isoVxActor
.
SetMapper
(
isoVxMapper
)
isoVxActor
.
GetProperty
().
SetColor
(
1
,
0.7
,
0.6
)
...
...
@@ -47,7 +46,6 @@ normalsVy.SetFeatureAngle(45)
isoVyMapper
=
vtk
.
vtkPolyDataMapper
()
isoVyMapper
.
SetInputConnection
(
normalsVy
.
GetOutputPort
())
isoVyMapper
.
ScalarVisibilityOff
()
isoVyMapper
.
ImmediateModeRenderingOn
()
isoVyActor
=
vtk
.
vtkActor
()
isoVyActor
.
SetMapper
(
isoVyMapper
)
isoVyActor
.
GetProperty
().
SetColor
(
0.7
,
1
,
0.6
)
...
...
@@ -63,7 +61,6 @@ normalsVz.SetFeatureAngle(45)
isoVzMapper
=
vtk
.
vtkPolyDataMapper
()
isoVzMapper
.
SetInputConnection
(
normalsVz
.
GetOutputPort
())
isoVzMapper
.
ScalarVisibilityOff
()
isoVzMapper
.
ImmediateModeRenderingOn
()
isoVzActor
=
vtk
.
vtkActor
()
isoVzActor
.
SetMapper
(
isoVzMapper
)
isoVzActor
.
GetProperty
().
SetColor
(
0.4
,
0.5
,
1
)
...
...
Filters/Extraction/Testing/Tcl/extractPolyData.tcl
View file @
67e054c9
...
...
@@ -24,7 +24,6 @@ vtkExtractPolyDataGeometry extract
extract PassPointsOn
vtkPolyDataMapper sphereMapper
sphereMapper SetInputConnection
[
extract GetOutputPort
]
sphereMapper GlobalImmediateModeRenderingOn
vtkActor sphereActor
sphereActor SetMapper sphereMapper
...
...
Filters/Extraction/Testing/Tcl/extractVectors.tcl
View file @
67e054c9
...
...
@@ -32,7 +32,6 @@ vtkPolyDataNormals normalsVx
vtkPolyDataMapper isoVxMapper
isoVxMapper SetInputConnection
[
normalsVx GetOutputPort
]
isoVxMapper ScalarVisibilityOff
isoVxMapper ImmediateModeRenderingOn
vtkActor isoVxActor
isoVxActor SetMapper isoVxMapper
eval
[
isoVxActor GetProperty
]
SetColor 1 0.7 0.6
...
...
@@ -50,7 +49,6 @@ vtkPolyDataNormals normalsVy
vtkPolyDataMapper isoVyMapper
isoVyMapper SetInputConnection
[
normalsVy GetOutputPort
]
isoVyMapper ScalarVisibilityOff
isoVyMapper ImmediateModeRenderingOn
vtkActor isoVyActor
isoVyActor SetMapper isoVyMapper
eval
[
isoVyActor GetProperty
]
SetColor 0.7 1 0.6
...
...
@@ -68,7 +66,6 @@ vtkPolyDataNormals normalsVz
vtkPolyDataMapper isoVzMapper
isoVzMapper SetInputConnection
[
normalsVz GetOutputPort
]
isoVzMapper ScalarVisibilityOff
isoVzMapper ImmediateModeRenderingOn
vtkActor isoVzActor
isoVzActor SetMapper isoVzMapper
eval
[
isoVzActor GetProperty
]
SetColor 0.4 0.5 1
...
...
Filters/General/Testing/Python/TestClipClosedSurface.py
View file @
67e054c9
...
...
@@ -50,7 +50,6 @@ clip.GenerateFacesOn()
isoMapper
=
vtk
.
vtkPolyDataMapper
()
isoMapper
.
SetInputConnection
(
clip
.
GetOutputPort
())
isoMapper
.
ScalarVisibilityOn
()
isoMapper
.
ImmediateModeRenderingOn
()
isoActor
=
vtk
.
vtkActor
()
isoActor
.
SetMapper
(
isoMapper
)
outline
=
vtk
.
vtkOutlineFilter
()
...
...
Filters/General/Testing/Python/TestMultiBlockStreamer.py
View file @
67e054c9
...
...
@@ -35,7 +35,6 @@ Geometry5.SetInputData(output)
Mapper5
=
vtk
.
vtkPolyDataMapper
()
Mapper5
.
SetInputConnection
(
Geometry5
.
GetOutputPort
())
Mapper5
.
SetImmediateModeRendering
(
1
)
Mapper5
.
UseLookupTableScalarRangeOn
()
Mapper5
.
SetScalarVisibility
(
0
)
Mapper5
.
SetScalarModeToDefault
()
...
...
@@ -122,7 +121,6 @@ LookupTable1.Build()
Mapper10
=
vtk
.
vtkPolyDataMapper
()
Mapper10
.
SetInputConnection
(
Ribbon0
.
GetOutputPort
())
Mapper10
.
SetImmediateModeRendering
(
1
)
Mapper10
.
UseLookupTableScalarRangeOn
()
Mapper10
.
SetScalarVisibility
(
1
)
Mapper10
.
SetScalarModeToUsePointFieldData
()
...
...
Filters/General/Testing/Python/contoursToSurface.py
View file @
67e054c9
...
...
@@ -140,7 +140,6 @@ f.SetMemoryLimitInBytes(100000)
m
=
vtk
.
vtkPolyDataMapper
()
m
.
SetInputConnection
(
f
.
GetOutputPort
())
m
.
ScalarVisibilityOff
()
m
.
ImmediateModeRenderingOn
()
a
=
vtk
.
vtkActor
()
a
.
SetMapper
(
m
)
...
...
Filters/General/Testing/Python/edgePoints.py
View file @
67e054c9
...
...
@@ -30,7 +30,6 @@ edgePoints.SetValue(1150)
#
mapper
=
vtk
.
vtkDataSetMapper
()
mapper
.
SetInputConnection
(
edgePoints
.
GetOutputPort
())
mapper
.
ImmediateModeRenderingOn
()
mapper
.
ScalarVisibilityOff
()
head
=
vtk
.
vtkActor
()
...
...
Filters/General/Testing/Python/recursiveDC.py
View file @
67e054c9
...
...
@@ -33,7 +33,6 @@ iso.SetIncrement(2)
isoMapper
=
vtk
.
vtkPolyDataMapper
()
isoMapper
.
SetInputConnection
(
iso
.
GetOutputPort
())
isoMapper
.
ScalarVisibilityOff
()
isoMapper
.
ImmediateModeRenderingOn
()
isoActor
=
vtk
.
vtkActor
()
isoActor
.
SetMapper
(
isoMapper
)
isoActor
.
GetProperty
().
SetColor
(
GetRGBColor
(
'bisque'
))
...
...
Filters/General/Testing/Python/splitVectors.py
View file @
67e054c9
...
...
@@ -39,7 +39,6 @@ normalsVx.SetFeatureAngle(45)
isoVxMapper
=
vtk
.
vtkPolyDataMapper
()
isoVxMapper
.
SetInputConnection
(
normalsVx
.
GetOutputPort
())
isoVxMapper
.
ScalarVisibilityOff
()
isoVxMapper
.
ImmediateModeRenderingOn
()
isoVxActor
=
vtk
.
vtkActor
()
isoVxActor
.
SetMapper
(
isoVxMapper
)
isoVxActor
.
GetProperty
().
SetColor
(
1
,
0.7
,
0.6
)
...
...
@@ -56,7 +55,6 @@ normalsVy.SetFeatureAngle(45)
isoVyMapper
=
vtk
.
vtkPolyDataMapper
()
isoVyMapper
.
SetInputConnection
(
normalsVy
.
GetOutputPort
())
isoVyMapper
.
ScalarVisibilityOff
()
isoVyMapper
.
ImmediateModeRenderingOn
()
isoVyActor
=
vtk
.
vtkActor
()
isoVyActor
.
SetMapper
(
isoVyMapper
)
isoVyActor
.
GetProperty
().
SetColor
(
0.7
,
1
,
0.6
)
...
...
@@ -73,7 +71,6 @@ normalsVz.SetFeatureAngle(45)
isoVzMapper
=
vtk
.
vtkPolyDataMapper
()
isoVzMapper
.
SetInputConnection
(
normalsVz
.
GetOutputPort
())
isoVzMapper
.
ScalarVisibilityOff
()
isoVzMapper
.
ImmediateModeRenderingOn
()
isoVzActor
=
vtk
.
vtkActor
()
isoVzActor
.
SetMapper
(
isoVzMapper
)
isoVzActor
.
GetProperty
().
SetColor
(
0.4
,
0.5
,
1
)
...
...
@@ -104,7 +101,6 @@ rf.SetWidth(1.0)
rf
.
SetWidthFactor
(
5
)
slMapper
=
vtk
.
vtkPolyDataMapper
()
slMapper
.
SetInputConnection
(
rf
.
GetOutputPort
())
slMapper
.
ImmediateModeRenderingOn
()
slActor
=
vtk
.
vtkActor
()
slActor
.
SetMapper
(
slMapper
)
...
...
Filters/General/Testing/Tcl/TestClipClosedSurface.tcl
View file @
67e054c9
...
...
@@ -57,7 +57,6 @@ vtkClipClosedSurface clip
vtkPolyDataMapper isoMapper
isoMapper SetInputConnection
[
clip GetOutputPort
]
isoMapper ScalarVisibilityOn
isoMapper ImmediateModeRenderingOn
vtkActor isoActor
isoActor SetMapper isoMapper
...
...
Filters/General/Testing/Tcl/TestMultiBlockStreamer.tcl
View file @
67e054c9
...
...
@@ -34,7 +34,6 @@ Geometry5 SetInputData $output
vtkPolyDataMapper Mapper5
Mapper5 SetInputConnection
[
Geometry5 GetOutputPort
]
Mapper5 SetImmediateModeRendering 1
Mapper5 UseLookupTableScalarRangeOn
Mapper5 SetScalarVisibility 0
Mapper5 SetScalarModeToDefault
...
...
@@ -121,7 +120,6 @@ LookupTable1 Build
vtkPolyDataMapper Mapper10
Mapper10 SetInputConnection
[
Ribbon0 GetOutputPort
]
Mapper10 SetImmediateModeRendering 1
Mapper10 UseLookupTableScalarRangeOn
Mapper10 SetScalarVisibility 1
Mapper10 SetScalarModeToUsePointFieldData
...
...
Filters/General/Testing/Tcl/contoursToSurface.tcl
View file @
67e054c9
...
...
@@ -135,7 +135,6 @@ f SetMemoryLimitInBytes 100000
vtkPolyDataMapper m
m SetInputConnection
[
f GetOutputPort
]
m ScalarVisibilityOff
m ImmediateModeRenderingOn
vtkActor a
a SetMapper m
...
...
Filters/General/Testing/Tcl/edgePoints.tcl
View file @
67e054c9
...
...
@@ -20,7 +20,6 @@ vtkEdgePoints edgePoints
#
vtkDataSetMapper mapper
mapper SetInputConnection
[
edgePoints GetOutputPort
]
mapper ImmediateModeRenderingOn
mapper ScalarVisibilityOff
vtkActor head
...
...
Filters/General/Testing/Tcl/recursiveDC.tcl
View file @
67e054c9
...
...
@@ -23,7 +23,6 @@ vtkRecursiveDividingCubes iso
vtkPolyDataMapper isoMapper
isoMapper SetInputConnection
[
iso GetOutputPort
]
isoMapper ScalarVisibilityOff
isoMapper ImmediateModeRenderingOn
vtkActor isoActor
isoActor SetMapper isoMapper
eval
[
isoActor GetProperty
]
SetColor $bisque
...
...
Filters/General/Testing/Tcl/splitVectors.tcl
View file @
67e054c9
...
...
@@ -40,7 +40,6 @@ vtkPolyDataNormals normalsVx
vtkPolyDataMapper isoVxMapper
isoVxMapper SetInputConnection
[
normalsVx GetOutputPort
]
isoVxMapper ScalarVisibilityOff
isoVxMapper ImmediateModeRenderingOn
vtkActor isoVxActor
isoVxActor SetMapper isoVxMapper
eval
[
isoVxActor GetProperty
]
SetColor 1 0.7 0.6
...
...
@@ -57,7 +56,6 @@ vtkPolyDataNormals normalsVy
vtkPolyDataMapper isoVyMapper
isoVyMapper SetInputConnection
[
normalsVy GetOutputPort
]
isoVyMapper ScalarVisibilityOff
isoVyMapper ImmediateModeRenderingOn
vtkActor isoVyActor
isoVyActor SetMapper isoVyMapper
eval
[
isoVyActor GetProperty
]
SetColor 0.7 1 0.6
...
...
@@ -74,7 +72,6 @@ vtkPolyDataNormals normalsVz
vtkPolyDataMapper isoVzMapper
isoVzMapper SetInputConnection
[
normalsVz GetOutputPort
]
isoVzMapper ScalarVisibilityOff
isoVzMapper ImmediateModeRenderingOn
vtkActor isoVzActor
isoVzActor SetMapper isoVzMapper