ProxyXMLName: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(New page: = 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 ite...)
 
(code the get xml_groups and xml_names by section and itemize)
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 print 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=
=xml_groups and xml_names=

Revision as of 14:44, 17 April 2007

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 print 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 2.9.7)

3d_widgets

  • 3DWidgetsBase
  • BoxWidgetProxy
  • HandleWidget
  • ImplicitPlaneWidget2
  • ImplicitPlaneWidgetProxy
  • LineWidget2
  • LineWidgetProxy
  • PointWidgetProxy
  • SliderWidget
  • SphereWidgetProxy
  • TextWidget

ComparativeVisHelpers

  • ComparativeVis
  • GeometryCache
  • MultiActorHelper

PropPickers

  • AreaPicker
  • PVVisibleCellSelector

animation

  • AnimationCue
  • AnimationScene

animation_keyframes

  • BooleanKeyFrame
  • CameraKeyFrame
  • ExponentialKeyFrame
  • KeyFrame
  • RampKeyFrame
  • SinusoidKeyFrame
  • TimestepKeyFrame

animation_manipulators

  • CameraManipulator
  • KeyFrameAnimationCueManipulator
  • LinearAnimationCueManipulator

annotations

  • CubeAxesActor2D
  • ScalarBarActor
  • XYPlotActor

axes

  • Axes

camera

  • Camera

composite_managers

  • CaveRenderManager
  • ClientCompositeManager
  • DesktopDeliveryClient
  • DesktopDeliveryServer
  • IceTRenderManager
  • MPICompositeManager
  • MultiDisplayManager
  • TreeComposite

compositers

  • CompressCompositer
  • TreeCompositer

connection_cleaners

  • AnimationPlayer

data_arrays

  • DoubleArray

displays

  • ClientSideData
  • CompositeDisplay
  • CubeAxesDisplay
  • DataObjectDisplay
  • GenericViewDisplay
  • HandleWidgetDisplay
  • HistogramDisplay
  • IceTMultiDisplay
  • ImplicitPlaneWidgetDisplay
  • LODDisplay
  • LabelDisplay
  • LineSourceWidgetDisplay
  • LineWidgetDisplay
  • MultiDisplay
  • PointLabelDisplay
  • PointSourceWidgetDisplay
  • ScalarBarWidget
  • SliderWidgetDisplay
  • TableDisplay
  • TemporalXYPlotDisplay
  • TextWidgetDisplay
  • XYPlotDisplay
  • XYPlotDisplay2

extended_sources

  • LineSource
  • PointSource

file_listing

  • ServerFileListing

filters

  • AllToN
  • AnimateWarp
  • Append
  • AppendAttributes
  • AppendPolyData
  • AttributeEditor
  • Balance
  • BrownianPoints
  • CTHPart
  • Calculator
  • CellCenters
  • CellDataToPointData
  • CellSelect
  • CellSelect2
  • CleanPolyData
  • CleanUnstructuredGrid
  • ClientServerMoveData
  • Clip
  • Contour
  • Curvatures
  • Cut
  • D3
  • DataAnalysis
  • DataSetSurfaceFilter
  • DataSetTriangleFilter
  • DecimatePro
  • Delaunay2D
  • ElevationFilter
  • ExtractDataSets
  • ExtractEdges
  • ExtractGrid
  • ExtractHistogram
  • ExtractLevel
  • FeatureEdges
  • GenericClip
  • GenericContour
  • GenericCut
  • GenericGeometryFilter
  • GenericOutlineFilter
  • GenericStreamTracer
  • GenericTessellator
  • GeometryFilter
  • Glyph
  • Gradient
  • GradientMagnitude
  • GroupDataSets
  • GroupIdScalars
  • ImageClip
  • ImageShrink
  • IntegrateAttributes
  • IntegrateFlowThroughSurface
  • LinearExtrusionFilter
  • LoopSubdivisionFilter
  • MPIMoveData
  • MaskPoints
  • Median
  • MeshQuality
  • OctreeDepthLimit
  • OctreeDepthScalars
  • OrderedCompositeDistributor
  • OutlineCornerFilter
  • OutlineFilter
  • PVConnectivityFilter
  • Pick
  • PointDataToCellData
  • PolyDataNormals
  • PolyLineToRectilinearGrid
  • Probe
  • Probe2
  • ProcessIdScalars
  • PythonScript
  • QuadricClustering
  • RectilinearGridGeometryFilter
  • ReductionFilter
  • ReflectionFilter
  • RibbonFilter
  • RotationalExtrusionFilter
  • ShrinkFilter
  • ShrunkContours
  • SmoothPolyDataFilter
  • StreamTracer
  • Stripper
  • StructuredGridOutlineFilter
  • Subdivide
  • SurfaceVectors
  • TemporalCache
  • TemporalPick
  • TemporalProbe
  • TessellatorFilter
  • TestCut
  • TextureMapToCylinder
  • TextureMapToPlane
  • TextureMapToSphere
  • Threshold
  • TransformFilter
  • TriangleFilter
  • TubeFilter
  • UnstructuredGradient
  • UpdateSuppressor
  • WarpScalar
  • WarpVector

implicit_functions

  • Box
  • Plane
  • Planes
  • Sphere

interactors

  • GenericRenderWindowInteractor

lights

  • Light

locators

  • PKdTree

lookup_tables

  • LookupTable
  • PVLookupTable

mappers

  • DummyVolumeMapper
  • FixedPointVolumeRayCastMapper
  • HAVSVolumeMapper
  • LabeledDataMapper
  • PolyDataMapper
  • ProjectedTetrahedraMapper
  • UnstructuredGridVolumeRayCastMapper
  • UnstructuredGridVolumeZSweepMapper

matrices

  • Matrix4x4

misc

  • FileInformationHelper

piecewise_functions

  • PiecewiseFunction

plotmodules

  • HistogramViewModule
  • XYPlotViewModule

points

  • Points

properties

  • Property
  • Property2D
  • TextProperty
  • VolumeProperty

props

  • Actor
  • Actor2D
  • HandleRepresentation
  • ImplicitPlaneRepresentation
  • LODActor
  • LODVolume
  • LineRepresentation
  • SliderRepresentation3D
  • TextActor
  • TextRepresentation

renderers

  • Renderer

rendering

  • LightKit

rendermodules

  • CaveRenderModule
  • CompositeRenderModule
  • IceTDesktopRenderModule
  • IceTRenderModule
  • LODRenderModule
  • MPIRenderModule
  • MultiDisplayRenderModule
  • MultiViewRenderModule
  • SimpleRenderModule
  • ViewModule

renderwindow

  • RenderWindow

selection_helpers

  • ExtractSelectionBlock
  • Selection
  • SelectionSource
  • VolumeSelector

sources

  • AVSucdReader
  • ArrowSource
  • Axes
  • ConeSource
  • CubeSource
  • CylinderSource
  • DEMReader
  • ExodusReader
  • FLUENTReader
  • Facet Reader
  • GlyphSource2D
  • HDF5RawImageReader
  • HierarchicalFractal
  • ImageMandelbrotSource
  • ImageReader
  • LSDynaReader
  • LineSource
  • MFIXReader
  • Meta Image Reader
  • NetworkImageSource
  • OctreeFractal
  • OpenFOAMReader
  • OutlineSource
  • P3DReader
  • PNGReader
  • PVDReader
  • PhastaReader
  • PlaneSource
  • PointSource
  • RTAnalyticSource
  • RTXMLPolyDataReader
  • SAFReader
  • SESAMEReader
  • SphereSource
  • SuperquadricSource
  • Test3DWidget
  • TextSource
  • VectorText
  • XMLHierarchicalBoxDataReader
  • XMLHierarchicalDataReader
  • XMLImageDataReader
  • XMLMultiBlockDataReader
  • XMLMultiGroupDataReader
  • XMLPImageDataReader
  • XMLPPolyDataReader
  • XMLPRectilinearGridReader
  • XMLPStructuredGridReader
  • XMLPUnstructuredGridReader
  • XMLPolyDataReader
  • XMLRectilinearGridReader
  • XMLStructuredGridReader
  • XMLUnstructuredGridReader
  • XdmfReader
  • byureader
  • ensight
  • ensightMS
  • gaussiancubereader
  • legacyreader
  • pdbreader
  • plyreader
  • popreader
  • pvtkfile
  • spcthreader
  • stlreader
  • vrmlreader
  • xyzreader

textures

  • Texture

transfer_functions

  • ColorTransferFunction

transforms

  • Transform
  • Transform2

ugrid_raycast_functions

  • BunykRayCastFunction

views

  • TableView

writers

  • 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