移動先: 概要 戻り値 キーワード. フラグ. MEL 例.

概要

polyColorBlindData [-aboveMaxColorBlue float] [-aboveMaxColorGreen float] [-aboveMaxColorRed float] [-attrName string] [-belowMinColorBlue float] [-belowMinColorGreen float] [-belowMinColorRed float] [-clashColorBlue float] [-clashColorGreen float] [-clashColorRed float] [-colorBlue float] [-colorGreen float] [-colorRed float] [-dataType string] [-enableFalseColor boolean] [-maxColorBlue float] [-maxColorGreen float] [-maxColorRed float] [-maxValue float] [-minColorBlue float] [-minColorGreen float] [-minColorRed float] [-minValue float] [-mode int] [-noColorBlue float] [-noColorGreen float] [-noColorRed float] [-numIdTypes int] [-queryMode] [-typeId int] [-useMax boolean] [-useMin boolean] [-value string]

polyColorBlindData は 「元に戻す」が不可能「照会」が不可能「編集」が不可能 です。

選択したコンポーネントにブラインド データ(ポリゴン オブジェクトの場合はダイナミック アトリビュート)が存在するかどうかに応じて、また指定したカラー モードとその値に応じて、選択したポリゴン コンポーネントとオブジェクトに擬似カラーを適用します。データが特定値か値の範囲に一致する場合は、データが存在するかどうかに応じてオブジェクトにカラーを適用できます。指定した最小値と最大値に対する実際の値に応じて、データをグレースケールに変換することもできます。照会モードでは、コンポーネント、オブジェクト、またはその両方が文字配列で返され、選択のフィルタリングが可能になります。

戻り値

string[]

キーワード

color, query, blind, data

フラグ

aboveMaxColorBlue, aboveMaxColorGreen, aboveMaxColorRed, attrName, belowMinColorBlue, belowMinColorGreen, belowMinColorRed, clashColorBlue, clashColorGreen, clashColorRed, colorBlue, colorGreen, colorRed, dataType, enableFalseColor, maxColorBlue, maxColorGreen, maxColorRed, maxValue, minColorBlue, minColorGreen, minColorRed, minValue, mode, noColorBlue, noColorGreen, noColorRed, numIdTypes, queryMode, typeId, useMax, useMin, value
ロング ネーム(ショート ネーム) 引数型 プロパティ
-enableFalseColor(-efc) boolean create
シーンにある全ポリゴン オブジェクトの擬似カラーの適用をオンまたはオフにします。
-queryMode(-q) create
オンにした場合、カラーは適用されず、選択内容を文字配列として返します。 通常ならばカラーが適用されるデータを返します(カラーなし(No color)と範囲外のカラー(Out of range color)を除く)。
-typeId(-id) int createmultiuse
作成するブラインド データ タイプの typeId を指定します。
-numIdTypes(-num) int createmultiuse
この ID タイプに含めるアトリビュート数を指定します。
-mode(-m) int createmultiuse
モードを指定します。
  • 0: バイナリ(データがあるコンポーネントとオブジェクトのみにカラーを適用します)。
  • 1: 個別の値(値を指定します)。この値にマッチするデータにカラーを適用します。
  • 2: 個別の範囲(特定の範囲内の値にカラーが適用されます)。
  • 3: 符号なし設定モード( ( givenValue & actualValue ) の場合に、データにカラーを適用します)。
  • 4: 符号なし設定なしモード( ( !(givenValue & actualValue) ) の場合にデータにカラーを適用します)。
  • 5: 符号なし等号モード( ( givenValue == actualValue ) の場合にデータにカラーを適用します)。
  • 6: グレースケール モード(最小値、最大値、最小カラー値、最大カラー値、最小値未満のカラー値と最大値を超えるカラー値を指定します)。これらの値に相対する方法に応じて、データにカラーを適用します。
  • 7: カラー モード(ブラインド データが、範囲が 0~1 の 3 つの double 値から構成される場合は、データが指定するとおりにコンポーネントにカラーを適用します。
-dataType(-dt) string createmultiuse
この ID のタイプを指定します。
-attrName(-n) string createmultiuse
このコマンドで検証するデータの名前を指定します。
-value(-v) string createmultiuse
データの値です。
-noColorRed(-ncr) float create
データが割り当てられていない場合に使用する、カラーの赤いコンポーネントを指定します。
-noColorGreen(-ncg) float create
データが割り当てられていない場合に使用する、カラーの緑のコンポーネントを指定します。
-noColorBlue(-ncb) float create
データが割り当てられていない場合に使用する、カラーの青いコンポーネントを指定します。
-clashColorRed(-ccr) float create
不一致のデータに使用する、カラーの赤いコンポーネントを指定します。
-clashColorGreen(-ccg) float create
不一致のデータに使用する、カラーの緑のコンポーネントを指定します。
-clashColorBlue(-ccb) float create
不一致のデータに使用する、カラーの青いコンポーネントを指定します。
-belowMinColorRed(-bmr) float createmultiuse
最小値未満のデータ値に使用する、カラーの赤いコンポーネントを指定します。
-belowMinColorGreen(-bmg) float createmultiuse
最小値未満のデータ値に使用する、カラーの緑のコンポーネントを指定します。
-belowMinColorBlue(-bmb) float createmultiuse
最小値未満のデータ値に使用する、カラーの青いコンポーネントを指定します。
-aboveMaxColorRed(-amr) float createmultiuse
最大値を超えるデータに使用する、カラーの赤いコンポーネントを指定します。
-aboveMaxColorGreen(-amg) float createmultiuse
最大値を超えるデータに使用する、カラーの緑のコンポーネントを指定します。
-aboveMaxColorBlue(-amb) float createmultiuse
最大値を超えるデータに使用する、カラーの青いコンポーネントを指定します。
-colorRed(-cr) float createmultiuse
指定したデータに使用する、カラーの赤いコンポーネントを指定します。
-colorGreen(-cg) float createmultiuse
指定したデータに使用する、カラーの緑のコンポーネントを指定します。
-colorBlue(-cb) float createmultiuse
指定したデータに使用する、カラーの青いコンポーネントを指定します。
-minColorRed(-mnr) float createmultiuse
グレースケールの最小値に使用する、カラーの赤いコンポーネントを指定します。
-minColorGreen(-mng) float createmultiuse
グレースケールの最小値に使用する、カラーの緑のコンポーネントを指定します。
-minColorBlue(-mnb) float createmultiuse
グレースケールの最小値に使用する、カラーの青いコンポーネントを指定します。
-maxColorRed(-mxr) float createmultiuse
グレースケールの最大値に使用する、カラーの赤いコンポーネントを指定します。
-maxColorGreen(-mxg) float createmultiuse
グレースケールの最大値に使用する、カラーの緑のコンポーネントを指定します。
-maxColorBlue(-mxb) float createmultiuse
グレースケールの最大値に使用する、カラーの青いコンポーネントを指定します。
-useMin(-umn) boolean createmultiuse
個別の範囲に最小値を使用するかどうかを指定します。
-minValue(-mnv) float createmultiuse
グレースケール、または個別範囲のデータの最小値を指定します。
-maxValue(-mxv) float createmultiuse
グレースケール、または個別範囲のデータの最大値を指定します。
-useMax(-umx) boolean createmultiuse
個別の範囲に最大値を使用するかどうかを指定します。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL 例

// In these examples we have type 1000, with one double attribute
// called "fluffy", and type 1001 with attributes "grimy" and "slimy".
// Color all items of id 1000 red. Note that we must also specify
// None color (black) and Clash color(cyan). Note that we must also
// specify the names of the attributes, even if we don't care about
// the attribute values:
polyColorBlindData -ncr 0 -ncg 0 -ncb 0 -ccr 0 -ccg 1 -ccb 1 -id 1000
    -num 1 -m 0 -n "fluffy" -cr 1 -cg 0 -cb 0;
// Now color only those values of "fluffy" between 2 and 5:
polyColorBlindData -ncr 0 -ncg 0 -ncb 0 -ccr 0 -ccg 1 -ccb 1 -id 1000
    -num 1 -m 2 -dt "double" -n "fluffy" -umn 1 -mnv 2 -umx 1 -mxv 5 -cr 1
    -cg 0 -cb 0;
// Note for a continuous range query we must specify min, max and
// out of range color instead of just color (here values between 2 and 5
// are colored between white and gray, out of range values are yellow):
polyColorBlindData -ncr 0 -ncg 0 -ncb 0 -ccr 0 -ccg 1 -ccb 1 -id 1000
    -num 1 -m 6 -dt "double" -n "fluffy" -bmr 1 -bmg 1 -bmb 0 -amr 1 -amg 1
    -amb 0 -mnr 0.250980407 -mng 0.250980407 -mnb 0.250980407
    -mxr 1 -mxg 1 -mxb 1 -mnv 2 -mxv 5;
// Now, for attribute "fluffy", color values of 2 red and values of 2 green:
polyColorBlindData -ncr 0 -ncg 0 -ncb 0 -ccr 0 -ccg 1 -ccb 1 -id 1000
    -num 1 -m 1 -dt "double" -n "fluffy" -v "2" -cr 1 -cg 0 -cb 0 -id 1000
    -num 1 -m 1 -dt "double" -n "fluffy" -v "3" -cr 0 -cg 1 -cb 0;
// To just query and not color, filter the active selection list
// and return the list of components that meet the criteria (in this
// case having blind data of type 1000)
polyColorBlindData -q -id 1000 -num 1 -m 0 -n "fluffy";
// Now if we have 2 attributes:
polyColorBlindData -ncr 0 -ncg 0 -ncb 0 -ccr 0 -ccg 1 -ccb 1 -id 1001
    -num 2 -m 0 -n "grimy" -n "slimy" -cr 1 -cg 0 -cb 0;
// Note that when querying for value, values of all attrs must be specified
// here we set (grimy = 22, slimy = 1) to be red, and (grimy = 55, slimy = 2)
// to be green
polyColorBlindData -ncr 0 -ncg 0 -ncb 0 -ccr 0 -ccg 1 -ccb 1 -id 1001
    -num 2 -m 1 -dt "double" -n "grimy" -v "22" -cr 1 -cg 0 -cb 0 -dt "int"
    -n "slimy" -v "1" -cr 1 -cg 0 -cb 0 -id 1001 -num 2 -m 1 -dt "double"
    -n "grimy" -v "55" -cr 0 -cg 1 -cb 0 -dt "int" -n "slimy" -v "2"
    -cr 0 -cg 1 -cb 0;