Thank you Andrew,<div><br></div><div>I willl take a look at them.</div><div><br></div><div>-Nikhil</div><div><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 6:56 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nick,<br>
<br>
While upgrading vtktextbook exercises from a very old version of tcl,<br>
I also created python versions of the examples. I have translated a<br>
few of these,  from  I'll send you a link to the repository and you<br>
can pick out what you need/want. I note that many of the examples were<br>
actually in the VTK tests.<br>
<br>
<br>
<br>
<br>
Regards<br>
Andrew<br>
<br>
><br>
> ---------- Forwarded message ----------<br>
> From: Nikhil Shetty <<a href="mailto:nikhil.shetty@kitware.com">nikhil.shetty@kitware.com</a>><br>
> To: VTK Developers <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>><br>
> Cc:<br>
> Date: Mon, 27 Aug 2012 11:59:37 -0400<br>
> Subject: [vtk-developers] Tcl to Python tests<br>
> Hi All,<br>
><br>
> Prior to VTK-modular all Tcl tests were auto-converted to Python tests. However with VTK-modular we got rid of the 'autoConvert' script. Instead we have copied over the converted python tests directly into VTK's repo. However not all Tcl tests had a Python counterpart. I am listing all such tests below.  Some of these perform some sanity checks on VTK source files (in Common/Core/Testing/Tcl). If you find some files that you believe had a python counterpart and is still listed here please let me know.<br>


><br>
> -Nikhil<br>
><br>
> -----------------------------------------<br>
><br>
> ./Common/Core/Testing/Tcl/TestIgnoreBTX.tcl<br>
> ./Common/Core/Testing/Tcl/TestSetGet.tcl<br>
> ./Common/Core/Testing/Tcl/TestArrays.tcl<br>
> ./Common/Core/Testing/Tcl/otherInterp.tcl<br>
> ./Common/Core/Testing/Tcl/FindString.tcl<br>
> ./Common/Core/Testing/Tcl/TestEmptyInput.tcl<br>
> ./Common/Core/Testing/Tcl/PrintSelfCheck.tcl<br>
> ./Common/Core/Testing/Tcl/TestString.tcl<br>
> ./Common/Core/Testing/Tcl/otherPrint.tcl<br>
> ./Common/Math/Testing/Tcl/TestAmoebaMinimizer.tcl<br>
> ./Common/Transforms/Testing/Tcl/SliceOrder.tcl<br>
> ./Common/DataModel/Testing/Tcl/otherDataSetAttributes.tcl<br>
> ./Common/DataModel/Testing/Tcl/quadricCut.tcl<br>
> ./Common/DataModel/Testing/Tcl/TestConvexPointSet.tcl<br>
> ./Common/DataModel/Testing/Tcl/TestICPTransform.tcl<br>
> ./Interaction/Widgets/Testing/Tcl/TestSphereWidget.tcl<br>
> ./Interaction/Widgets/Testing/Tcl/TestBoxWidget.tcl<br>
> ./Interaction/Widgets/Testing/Tcl/TestInteractorEventRecorder.tcl<br>
> ./Interaction/Widgets/Testing/Tcl/TestTextWidget.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleTerrain.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleJoystickCamera.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleTrackballCamera.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleBase.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleBaseSpike.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleJoystickActor.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestInteractorStyleTerrain.tcl<br>
> ./Interaction/Style/Testing/Tcl/TestStyleTrackballActor.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestAllMathematics.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestAllBlends.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestImageWeightedSum.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestAllBlendsFloat.tcl<br>
> ./Imaging/Core/Testing/Tcl/imageMCAll.tcl<br>
> ./Imaging/Core/Testing/Tcl/reconstructSurface.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestWipe.tcl<br>
> ./Imaging/Core/Testing/Tcl/WindowLevelInterface.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestThreshold.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestAllMaskBits.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestBlendStencil.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestExtractVOI.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestAllShrinks.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestImageThresholdConnectivity.tcl<br>
> ./Imaging/Core/Testing/Tcl/TestAllLogic.tcl<br>
> ./Filters/Modeling/Testing/Tcl/contour2DAll.tcl<br>
> ./Filters/Modeling/Testing/Tcl/contour3DAll.tcl<br>
> ./Filters/Modeling/Testing/Tcl/TestFillHolesFilter.tcl<br>
> ./Filters/Hybrid/Testing/Tcl/TestProcrustesRigidCentroid.tcl<br>
> ./Filters/General/Testing/Tcl/WarpScalarImage.tcl<br>
> ./Filters/General/Testing/Tcl/spatialRepAll.tcl<br>
> ./Filters/General/Testing/Tcl/TestRandomAttributeGenerator.tcl<br>
> ./Filters/General/Testing/Tcl/WarpVectorImage.tcl<br>
> ./Filters/General/Testing/Tcl/cursor2D.tcl<br>
> ./Filters/Sources/Testing/Tcl/squadViewer.tcl<br>
> ./Filters/Sources/Testing/Tcl/TestPlatonicSolids.tcl<br>
> ./Filters/Core/Testing/Tcl/deciPlane.tcl<br>
> ./Filters/Core/Testing/Tcl/MassProperties.tcl<br>
> ./Filters/Core/Testing/Tcl/skinOrder.tcl<br>
> ./Filters/Core/Testing/Tcl/financialField3.tcl<br>
> ./Filters/Core/Testing/Tcl/probeComb.tcl<br>
> ./Filters/Core/Testing/Tcl/SliceOrder.tcl<br>
> ./Filters/Core/Testing/Tcl/deciFranFace.tcl<br>
> ./Filters/Core/Testing/Tcl/financialField2.tcl<br>
> ./Filters/Parallel/Testing/Tcl/TestCutMaterial.tcl<br>
> ./Filters/Parallel/Testing/Tcl/TestImageStreamer.tcl<br>
> ./Filters/Parallel/Testing/Tcl/TestExtractCTHPart.tcl<br>
> ./Filters/Parallel/Testing/Tcl/TestExtrudePiece.tcl<br>
> ./Filters/Parallel/Testing/Tcl/RectOutline.tcl<br>
> ./Rendering/FreeType/Testing/Tcl/TestTextActor3D.tcl<br>
> ./Rendering/Annotation/Testing/Tcl/cubeAxes2.tcl<br>
> ./Rendering/Annotation/Testing/Tcl/cubeAxes3.tcl<br>
> ./Rendering/OpenGL/Testing/Tcl/TestFreetypeTextMapperBigger.tcl<br>
> ./Rendering/OpenGL/Testing/Tcl/TestFreetypeTextOverlay.tcl<br>
> ./Rendering/OpenGL/Testing/Tcl/TestFreetypeTextMapper.tcl<br>
> ./Rendering/Core/Testing/Tcl/cells.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestGenericVertexAttributesCg.tcl<br>
> ./Rendering/Core/Testing/Tcl/SurfacePickerWithTexture.tcl<br>
> ./Rendering/Core/Testing/Tcl/TexturedSphere.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestWindowToImageTransparency.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestGLSLShader.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestOpacity2.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestLeaderActor2D.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestTransformCoordinateSystems.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestCgShader.tcl<br>
> ./Rendering/Core/Testing/Tcl/TestGenericVertexAttributesGLSL.tcl<br>
> ./Rendering/Core/Testing/Tcl/PickerWithLocator.tcl<br>
> ./Rendering/Volume/Testing/Tcl/volTM3DCompressedCropRegions.tcl<br>
> ./Rendering/Volume/Testing/Tcl/TestFixedPointRayCasterLinearCropped.tcl<br>
> ./Rendering/Volume/Testing/Tcl/TestFixedPointRayCasterLinear.tcl<br>
> ./Rendering/Volume/Testing/Tcl/cursor3D.tcl<br>
> ./Rendering/Volume/Testing/Tcl/TestFixedPointRayCasterNearestCropped.tcl<br>
> ./Rendering/Volume/Testing/Tcl/VolumePickerCrop.tcl<br>
> ./Rendering/Volume/Testing/Tcl/VolumeOutlineSourceClipped.tcl<br>
> ./Rendering/Volume/Testing/Tcl/VolumeOutlineSource.tcl<br>
> ./Rendering/Volume/Testing/Tcl/volTM3DCropRegions.tcl<br>
> ./Rendering/Volume/Testing/Tcl/volTM3DRotateClip.tcl<br>
> ./Rendering/Volume/Testing/Tcl/VolumePicker.tcl<br>
> ./Rendering/LOD/Testing/Tcl/TestQuadricLODActor.tcl<br>
> ./IO/Image/Testing/Tcl/TestMetaImage2D.tcl<br>
> ./IO/Image/Testing/Tcl/TestSetFileNames.tcl<br>
> ./IO/MINC/Testing/Tcl/TestMINCImageWriter.tcl<br>
> ./IO/MINC/Testing/Tcl/TestMINCImageReader.tcl<br>
> ./IO/XML/Testing/Tcl/TestEmptyXML.tcl<br>
> ./IO/XML/Testing/Tcl/TestXMLRectilinearGridIO.tcl<br>
> ./IO/XML/Testing/Tcl/TestXMLPolyDataIO.tcl<br>
> ./IO/XML/Testing/Tcl/TestXMLImageDataIO.tcl<br>
> ./IO/XML/Testing/Tcl/TestXMLUnstructuredGridIO.tcl<br>
> ./IO/XML/Testing/Tcl/TestXMLStructuredGridIO.tcl<br>
> ./IO/Core/Testing/Tcl/TestGlobFileNames.tcl<br>
> ./IO/Core/Testing/Tcl/TestSortFileNames.tcl<br>
> ./IO/Geometry/Testing/Tcl/TestSimplePointsReader.tcl<br>
> ./IO/Geometry/Testing/Tcl/TestChacoReader.tcl<br>
> ./IO/Parallel/Testing/Tcl/TestPImageWriter.tcl<br>
> ./IO/Parallel/Testing/Tcl/TestPDataSetReaderGrid.tcl<br>
> ./Parallel/Core/Testing/Tcl/TestUnstructuredPieces.tcl<br>
> ./Parallel/Core/Testing/Tcl/TestPolyDataPieces.tcl<br>
> ./Parallel/MPI/Testing/Tcl/TestPProbe.tcl<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> vtk-developers mailing list<br>
> <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
___________________________________________<br>
Andrew J. P. Maclean<br>
<br>
___________________________________________<br>
</font></span></blockquote></div><br></div>