ProxyXMLName: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(code the get xml_groups and xml_names by section and itemize) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
Note that the definition iterator returns a dict with two keys: group and key. The value of group is the definitions group name while that of key is the definitions proxy type name. | Note that the definition iterator returns a dict with two keys: group and key. The value of group is the definitions group name while that of key is the definitions proxy type name. | ||
This code | This code prints the next section: | ||
res = set() | res = set() | ||
Line 27: | Line 27: | ||
=xml_groups and xml_names= | =xml_groups and xml_names= | ||
(from Paraview 2. | (from Paraview 3.2.1) | ||
===3d_widgets=== | ===3d_widgets=== | ||
* 3DWidgetsBase | * 3DWidgetsBase | ||
* | * AbstractWidget | ||
* HandleWidget | * HandleWidget | ||
* ImplicitPlaneWidget2 | * ImplicitPlaneWidget2 | ||
* LineWidget2 | * LineWidget2 | ||
* SliderWidget | * SliderWidget | ||
* TextWidget | * TextWidget | ||
===PropPickers=== | ===PropPickers=== | ||
Line 57: | Line 47: | ||
* AnimationCue | * AnimationCue | ||
* AnimationCueBase | |||
* AnimationScene | * AnimationScene | ||
* CameraAnimationCue | |||
* KeyFrameAnimationCue | |||
* TimeAnimationCue | |||
===animation_keyframes=== | ===animation_keyframes=== | ||
Line 63: | Line 57: | ||
* BooleanKeyFrame | * BooleanKeyFrame | ||
* CameraKeyFrame | * CameraKeyFrame | ||
* CompositeKeyFrame | |||
* ExponentialKeyFrame | * ExponentialKeyFrame | ||
* KeyFrame | * KeyFrame | ||
* RampKeyFrame | * RampKeyFrame | ||
* SinusoidKeyFrame | * SinusoidKeyFrame | ||
===animation_manipulators=== | ===animation_manipulators=== | ||
Line 74: | Line 68: | ||
* KeyFrameAnimationCueManipulator | * KeyFrameAnimationCueManipulator | ||
* LinearAnimationCueManipulator | * LinearAnimationCueManipulator | ||
* SimpleAnimationCueManipulator | |||
===animation_players=== | |||
* AnimationPlayer | |||
* AnimationPlayerBase | |||
* RealtimeAnimationPlayer | |||
* SequenceAnimationPlayer | |||
* TimestepsAnimationPlayer | |||
===annotations=== | ===annotations=== | ||
Line 79: | Line 82: | ||
* CubeAxesActor2D | * CubeAxesActor2D | ||
* ScalarBarActor | * ScalarBarActor | ||
=== | ===camera=== | ||
* | * Camera | ||
=== | ===cameramanipulators=== | ||
* | * CameraManipulator | ||
* JoystickFlyIn | |||
* JoystickFlyOut | |||
* TrackballMoveActor | |||
* TrackballPan1 | |||
* TrackballPan2 | |||
* TrackballRoll | |||
* TrackballRotate | |||
* TrackballZoom | |||
===composite_managers=== | ===composite_managers=== | ||
* CaveRenderManager | * CaveRenderManager | ||
* DesktopDeliveryClient | * DesktopDeliveryClient | ||
* DesktopDeliveryServer | * DesktopDeliveryServer | ||
* IceTRenderManager | * IceTRenderManager | ||
* MPICompositeManager | * MPICompositeManager | ||
===compositers=== | ===compositers=== | ||
Line 112: | Line 119: | ||
* DoubleArray | * DoubleArray | ||
===extended_sources=== | ===extended_sources=== | ||
* FixedRadiusPointSource | |||
* HighResLineSource | |||
* LineSource | * LineSource | ||
* PointSource | * PointSource | ||
Line 151: | Line 134: | ||
* AllToN | * AllToN | ||
* Append | * Append | ||
* AppendAttributes | * AppendAttributes | ||
* AppendPolyData | * AppendPolyData | ||
* | * ArbitrarySourceGlyph | ||
* ArbitrarySourceStreamTracer | |||
* Balance | * Balance | ||
* BrownianPoints | * BrownianPoints | ||
Line 162: | Line 145: | ||
* CellCenters | * CellCenters | ||
* CellDataToPointData | * CellDataToPointData | ||
* CleanPolyData | * CleanPolyData | ||
* CleanUnstructuredGrid | * CleanUnstructuredGrid | ||
Line 169: | Line 150: | ||
* Clip | * Clip | ||
* Contour | * Contour | ||
* ConvertSelection | |||
* Curvatures | * Curvatures | ||
* Cut | * Cut | ||
* D3 | * D3 | ||
* DataSetSurfaceFilter | * DataSetSurfaceFilter | ||
* DataSetTriangleFilter | * DataSetTriangleFilter | ||
Line 178: | Line 159: | ||
* Delaunay2D | * Delaunay2D | ||
* ElevationFilter | * ElevationFilter | ||
* ExtractCellsOverTime | |||
* ExtractDataSets | * ExtractDataSets | ||
* ExtractEdges | * ExtractEdges | ||
* ExtractFieldDataOverTime | |||
* ExtractGeometry | |||
* ExtractGrid | * ExtractGrid | ||
* ExtractHistogram | * ExtractHistogram | ||
* ExtractLevel | * ExtractLevel | ||
* ExtractPointsOverTime | |||
* ExtractSelection | |||
* ExtractSelections | |||
* ExtractThresholds | |||
* FeatureEdges | * FeatureEdges | ||
* GenericClip | * GenericClip | ||
Line 207: | Line 195: | ||
* Median | * Median | ||
* MeshQuality | * MeshQuality | ||
* MinMax | |||
* OctreeDepthLimit | * OctreeDepthLimit | ||
* OctreeDepthScalars | * OctreeDepthScalars | ||
Line 213: | Line 202: | ||
* OutlineFilter | * OutlineFilter | ||
* PVConnectivityFilter | * PVConnectivityFilter | ||
* | * ParticleTracer | ||
* PointDataToCellData | * PointDataToCellData | ||
* PolyDataNormals | * PolyDataNormals | ||
* PolyLineToRectilinearGrid | * PolyLineToRectilinearGrid | ||
* Probe | * Probe | ||
* | * ProbeLine | ||
* ProbeLocationOverTime | |||
* ProbePoint | |||
* ProcessIdScalars | * ProcessIdScalars | ||
* | * Programmable Filter | ||
* ProgrammableFilter | |||
* QuadricClustering | * QuadricClustering | ||
* RectilinearGridGeometryFilter | * RectilinearGridGeometryFilter | ||
Line 227: | Line 219: | ||
* RibbonFilter | * RibbonFilter | ||
* RotationalExtrusionFilter | * RotationalExtrusionFilter | ||
* SelectThrough | |||
* ShrinkFilter | * ShrinkFilter | ||
* SmoothPolyDataFilter | * SmoothPolyDataFilter | ||
* StreamTracer | * StreamTracer | ||
Line 236: | Line 228: | ||
* SurfaceVectors | * SurfaceVectors | ||
* TemporalCache | * TemporalCache | ||
* | * TemporalInterpolator | ||
* | * TemporalShiftScale | ||
* TemporalSnapToTimeStep | |||
* TessellatorFilter | * TessellatorFilter | ||
* TextureMapToCylinder | * TextureMapToCylinder | ||
* TextureMapToPlane | * TextureMapToPlane | ||
* TextureMapToSphere | * TextureMapToSphere | ||
* Threshold | * Threshold | ||
* TimeToTextConvertor | |||
* TransformFilter | * TransformFilter | ||
* TriangleFilter | * TriangleFilter | ||
Line 249: | Line 242: | ||
* UnstructuredGradient | * UnstructuredGradient | ||
* UpdateSuppressor | * UpdateSuppressor | ||
* UpdateSuppressor2 | |||
* WarpScalar | * WarpScalar | ||
* WarpVector | * WarpVector | ||
Line 255: | Line 249: | ||
* Box | * Box | ||
* None | |||
* Plane | * Plane | ||
* Planes | * Planes | ||
* Scalar | |||
* Sphere | * Sphere | ||
Line 262: | Line 258: | ||
* GenericRenderWindowInteractor | * GenericRenderWindowInteractor | ||
===interactorstyles=== | |||
* InteractorStyle | |||
===internal_sources=== | |||
* legacyreader | |||
===lights=== | ===lights=== | ||
Line 293: | Line 297: | ||
===misc=== | ===misc=== | ||
* EnvironmentInformationHelper | |||
* ExodusIIReaderHelper | |||
* ExodusReaderHelper | |||
* FileInformationHelper | * FileInformationHelper | ||
* KdTreeManager | |||
* PluginLoader | |||
* TimeKeeper | |||
* XdmfReaderHelper | |||
===piecewise_functions=== | ===piecewise_functions=== | ||
* PiecewiseFunction | * PiecewiseFunction | ||
===points=== | ===points=== | ||
Line 327: | Line 333: | ||
* TextActor | * TextActor | ||
* TextRepresentation | * TextRepresentation | ||
* WidgetRepresentation | |||
===renderers=== | ===renderers=== | ||
* IceTRenderer | |||
* Renderer | * Renderer | ||
Line 336: | Line 344: | ||
* LightKit | * LightKit | ||
=== | ===renderwindow=== | ||
* | * RenderWindow | ||
=== | ===representations=== | ||
* | * AxesRepresentation | ||
* BarChartRepresentation | |||
* BlockDeliveryRepresentation | |||
* ClientDeliveryRepresentation | |||
* ClientDeliveryRepresentationBase | |||
* DataLabelRepresentation | |||
* GeometryRepresentation | |||
* HandleWidgetRepresentation | |||
* ImplicitPlaneWidgetRepresentation | |||
* LineSourceWidgetRepresentation | |||
* LineWidgetRepresentation | |||
* OutlineRepresentation | |||
* PVRepresentationBase | |||
* PointSourceWidgetRepresentation | |||
* ScalarBarWidgetRepresentation | |||
* SelectionBlockDeliveryRepresentation | |||
* SelectionRepresentation | |||
* SliderWidgetRepresentation | |||
* SpreadSheetRepresentation | |||
* SurfaceRepresentation | |||
* TextSourceRepresentation | |||
* TextWidgetRepresentation | |||
* UniformGridRepresentation | |||
* UniformGridVolumeRepresentation | |||
* UnstructuredGridRepresentation | |||
* UnstructuredGridVolumeRepresentation | |||
* XYPlotRepresentation | |||
===selection_helpers=== | ===selection_helpers=== | ||
* Selection | * Selection | ||
===sources=== | ===sources=== | ||
Line 365: | Line 387: | ||
* ArrowSource | * ArrowSource | ||
* Axes | * Axes | ||
* CSVReader | |||
* ConeSource | * ConeSource | ||
* CubeSource | * CubeSource | ||
* CylinderSource | * CylinderSource | ||
* DEMReader | * DEMReader | ||
* ExodusIIReader | |||
* ExodusReader | * ExodusReader | ||
* FLUENTReader | * FLUENTReader | ||
* Facet Reader | * Facet Reader | ||
* GlyphSource2D | * GlyphSource2D | ||
* HierarchicalFractal | * HierarchicalFractal | ||
* ImageMandelbrotSource | * ImageMandelbrotSource | ||
* ImageReader | * ImageReader | ||
* LSDynaReader | * LSDynaReader | ||
* LegacyVTKFileReader | |||
* LineSource | * LineSource | ||
* MFIXReader | * MFIXReader | ||
Line 391: | Line 415: | ||
* PlaneSource | * PlaneSource | ||
* PointSource | * PointSource | ||
* ProgrammableSource | |||
* RTAnalyticSource | * RTAnalyticSource | ||
* RTXMLPolyDataReader | * RTXMLPolyDataReader | ||
* SESAMEReader | * SESAMEReader | ||
* SelectionLink | |||
* SelectionSource | |||
* SphereSource | * SphereSource | ||
* SuperquadricSource | * SuperquadricSource | ||
* Test3DWidget | * Test3DWidget | ||
* TextSource | * TextSource | ||
* TimeSource | |||
* TimeToTextConvertorSource | |||
* VectorText | * VectorText | ||
* XMLHierarchicalBoxDataReader | * XMLHierarchicalBoxDataReader | ||
Line 419: | Line 447: | ||
* ensightMS | * ensightMS | ||
* gaussiancubereader | * gaussiancubereader | ||
* pdbreader | * pdbreader | ||
* plyreader | * plyreader | ||
Line 428: | Line 455: | ||
* vrmlreader | * vrmlreader | ||
* xyzreader | * xyzreader | ||
===strategies=== | |||
* BlockDeliveryStrategy | |||
* ClientDeliveryStrategy | |||
* PolyDataParallelStrategy | |||
* PolyDataStrategy | |||
* UniformGridParallelStrategy | |||
* UnstructuredGridParallelStrategy | |||
* UnstructuredGridStrategy | |||
===textures=== | ===textures=== | ||
Line 448: | Line 485: | ||
===views=== | ===views=== | ||
* | * BarChartView | ||
* ClientServerRenderView | |||
* ComparativeClientServerRenderView | |||
* ComparativeIceTDesktopRenderView | |||
* ComparativeIceTMultiDisplayRenderView | |||
* ComparativeRenderView | |||
* ComparativeViewBase | |||
* IceTCompositeView | |||
* IceTDesktopRenderView | |||
* IceTMultiDisplayRenderView | |||
* RenderView | |||
* RenderViewBase | |||
* SpreadSheetView | |||
* ViewBase | |||
* XYPlotView | |||
===writers=== | ===writers=== | ||
* AnimationSceneImageWriter | |||
* CSVWriter | |||
* DataSetWriter | * DataSetWriter | ||
* DataWriterBase | * DataWriterBase |
Latest revision as of 09:34, 16 January 2008
How to know the xml_group and xml_name known to the proxy manager
To iterate over all proxy definitions known to the proxy manager, one can use the definition_iter() method. eg. to iterate over all know types of filters:
for definition in paraview.pyProxyManager().definition_iter(): print "%s : %s" % (definition["group"], definition["key"])
To have xml_names of a xml_group, specify the group in definition_iter()
for definition in paraview.pyProxyManager().definition_iter("filters"): print "%s : %s" % (definition["group"], definition["key"])
Note that the definition iterator returns a dict with two keys: group and key. The value of group is the definitions group name while that of key is the definitions proxy type name.
This code prints the next section:
res = set() for definition in paraview.pyProxyManager().definition_iter(): res = res.union([definition["group"]]) groups=list(res) groups.sort() for group in groups: print "\n===%s===\n" % group for definition in paraview.pyProxyManager().definition_iter(group): print "* %s" % definition["key"]
xml_groups and xml_names
(from Paraview 3.2.1)
3d_widgets
- 3DWidgetsBase
- AbstractWidget
- HandleWidget
- ImplicitPlaneWidget2
- LineWidget2
- SliderWidget
- TextWidget
PropPickers
- AreaPicker
- PVVisibleCellSelector
animation
- AnimationCue
- AnimationCueBase
- AnimationScene
- CameraAnimationCue
- KeyFrameAnimationCue
- TimeAnimationCue
animation_keyframes
- BooleanKeyFrame
- CameraKeyFrame
- CompositeKeyFrame
- ExponentialKeyFrame
- KeyFrame
- RampKeyFrame
- SinusoidKeyFrame
animation_manipulators
- CameraManipulator
- KeyFrameAnimationCueManipulator
- LinearAnimationCueManipulator
- SimpleAnimationCueManipulator
animation_players
- AnimationPlayer
- AnimationPlayerBase
- RealtimeAnimationPlayer
- SequenceAnimationPlayer
- TimestepsAnimationPlayer
annotations
- CubeAxesActor2D
- ScalarBarActor
camera
- Camera
cameramanipulators
- CameraManipulator
- JoystickFlyIn
- JoystickFlyOut
- TrackballMoveActor
- TrackballPan1
- TrackballPan2
- TrackballRoll
- TrackballRotate
- TrackballZoom
composite_managers
- CaveRenderManager
- DesktopDeliveryClient
- DesktopDeliveryServer
- IceTRenderManager
- MPICompositeManager
compositers
- CompressCompositer
- TreeCompositer
connection_cleaners
- AnimationPlayer
data_arrays
- DoubleArray
extended_sources
- FixedRadiusPointSource
- HighResLineSource
- LineSource
- PointSource
file_listing
- ServerFileListing
filters
- AllToN
- Append
- AppendAttributes
- AppendPolyData
- ArbitrarySourceGlyph
- ArbitrarySourceStreamTracer
- Balance
- BrownianPoints
- CTHPart
- Calculator
- CellCenters
- CellDataToPointData
- CleanPolyData
- CleanUnstructuredGrid
- ClientServerMoveData
- Clip
- Contour
- ConvertSelection
- Curvatures
- Cut
- D3
- DataSetSurfaceFilter
- DataSetTriangleFilter
- DecimatePro
- Delaunay2D
- ElevationFilter
- ExtractCellsOverTime
- ExtractDataSets
- ExtractEdges
- ExtractFieldDataOverTime
- ExtractGeometry
- ExtractGrid
- ExtractHistogram
- ExtractLevel
- ExtractPointsOverTime
- ExtractSelection
- ExtractSelections
- ExtractThresholds
- FeatureEdges
- GenericClip
- GenericContour
- GenericCut
- GenericGeometryFilter
- GenericOutlineFilter
- GenericStreamTracer
- GenericTessellator
- GeometryFilter
- Glyph
- Gradient
- GradientMagnitude
- GroupDataSets
- GroupIdScalars
- ImageClip
- ImageShrink
- IntegrateAttributes
- IntegrateFlowThroughSurface
- LinearExtrusionFilter
- LoopSubdivisionFilter
- MPIMoveData
- MaskPoints
- Median
- MeshQuality
- MinMax
- OctreeDepthLimit
- OctreeDepthScalars
- OrderedCompositeDistributor
- OutlineCornerFilter
- OutlineFilter
- PVConnectivityFilter
- ParticleTracer
- PointDataToCellData
- PolyDataNormals
- PolyLineToRectilinearGrid
- Probe
- ProbeLine
- ProbeLocationOverTime
- ProbePoint
- ProcessIdScalars
- Programmable Filter
- ProgrammableFilter
- QuadricClustering
- RectilinearGridGeometryFilter
- ReductionFilter
- ReflectionFilter
- RibbonFilter
- RotationalExtrusionFilter
- SelectThrough
- ShrinkFilter
- SmoothPolyDataFilter
- StreamTracer
- Stripper
- StructuredGridOutlineFilter
- Subdivide
- SurfaceVectors
- TemporalCache
- TemporalInterpolator
- TemporalShiftScale
- TemporalSnapToTimeStep
- TessellatorFilter
- TextureMapToCylinder
- TextureMapToPlane
- TextureMapToSphere
- Threshold
- TimeToTextConvertor
- TransformFilter
- TriangleFilter
- TubeFilter
- UnstructuredGradient
- UpdateSuppressor
- UpdateSuppressor2
- WarpScalar
- WarpVector
implicit_functions
- Box
- None
- Plane
- Planes
- Scalar
- Sphere
interactors
- GenericRenderWindowInteractor
interactorstyles
- InteractorStyle
internal_sources
- legacyreader
lights
- Light
locators
- PKdTree
lookup_tables
- LookupTable
- PVLookupTable
mappers
- DummyVolumeMapper
- FixedPointVolumeRayCastMapper
- HAVSVolumeMapper
- LabeledDataMapper
- PolyDataMapper
- ProjectedTetrahedraMapper
- UnstructuredGridVolumeRayCastMapper
- UnstructuredGridVolumeZSweepMapper
matrices
- Matrix4x4
misc
- EnvironmentInformationHelper
- ExodusIIReaderHelper
- ExodusReaderHelper
- FileInformationHelper
- KdTreeManager
- PluginLoader
- TimeKeeper
- XdmfReaderHelper
piecewise_functions
- PiecewiseFunction
points
- Points
properties
- Property
- Property2D
- TextProperty
- VolumeProperty
props
- Actor
- Actor2D
- HandleRepresentation
- ImplicitPlaneRepresentation
- LODActor
- LODVolume
- LineRepresentation
- SliderRepresentation3D
- TextActor
- TextRepresentation
- WidgetRepresentation
renderers
- IceTRenderer
- Renderer
rendering
- LightKit
renderwindow
- RenderWindow
representations
- AxesRepresentation
- BarChartRepresentation
- BlockDeliveryRepresentation
- ClientDeliveryRepresentation
- ClientDeliveryRepresentationBase
- DataLabelRepresentation
- GeometryRepresentation
- HandleWidgetRepresentation
- ImplicitPlaneWidgetRepresentation
- LineSourceWidgetRepresentation
- LineWidgetRepresentation
- OutlineRepresentation
- PVRepresentationBase
- PointSourceWidgetRepresentation
- ScalarBarWidgetRepresentation
- SelectionBlockDeliveryRepresentation
- SelectionRepresentation
- SliderWidgetRepresentation
- SpreadSheetRepresentation
- SurfaceRepresentation
- TextSourceRepresentation
- TextWidgetRepresentation
- UniformGridRepresentation
- UniformGridVolumeRepresentation
- UnstructuredGridRepresentation
- UnstructuredGridVolumeRepresentation
- XYPlotRepresentation
selection_helpers
- Selection
sources
- AVSucdReader
- ArrowSource
- Axes
- CSVReader
- ConeSource
- CubeSource
- CylinderSource
- DEMReader
- ExodusIIReader
- ExodusReader
- FLUENTReader
- Facet Reader
- GlyphSource2D
- HierarchicalFractal
- ImageMandelbrotSource
- ImageReader
- LSDynaReader
- LegacyVTKFileReader
- LineSource
- MFIXReader
- Meta Image Reader
- NetworkImageSource
- OctreeFractal
- OpenFOAMReader
- OutlineSource
- P3DReader
- PNGReader
- PVDReader
- PhastaReader
- PlaneSource
- PointSource
- ProgrammableSource
- RTAnalyticSource
- RTXMLPolyDataReader
- SESAMEReader
- SelectionLink
- SelectionSource
- SphereSource
- SuperquadricSource
- Test3DWidget
- TextSource
- TimeSource
- TimeToTextConvertorSource
- VectorText
- XMLHierarchicalBoxDataReader
- XMLHierarchicalDataReader
- XMLImageDataReader
- XMLMultiBlockDataReader
- XMLMultiGroupDataReader
- XMLPImageDataReader
- XMLPPolyDataReader
- XMLPRectilinearGridReader
- XMLPStructuredGridReader
- XMLPUnstructuredGridReader
- XMLPolyDataReader
- XMLRectilinearGridReader
- XMLStructuredGridReader
- XMLUnstructuredGridReader
- XdmfReader
- byureader
- ensight
- ensightMS
- gaussiancubereader
- pdbreader
- plyreader
- popreader
- pvtkfile
- spcthreader
- stlreader
- vrmlreader
- xyzreader
strategies
- BlockDeliveryStrategy
- ClientDeliveryStrategy
- PolyDataParallelStrategy
- PolyDataStrategy
- UniformGridParallelStrategy
- UnstructuredGridParallelStrategy
- UnstructuredGridStrategy
textures
- Texture
transfer_functions
- ColorTransferFunction
transforms
- Transform
- Transform2
ugrid_raycast_functions
- BunykRayCastFunction
views
- BarChartView
- ClientServerRenderView
- ComparativeClientServerRenderView
- ComparativeIceTDesktopRenderView
- ComparativeIceTMultiDisplayRenderView
- ComparativeRenderView
- ComparativeViewBase
- IceTCompositeView
- IceTDesktopRenderView
- IceTMultiDisplayRenderView
- RenderView
- RenderViewBase
- SpreadSheetView
- ViewBase
- XYPlotView
writers
- AnimationSceneImageWriter
- CSVWriter
- DataSetWriter
- DataWriterBase
- EnSightWriter
- ExodusIIWriter
- MetaImageWriter
- PLYWriter
- PNGWriter
- ParallelWriterBase
- ParallelXMLWriterBase
- SummaryHelper
- XMLImageDataWriter
- XMLMultiGroupDataWriter
- XMLPImageDataWriter
- XMLPMultiGroupDataWriter
- XMLPPolyDataWriter
- XMLPRectilinearGridWriter
- XMLPStructuredGridWriter
- XMLPUnstructuredGridWriter
- XMLPVAnimationWriter
- XMLPVDWriter
- XMLPolyDataWriter
- XMLRectilinearGridWriter
- XMLStructuredGridWriter
- XMLUnstructuredGridWriter
- XMLWriterBase
- XdmfWriter