[vtkusers] vtk.vtkVersion() not exposed to python?

Johann Cohen Tanugi cohen at slac.stanford.edu
Wed May 3 18:08:03 EDT 2006


hi,

[cohen at glast-jct cohen]$ python
Python 2.4.2 (#3, Apr 21 2006, 11:56:28)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-47)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import vtk
 >>> print vtk
<module 'vtk' from 
'/data0/local/lib/python2.4/site-packages/vtk/__init__.pyc'>
 >>> vtk.vtkVersion.GetVTKVersion()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'vtkVersion'
 >>> dir(vtk)
['ColorScalars', 'Common', 'Data', 'DataSet', 'DataSetAttr', 'Field', 
'LookupTable', 'Normals', 'Scalars', 'Tensors', 'TextureCoordinates', 
'VTK_ARIAL', 'VTK_BIT', 'VTK_BIT_MAX', 'VTK_BIT_MIN', 'VTK_CHAR', 
'VTK_CHAR_MAX', 'VTK_CHAR_MIN', 'VTK_COLOR_MODE_DEFAULT', 
'VTK_COLOR_MODE_MAP_SCALARS', 'VTK_COURIER', 'VTK_DATA_OBJECT', 
'VTK_DATA_SET', 'VTK_DOUBLE', 'VTK_DOUBLE_MAX', 'VTK_DOUBLE_MIN', 
'VTK_ERROR', 'VTK_FLOAT', 'VTK_FLOAT_MAX', 'VTK_FLOAT_MIN', 
'VTK_ID_TYPE', 'VTK_IMAGE_DATA', 'VTK_INT', 'VTK_INT_MAX', 
'VTK_INT_MIN', 'VTK_LARGE_FLOAT', 'VTK_LARGE_INTEGER', 
'VTK_LINEAR_INTERPOLATION', 'VTK_LONG', 'VTK_LONG_MAX', 'VTK_LONG_MIN', 
'VTK_LUMINANCE', 'VTK_LUMINANCE_ALPHA', 'VTK_MAX_VRCOMP', 
'VTK_NEAREST_INTERPOLATION', 'VTK_OK', 'VTK_OPAQUE', 
'VTK_PIECEWISE_FUNCTION', 'VTK_POINT_SET', 'VTK_POLY_DATA', 
'VTK_RECTILINEAR_GRID', 'VTK_RGB', 'VTK_RGBA', 'VTK_SHORT', 
'VTK_SHORT_MAX', 'VTK_SHORT_MIN', 'VTK_STRING', 'VTK_STRUCTURED_GRID', 
'VTK_STRUCTURED_POINTS', 'VTK_TEXT_BOTTOM', 'VTK_TEXT_CENTERED', 
'VTK_TEXT_GLOBAL_ANTIALIASING_ALL', 'VTK_TEXT_GLOBAL_ANTIALIASING_NONE', 
'VTK_TEXT_GLOBAL_ANTIALIASING_SOME', 'VTK_TEXT_LEFT', 'VTK_TEXT_RIGHT', 
'VTK_TEXT_TOP', 'VTK_TIMES', 'VTK_UNSIGNED_CHAR', 
'VTK_UNSIGNED_CHAR_MAX', 'VTK_UNSIGNED_CHAR_MIN', 'VTK_UNSIGNED_INT', 
'VTK_UNSIGNED_LONG', 'VTK_UNSIGNED_SHORT', 'VTK_UNSIGNED_SHORT_MAX', 
'VTK_UNSIGNED_SHORT_MIN', 'VTK_UNSTRUCTURED_GRID', 'VTK_VOID', 
'Vectors', '__builtins__', '__doc__', '__file__', '__name__', 
'__path__', 'common', 'exc', 'filtering', 'genericfiltering', 
'graphics', 'hybrid', 'imaging', 'io', 'is_celldata', 'is_dataset', 
'is_datasetattr', 'is_float01', 'is_int', 'is_int255', 'is_number', 
'is_pointdata', 'is_sequence', 'is_sequence2', 'is_sequence3', 
'is_string', 'kits', 'libvtkFilteringPython', 
'libvtkGenericFilteringPython', 'libvtkGraphicsPython', 
'libvtkHybridPython', 'libvtkIOPython', 'libvtkImagingPython', 
'libvtkRenderingPython', 'libvtkVolumeRenderingPython', 
'libvtkWidgetsPython', 'rendering', 'struct', 'types', 'util', 
'volumerendering', 'vtk3DSImporter', 'vtk3DWidget', 'vtkAVSucdReader', 
'vtkAbstractMapper', 'vtkAbstractMapper3D', 'vtkAbstractPicker', 
'vtkAbstractPropPicker', 'vtkAbstractVolumeMapper', 'vtkActor', 
'vtkActor2D', 'vtkActor2DCollection', 'vtkActorCollection', 
'vtkAlgorithm', 'vtkAlgorithmOutput', 'vtkAnnotatedCubeActor', 
'vtkAppendFilter', 'vtkAppendPolyData', 
'vtkApproximatingSubdivisionFilter', 'vtkArcPlotter', 
'vtkArrayCalculator', 'vtkArrowSource', 'vtkAssembly', 
'vtkAssignAttribute', 'vtkAttributeDataToFieldDataFilter', 
'vtkAttributesErrorMetric', 'vtkAxes', 'vtkAxesActor', 'vtkAxisActor2D', 
'vtkBMPReader', 'vtkBMPWriter', 'vtkBSPCuts', 'vtkBSPIntersections', 
'vtkBYUReader', 'vtkBYUWriter', 'vtkBandedPolyDataContourFilter', 
'vtkBase64InputStream', 'vtkBase64OutputStream', 'vtkBase64Utilities', 
'vtkBlankStructuredGrid', 'vtkBlankStructuredGridWithImage', 
'vtkBooleanTexture', 'vtkBoxClipDataSet', 'vtkBoxWidget', 
'vtkBrownianPoints', 'vtkButterflySubdivisionFilter', 'vtkButtonSource', 
'vtkCGMWriter', 'vtkCachedStreamingDemandDrivenPipeline', 'vtkCamera', 
'vtkCameraInterpolator', 'vtkCaptionActor2D', 'vtkCardinalSpline', 
'vtkCastToConcrete', 'vtkCell', 'vtkCell3D', 'vtkCellArray', 
'vtkCellCenterDepthSort', 'vtkCellCenters', 'vtkCellData', 
'vtkCellDataToPointData', 'vtkCellDerivatives', 'vtkCellLinks', 
'vtkCellLocator', 'vtkCellPicker', 'vtkCellTypes', 'vtkChacoReader', 
'vtkCleanPolyData', 'vtkClipDataSet', 'vtkClipPolyData', 
'vtkClipVolume', 'vtkColorTransferFunction', 'vtkCompositeDataIterator', 
'vtkCompositeDataPipeline', 'vtkCompositeDataSet', 'vtkCone', 
'vtkConeSource', 'vtkConnectivityFilter', 'vtkContourFilter', 
'vtkContourGrid', 'vtkConvexPointSet', 'vtkCoordinate', 
'vtkCornerAnnotation', 'vtkCubeAxesActor2D', 'vtkCubeSource', 
'vtkCuller', 'vtkCullerCollection', 'vtkCursor3D', 'vtkCurvatures', 
'vtkCutter', 'vtkCylinder', 'vtkCylinderSource', 'vtkDEMReader', 
'vtkDICOMImageReader', 'vtkDSPFilterDefinition', 'vtkDSPFilterGroup', 
'vtkDashedStreamLine', 'vtkDataCompressor', 'vtkDataObject', 
'vtkDataObjectAlgorithm', 'vtkDataObjectCollection', 
'vtkDataObjectReader', 'vtkDataObjectSource', 
'vtkDataObjectToDataSetFilter', 'vtkDataObjectWriter', 'vtkDataReader', 
'vtkDataSet', 'vtkDataSetAlgorithm', 'vtkDataSetAttributes', 
'vtkDataSetCollection', 'vtkDataSetMapper', 'vtkDataSetReader', 
'vtkDataSetSource', 'vtkDataSetSurfaceFilter', 
'vtkDataSetToDataObjectFilter', 'vtkDataSetToDataSetFilter', 
'vtkDataSetToImageFilter', 'vtkDataSetToPolyDataFilter', 
'vtkDataSetToStructuredGridFilter', 
'vtkDataSetToStructuredPointsFilter', 
'vtkDataSetToUnstructuredGridFilter', 'vtkDataSetTriangleFilter', 
'vtkDataSetWriter', 'vtkDataWriter', 'vtkDecimatePro', 'vtkDelaunay2D', 
'vtkDelaunay3D', 'vtkDemandDrivenPipeline', 'vtkDepthSortPolyData', 
'vtkDicer', 'vtkDirectionEncoder', 'vtkDiscreteMarchingCubes', 
'vtkDiskSource', 'vtkEarthSource', 'vtkEdgePoints', 
'vtkElevationFilter', 'vtkEllipticalButtonSource', 'vtkEmptyCell', 
'vtkEnSight6BinaryReader', 'vtkEnSight6Reader', 
'vtkEnSightGoldBinaryReader', 'vtkEnSightGoldReader', 
'vtkEnSightMasterServerReader', 'vtkEnSightReader', 
'vtkEncodedGradientEstimator', 'vtkEncodedGradientShader', 
'vtkExecutive', 'vtkExodusModel', 'vtkExodusReader', 'vtkExplicitCell', 
'vtkExporter', 'vtkExtractCells', 'vtkExtractDataOverTime', 
'vtkExtractEdges', 'vtkExtractGeometry', 'vtkExtractGrid', 
'vtkExtractPolyDataGeometry', 'vtkExtractRectilinearGrid', 
'vtkExtractTensorComponents', 'vtkExtractUnstructuredGrid', 
'vtkExtractVOI', 'vtkExtractVectorComponents', 'vtkFacetReader', 
'vtkFacetWriter', 'vtkFeatureEdges', 'vtkFieldData', 
'vtkFieldDataToAttributeDataFilter', 
'vtkFiniteDifferenceGradientEstimator', 'vtkFixedPointRayCastImage', 
'vtkFixedPointVolumeRayCastCompositeGOHelper', 
'vtkFixedPointVolumeRayCastCompositeGOShadeHelper', 
'vtkFixedPointVolumeRayCastCompositeHelper', 
'vtkFixedPointVolumeRayCastCompositeShadeHelper', 
'vtkFixedPointVolumeRayCastHelper', 
'vtkFixedPointVolumeRayCastMIPHelper', 
'vtkFixedPointVolumeRayCastMapper', 'vtkFollower', 
'vtkFrustumCoverageCuller', 'vtkGAMBITReader', 'vtkGESignaReader', 
'vtkGaussianCubeReader', 'vtkGaussianSplatter', 'vtkGenericAdaptorCell', 
'vtkGenericAttribute', 'vtkGenericAttributeCollection', 
'vtkGenericCell', 'vtkGenericCellIterator', 'vtkGenericCellTessellator', 
'vtkGenericClip', 'vtkGenericContourFilter', 'vtkGenericCutter', 
'vtkGenericDataSet', 'vtkGenericDataSetAlgorithm', 
'vtkGenericDataSetTessellator', 'vtkGenericEdgeTable', 
'vtkGenericEnSightReader', 'vtkGenericGeometryFilter', 
'vtkGenericGlyph3DFilter', 'vtkGenericInterpolatedVelocityField', 
'vtkGenericMovieWriter', 'vtkGenericOutlineFilter', 
'vtkGenericPointIterator', 'vtkGenericProbeFilter', 
'vtkGenericRenderWindowInteractor', 'vtkGenericStreamTracer', 
'vtkGenericSubdivisionErrorMetric', 'vtkGeometricErrorMetric', 
'vtkGeometryFilter', 'vtkGlyph2D', 'vtkGlyph3D', 'vtkGlyphSource2D', 
'vtkGraphLayoutFilter', 'vtkGraphicsFactory', 
'vtkGreedyTerrainDecimation', 'vtkGridSynchronizedTemplates3D', 
'vtkGridTransform', 'vtkHedgeHog', 'vtkHexagonalPrism', 'vtkHexahedron', 
'vtkHierarchicalBoxDataSet', 'vtkHierarchicalDataExtractDataSets', 
'vtkHierarchicalDataExtractLevel', 'vtkHierarchicalDataInformation', 
'vtkHierarchicalDataIterator', 'vtkHierarchicalDataLevelFilter', 
'vtkHierarchicalDataSet', 'vtkHierarchicalDataSetAlgorithm', 
'vtkHierarchicalDataSetGeometryFilter', 'vtkHierarchicalPolyDataMapper', 
'vtkHull', 'vtkHyperStreamline', 'vtkIVExporter', 'vtkIVWriter', 
'vtkIdFilter', 'vtkImageAccumulate', 'vtkImageActor', 
'vtkImageAlgorithm', 'vtkImageAnisotropicDiffusion2D', 
'vtkImageAnisotropicDiffusion3D', 'vtkImageAppend', 
'vtkImageAppendComponents', 'vtkImageBlend', 
'vtkImageButterworthHighPass', 'vtkImageButterworthLowPass', 
'vtkImageCacheFilter', 'vtkImageCanvasSource2D', 'vtkImageCast', 
'vtkImageChangeInformation', 'vtkImageCheckerboard', 
'vtkImageCityBlockDistance', 'vtkImageClip', 'vtkImageConnector', 
'vtkImageConstantPad', 'vtkImageContinuousDilate3D', 
'vtkImageContinuousErode3D', 'vtkImageConvolve', 'vtkImageCorrelation', 
'vtkImageCursor3D', 'vtkImageData', 'vtkImageDataGeometryFilter', 
'vtkImageDataStreamer', 'vtkImageDecomposeFilter', 'vtkImageDifference', 
'vtkImageDilateErode3D', 'vtkImageDivergence', 'vtkImageDotProduct', 
'vtkImageEllipsoidSource', 'vtkImageEuclideanDistance', 
'vtkImageEuclideanToPolar', 'vtkImageExport', 
'vtkImageExtractComponents', 'vtkImageFFT', 'vtkImageFlip', 
'vtkImageFourierCenter', 'vtkImageFourierFilter', 
'vtkImageGaussianSmooth', 'vtkImageGaussianSource', 'vtkImageGradient', 
'vtkImageGradientMagnitude', 'vtkImageGridSource', 'vtkImageHSIToRGB', 
'vtkImageHSVToRGB', 'vtkImageHybridMedian2D', 'vtkImageIdealHighPass', 
'vtkImageIdealLowPass', 'vtkImageImport', 'vtkImageImportExecutive', 
'vtkImageInPlaceFilter', 'vtkImageIslandRemoval2D', 
'vtkImageIterateFilter', 'vtkImageLaplacian', 
'vtkImageLogarithmicScale', 'vtkImageLogic', 'vtkImageLuminance', 
'vtkImageMagnify', 'vtkImageMagnitude', 'vtkImageMandelbrotSource', 
'vtkImageMapToColors', 'vtkImageMapToRGBA', 
'vtkImageMapToWindowLevelColors', 'vtkImageMapper', 
'vtkImageMarchingCubes', 'vtkImageMask', 'vtkImageMaskBits', 
'vtkImageMathematics', 'vtkImageMedian3D', 'vtkImageMirrorPad', 
'vtkImageMultipleInputFilter', 'vtkImageMultipleInputOutputFilter', 
'vtkImageNoiseSource', 'vtkImageNonMaximumSuppression', 
'vtkImageNormalize', 'vtkImageOpenClose3D', 'vtkImagePadFilter', 
'vtkImagePermute', 'vtkImagePlaneWidget', 'vtkImageQuantizeRGBToIndex', 
'vtkImageRFFT', 'vtkImageRGBToHSI', 'vtkImageRGBToHSV', 
'vtkImageRange3D', 'vtkImageReader', 'vtkImageReader2', 
'vtkImageReader2Collection', 'vtkImageReader2Factory', 
'vtkImageRectilinearWipe', 'vtkImageResample', 'vtkImageReslice', 
'vtkImageScalarTypeNameMacro', 'vtkImageSeedConnectivity', 
'vtkImageSeparableConvolution', 'vtkImageShiftScale', 
'vtkImageShrink3D', 'vtkImageSinusoidSource', 'vtkImageSkeleton2D', 
'vtkImageSobel2D', 'vtkImageSobel3D', 'vtkImageSource', 
'vtkImageSpatialAlgorithm', 'vtkImageSpatialFilter', 'vtkImageStencil', 
'vtkImageStencilData', 'vtkImageStencilSource', 'vtkImageThreshold', 
'vtkImageToImageFilter', 'vtkImageToImageStencil', 
'vtkImageToPolyDataFilter', 'vtkImageToStructuredPoints', 
'vtkImageTracerWidget', 'vtkImageTranslateExtent', 
'vtkImageTwoInputFilter', 'vtkImageVariance3D', 'vtkImageViewer', 
'vtkImageViewer2', 'vtkImageWrapPad', 'vtkImageWriter', 
'vtkImagingFactory', 'vtkImplicitBoolean', 'vtkImplicitDataSet', 
'vtkImplicitFunctionToImageStencil', 'vtkImplicitModeller', 
'vtkImplicitPlaneWidget', 'vtkImplicitSelectionLoop', 'vtkImplicitSum', 
'vtkImplicitTextureCoords', 'vtkImplicitVolume', 
'vtkImplicitWindowFunction', 'vtkImporter', 'vtkInformation', 
'vtkInformationDataObjectKey', 'vtkInformationDoubleKey', 
'vtkInformationDoubleVectorKey', 'vtkInformationExecutivePortKey', 
'vtkInformationExecutivePortVectorKey', 'vtkInformationIdTypeKey', 
'vtkInformationInformationKey', 'vtkInformationInformationVectorKey', 
'vtkInformationIntegerKey', 'vtkInformationIntegerPointerKey', 
'vtkInformationIntegerVectorKey', 'vtkInformationKey', 
'vtkInformationKeyVectorKey', 'vtkInformationObjectBaseKey', 
'vtkInformationRequestKey', 'vtkInformationStringKey', 
'vtkInformationUnsignedLongKey', 'vtkInformationVector', 
'vtkInputStream', 'vtkInteractorEventRecorder', 'vtkInteractorObserver', 
'vtkInteractorStyle', 'vtkInteractorStyleFlight', 
'vtkInteractorStyleImage', 'vtkInteractorStyleJoystickActor', 
'vtkInteractorStyleJoystickCamera', 'vtkInteractorStyleRubberBandZoom', 
'vtkInteractorStyleSwitch', 'vtkInteractorStyleTerrain', 
'vtkInteractorStyleTrackball', 'vtkInteractorStyleTrackballActor', 
'vtkInteractorStyleTrackballCamera', 'vtkInteractorStyleUnicam', 
'vtkInteractorStyleUser', 'vtkInterpolateDataSetAttributes', 
'vtkInterpolatedVelocityField', 'vtkInterpolatingSubdivisionFilter', 
'vtkIterativeClosestPointTransform', 'vtkJPEGReader', 'vtkJPEGWriter', 
'vtkKdNode', 'vtkKdTree', 'vtkKochanekSpline', 'vtkLODActor', 
'vtkLODProp3D', 'vtkLabeledDataMapper', 'vtkLandmarkTransform', 
'vtkLegendBoxActor', 'vtkLight', 'vtkLightCollection', 'vtkLightKit', 
'vtkLine', 'vtkLineSource', 'vtkLineWidget', 'vtkLinearExtrusionFilter', 
'vtkLinearSubdivisionFilter', 'vtkLinkEdgels', 'vtkLocator', 
'vtkLoopSubdivisionFilter', 'vtkMCubesReader', 'vtkMCubesWriter', 
'vtkMPEG2Writer', 'vtkMapper', 'vtkMapper2D', 'vtkMapperCollection', 
'vtkMarchingContourFilter', 'vtkMarchingCubes', 'vtkMarchingSquares', 
'vtkMaskFields', 'vtkMaskPoints', 'vtkMaskPolyData', 
'vtkMassProperties', 'vtkMedicalImageProperties', 
'vtkMedicalImageReader2', 'vtkMergeCells', 'vtkMergeDataObjectFilter', 
'vtkMergeFields', 'vtkMergeFilter', 'vtkMergePoints', 'vtkMesaActor', 
'vtkMesaCamera', 'vtkMesaFreeTypeTextMapper', 'vtkMesaImageActor', 
'vtkMesaImageMapper', 'vtkMesaLight', 'vtkMesaPolyDataMapper', 
'vtkMesaPolyDataMapper2D', 'vtkMesaProperty', 
'vtkMesaRayCastImageDisplayHelper', 'vtkMesaRenderWindow', 
'vtkMesaRenderer', 'vtkMesaTexture', 'vtkMesaVolumeTextureMapper2D', 
'vtkMeshQuality', 'vtkMetaImageReader', 'vtkMetaImageWriter', 
'vtkModelMetadata', 'vtkMoleculeReaderBase', 
'vtkMultiBlockPLOT3DReader', 'vtkNonLinearCell', 'vtkOBBDicer', 
'vtkOBBTree', 'vtkOBJExporter', 'vtkOBJReader', 'vtkOOGLExporter', 
'vtkOpenGLActor', 'vtkOpenGLCamera', 'vtkOpenGLExtensionManager', 
'vtkOpenGLFreeTypeTextMapper', 'vtkOpenGLImageActor', 
'vtkOpenGLImageMapper', 'vtkOpenGLLight', 'vtkOpenGLPolyDataMapper', 
'vtkOpenGLPolyDataMapper2D', 'vtkOpenGLProperty', 
'vtkOpenGLRayCastImageDisplayHelper', 'vtkOpenGLRenderWindow', 
'vtkOpenGLRenderer', 'vtkOpenGLTexture', 
'vtkOpenGLVolumeTextureMapper2D', 'vtkOpenGLVolumeTextureMapper3D', 
'vtkOrderedTriangulator', 'vtkOrientationMarkerWidget', 
'vtkOutlineCornerFilter', 'vtkOutlineCornerSource', 'vtkOutlineFilter', 
'vtkOutlineSource', 'vtkOutputStream', 'vtkPCAAnalysisFilter', 
'vtkPDBReader', 'vtkPExodusReader', 'vtkPLOT3DReader', 'vtkPLYReader', 
'vtkPLYWriter', 'vtkPNGReader', 'vtkPNGWriter', 'vtkPNMReader', 
'vtkPNMWriter', 'vtkParallelCoordinatesActor', 
'vtkParametricFunctionSource', 'vtkParametricSpline', 
'vtkParticleReader', 'vtkPentagonalPrism', 'vtkPerlinNoise', 
'vtkPicker', 'vtkPiecewiseFunction', 'vtkPiecewiseFunctionAlgorithm', 
'vtkPiecewiseFunctionShiftScale', 'vtkPixel', 'vtkPlaneSource', 
'vtkPlaneWidget', 'vtkPlanesIntersection', 'vtkPlatonicSolidSource', 
'vtkPointData', 'vtkPointDataToCellData', 'vtkPointLoad', 
'vtkPointLocator', 'vtkPointPicker', 'vtkPointSet', 
'vtkPointSetAlgorithm', 'vtkPointSetSource', 
'vtkPointSetToPointSetFilter', 'vtkPointSource', 'vtkPointWidget', 
'vtkPointsProjectedHull', 'vtkPolyData', 'vtkPolyDataAlgorithm', 
'vtkPolyDataCollection', 'vtkPolyDataConnectivityFilter', 
'vtkPolyDataMapper', 'vtkPolyDataMapper2D', 'vtkPolyDataNormals', 
'vtkPolyDataReader', 'vtkPolyDataSource', 'vtkPolyDataSourceWidget', 
'vtkPolyDataStreamer', 'vtkPolyDataToImageStencil', 
'vtkPolyDataToPolyDataFilter', 'vtkPolyDataWriter', 'vtkPolyLine', 
'vtkPolyVertex', 'vtkPolygon', 'vtkPostScriptWriter', 'vtkProbeFilter', 
'vtkProcessObject', 'vtkProcrustesAlignmentFilter', 
'vtkProgrammableAttributeDataFilter', 'vtkProgrammableDataObjectSource', 
'vtkProgrammableFilter', 'vtkProgrammableGlyphFilter', 
'vtkProgrammableSource', 'vtkProjectedTerrainPath', 
'vtkProjectedTetrahedraMapper', 'vtkProjectedTexture', 'vtkProp3D', 
'vtkProp3DCollection', 'vtkPropAssembly', 'vtkPropPicker', 
'vtkProperty', 'vtkPyramid', 'vtkQuad', 'vtkQuadraticEdge', 
'vtkQuadraticHexahedron', 'vtkQuadraticPyramid', 'vtkQuadraticQuad', 
'vtkQuadraticTetra', 'vtkQuadraticTriangle', 'vtkQuadraticWedge', 
'vtkQuadricClustering', 'vtkQuadricDecimation', 
'vtkQuantizePolyDataPoints', 'vtkQuaternionInterpolator', 
'vtkRIBExporter', 'vtkRIBLight', 'vtkRIBProperty', 
'vtkRayCastImageDisplayHelper', 'vtkRearrangeFields', 
'vtkRectangularButtonSource', 'vtkRectilinearGrid', 
'vtkRectilinearGridAlgorithm', 'vtkRectilinearGridClip', 
'vtkRectilinearGridGeometryFilter', 'vtkRectilinearGridReader', 
'vtkRectilinearGridSource', 'vtkRectilinearGridToPolyDataFilter', 
'vtkRectilinearGridToTetrahedra', 'vtkRectilinearGridWriter', 
'vtkRectilinearSynchronizedTemplates', 'vtkRecursiveDividingCubes', 
'vtkRecursiveSphereDirectionEncoder', 'vtkReflectionFilter', 
'vtkRegularPolygonSource', 'vtkRenderLargeImage', 'vtkRenderWindow', 
'vtkRenderWindowCollection', 'vtkRenderWindowInteractor', 'vtkRenderer', 
'vtkRendererCollection', 'vtkRendererSource', 'vtkReverseSense', 
'vtkRibbonFilter', 'vtkRotationFilter', 'vtkRotationalExtrusionFilter', 
'vtkRuledSurfaceFilter', 'vtkSLCReader', 'vtkSTLReader', 'vtkSTLWriter', 
'vtkSampleFunction', 'vtkScalarBarActor', 'vtkScalarBarWidget', 
'vtkScalarTree', 'vtkScaledTextActor', 'vtkSelectPolyData', 
'vtkSelectVisiblePoints', 'vtkShepardMethod', 'vtkShrinkFilter', 
'vtkShrinkPolyData', 'vtkSimpleCellTessellator', 
'vtkSimpleElevationFilter', 'vtkSimpleImageFilterExample', 
'vtkSimpleImageToImageFilter', 'vtkSimpleScalarTree', 'vtkSliceCubes', 
'vtkSmoothErrorMetric', 'vtkSmoothPolyDataFilter', 'vtkSortDataArray', 
'vtkSource', 'vtkSpatialRepresentationFilter', 'vtkSphere', 
'vtkSpherePuzzle', 'vtkSpherePuzzleArrows', 'vtkSphereSource', 
'vtkSphereWidget', 'vtkSphericalDirectionEncoder', 'vtkSpline', 
'vtkSplineFilter', 'vtkSplineWidget', 'vtkSplitField', 'vtkStreamLine', 
'vtkStreamPoints', 'vtkStreamTracer', 'vtkStreamer', 
'vtkStreamingDemandDrivenPipeline', 'vtkStripper', 'vtkStructuredGrid', 
'vtkStructuredGridAlgorithm', 'vtkStructuredGridClip', 
'vtkStructuredGridGeometryFilter', 'vtkStructuredGridOutlineFilter', 
'vtkStructuredGridReader', 'vtkStructuredGridSource', 
'vtkStructuredGridToPolyDataFilter', 
'vtkStructuredGridToStructuredGridFilter', 'vtkStructuredGridWriter', 
'vtkStructuredPoints', 'vtkStructuredPointsCollection', 
'vtkStructuredPointsGeometryFilter', 'vtkStructuredPointsReader', 
'vtkStructuredPointsSource', 'vtkStructuredPointsToPolyDataFilter', 
'vtkStructuredPointsToStructuredPointsFilter', 
'vtkStructuredPointsToUnstructuredGridFilter', 
'vtkStructuredPointsWriter', 'vtkSubPixelPositionEdgels', 
'vtkSubdivideTetra', 'vtkSuperquadric', 'vtkSuperquadricSource', 
'vtkSurfaceReconstructionFilter', 'vtkSynchronizedTemplates2D', 
'vtkSynchronizedTemplates3D', 'vtkSynchronizedTemplatesCutter3D', 
'vtkTIFFReader', 'vtkTIFFWriter', 'vtkTensorGlyph', 'vtkTesting', 
'vtkTetra', 'vtkTextActor', 'vtkTextActor3D', 'vtkTextMapper', 
'vtkTextProperty', 'vtkTextSource', 'vtkTexture', 
'vtkTextureMapToCylinder', 'vtkTextureMapToPlane', 
'vtkTextureMapToSphere', 'vtkTexturedSphereSource', 
'vtkThinPlateSplineTransform', 'vtkThreadedImageAlgorithm', 
'vtkThreshold', 'vtkThresholdPoints', 'vtkThresholdTextureCoords', 
'vtkTransformFilter', 'vtkTransformInterpolator', 
'vtkTransformPolyDataFilter', 'vtkTransformTextureCoords', 
'vtkTransformToGrid', 'vtkTriangle', 'vtkTriangleFilter', 
'vtkTriangleStrip', 'vtkTriangularTCoords', 'vtkTriangularTexture', 
'vtkTrivialProducer', 'vtkTubeFilter', 'vtkTupleInterpolator', 
'vtkUGFacetReader', 'vtkUniformGrid', 'vtkUnstructuredGrid', 
'vtkUnstructuredGridAlgorithm', 
'vtkUnstructuredGridBunykRayCastFunction', 
'vtkUnstructuredGridHomogeneousRayIntegrator', 
'vtkUnstructuredGridLinearRayIntegrator', 
'vtkUnstructuredGridPartialPreIntegration', 
'vtkUnstructuredGridPreIntegration', 'vtkUnstructuredGridReader', 
'vtkUnstructuredGridSource', 'vtkUnstructuredGridToPolyDataFilter', 
'vtkUnstructuredGridToUnstructuredGridFilter', 
'vtkUnstructuredGridVolumeMapper', 
'vtkUnstructuredGridVolumeRayCastFunction', 
'vtkUnstructuredGridVolumeRayCastIterator', 
'vtkUnstructuredGridVolumeRayCastMapper', 
'vtkUnstructuredGridVolumeRayIntegrator', 
'vtkUnstructuredGridVolumeZSweepMapper', 'vtkUnstructuredGridWriter', 
'vtkVRMLExporter', 'vtkVRMLImporter', 'vtkVectorDot', 'vtkVectorNorm', 
'vtkVectorText', 'vtkVertex', 'vtkVideoSource', 
'vtkViewDependentErrorMetric', 'vtkViewport', 'vtkVisibilitySort', 
'vtkVolume', 'vtkVolume16Reader', 'vtkVolumeCollection', 
'vtkVolumeMapper', 'vtkVolumeProperty', 
'vtkVolumeRayCastCompositeFunction', 'vtkVolumeRayCastFunction', 
'vtkVolumeRayCastIsosurfaceFunction', 'vtkVolumeRayCastMIPFunction', 
'vtkVolumeRayCastMapper', 'vtkVolumeReader', 
'vtkVolumeRenderingFactory', 'vtkVolumeTextureMapper', 
'vtkVolumeTextureMapper2D', 'vtkVolumeTextureMapper3D', 'vtkVoxel', 
'vtkVoxelContoursToSurfaceFilter', 'vtkVoxelModeller', 'vtkWarpLens', 
'vtkWarpScalar', 'vtkWarpTo', 'vtkWarpVector', 'vtkWedge', 
'vtkWeightedTransformFilter', 'vtkWindowToImageFilter', 
'vtkWindowedSincPolyDataFilter', 'vtkWorldPointPicker', 'vtkWriter', 
'vtkXMLDataElement', 'vtkXMLDataParser', 'vtkXMLDataReader', 
'vtkXMLDataSetWriter', 'vtkXMLFileReadTester', 'vtkXMLImageDataReader', 
'vtkXMLImageDataWriter', 'vtkXMLPDataReader', 'vtkXMLPDataSetWriter', 
'vtkXMLPDataWriter', 'vtkXMLPImageDataReader', 'vtkXMLPImageDataWriter', 
'vtkXMLPPolyDataReader', 'vtkXMLPPolyDataWriter', 
'vtkXMLPRectilinearGridReader', 'vtkXMLPRectilinearGridWriter', 
'vtkXMLPStructuredDataReader', 'vtkXMLPStructuredDataWriter', 
'vtkXMLPStructuredGridReader', 'vtkXMLPStructuredGridWriter', 
'vtkXMLPUnstructuredDataReader', 'vtkXMLPUnstructuredDataWriter', 
'vtkXMLPUnstructuredGridReader', 'vtkXMLPUnstructuredGridWriter', 
'vtkXMLParser', 'vtkXMLPolyDataReader', 'vtkXMLPolyDataWriter', 
'vtkXMLReader', 'vtkXMLRectilinearGridReader', 
'vtkXMLRectilinearGridWriter', 'vtkXMLStructuredDataReader', 
'vtkXMLStructuredDataWriter', 'vtkXMLStructuredGridReader', 
'vtkXMLStructuredGridWriter', 'vtkXMLUnstructuredDataReader', 
'vtkXMLUnstructuredDataWriter', 'vtkXMLUnstructuredGridReader', 
'vtkXMLUnstructuredGridWriter', 'vtkXMLUtilities', 'vtkXMLWriter', 
'vtkXMesaRenderWindow', 'vtkXOpenGLRenderWindow', 
'vtkXRenderWindowInteractor', 'vtkXYPlotActor', 'vtkXYPlotWidget', 
'vtkXYZMolReader', 'vtkZLibDataCompressor', 'widgets']
 >>>

so I have plenty around, but not vtkVersion..... This is so weird.....
Thanks for helping,
Johann

Charl P. Botha wrote:

> On 5/3/06, Johann Cohen Tanugi <cohen at slac.stanford.edu> wrote:
>
>> please, can somebody answer my email, or at least provide me with some
>
>
> With a stock VTK 5.0.0 build on Windows on Linux, I can do:
>
>>>> import vtk
>>>> vtk.vtkVersion.GetVTKVersion()
>>>
> '5.0.0'
>
> How far do you get with this?  What does 'print vtk' yield at a python 
> prompt?




More information about the vtkusers mailing list