ProxyXMLName

From KitwarePublic
Revision as of 09:34, 16 January 2008 by Ricou (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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