9. マルチブロックインスペクタ

Composite datasets (3 章) such as partitioned dataset collections, multiblock datasets and AMR are often encountered when visualizing results from several scientific simulation codes e.g. OpenFOAM, Exodus, etc. Readers for several of these simulation file formats support selecting which blocks to read. Additionally, you may want to control display properties such as visibility, color, color array, use separate color map, interpolate scalars before mapping, opacity, and map scalars for individual blocks or sub-trees. You can use the Multiblock Inspector panel for this.

図 9.1Multiblock Inspector を表示し、Exodus データセットからの階層構造を表示します。このパネルはアクティブソースを追跡し、アクティブソースから生成されたデータの構造を反映します。表示プロパティは、アクティブビューでの状態を反映しています。

../_images/MultiblockInspector.png

図 9.1 マルチブロックインスペクタ( Multiblock Inspector )

ブロックを表示または非表示にするには、ブロック名の横にあるチェックボックスをクリックする必要があります。非リーフブロックの可視性を切り替えると、サブツリー全体の可視性に影響します。

The first column reflects the state of all properties used for the block. and the second column is a reset button that allows you to reset all properties for the block to the default values. Block properties can be specified in multiple ways. First, you can choose to not use any block specific overrides and simply let the default display properties ( 4.3 章) affect the rendering. This is the default behavior. When that is the case for any block, it is indicated in the state column with pqStateDisabled, if no block is selected, and with pqStateRepresentationInherited if a block is selected. Second, you can explicitly override the display of any block or a subtree. To do this, simply select a block or blocks in the multiblock inspector, and change any display property as you would in the Properties panel. Upon changing any property, the state column will reflect the change. If the property is set for the block, the state column will show pqStateSet. When an explicit property is set on a non-leaf node, all its children (and their children) inherit that property unless explicitly overridden. For such nodes that have a property inherited from their parent, we use the icon pqStateBlockInherited. Since a block has many properties, or many blocks might have been selected, we also show a few more icons to capture all possible states. pqStateMixedInherited is shown when at least one property is inherited from block(s) and the representation. pqStateSetAndRepresentationInherited is shown when at least one property is explicitly set and inherited from the representation. pqStateSetAndBlockInherited is shown when at least one property is explicitly set and inherited from the block(s). pqStateSetAndMixedInherited is shown when at least one property is explicitly set and inherited from block(s) and the representation.

プロパティのコレクションをキャプチャする各プロパティまたはウィジェットには、そのプロパティまたはプロパティのコレクションに固有の状態アイコンとリセットボタンもあります。

Did you know?

In most cases with multiblock datasets, ParaView uses the vtkBlockColors array for coloring. This is an array filled with discrete values so that each block can be colored using a different color. That makes it easier to visually see each of the blocks in the view.

ブロックの色と不透明度のオーバーライドを設定するために Multiblock Inspector を使用する以外に、これらのパラメータを Render View 自体から直接変更することもできます。 目的のブロックのレンダリングビューを右クリックすると、コンテキストメニュー 図 9.2 が表示され、いくつかのブロックのプロパティなどを変更できます。

../_images/RenderViewContextMenu.png

図 9.2 Render View のコンテキストメニューを使用して、ブロックの表示プロパティを変更できます。

Another useful feature with the Multiblock Inspector is selection. If you simply click on any row in the inspector, you will select the block (or subtree) and the active view will highlight the selected block(s). Conversely, if you make a block-based selection in the active Render View using pqSelectBlock or pqFrustumSelectionBlock, you will see the corresponding blocks highlighted in the Multiblock Inspector panel.