index 041e49fd4f90ee4e9cc1d0577b3467ea8abf6373..16c062dcddc78d583b5c1028b262979d0412882c 100644 (file)
Binary files a/bbtk_creaVtk_PKG/.DS_Store and b/bbtk_creaVtk_PKG/.DS_Store differ
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void ScalarsToColors::bbUserSetDefaultValues()
{
-
// SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
// Here we initialize the input 'In' to 0
bbSetInputType(0);
- std::vector<double>range;
- range.push_back( 0 );
- range.push_back( 1 );
- bbSetInputRange(range);
+// std::vector<double>range;
+// range.push_back( 0 );
+// range.push_back( 1 );
+// bbSetInputRange(range);
bbSetInputScalarValue(0);
bbSetInputBelowAboveRangeTransparence(true);
// firsttime = true;
_scalarstocolors = NULL;
}
+
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
// but this is where you should allocate the internal/output pointers
-// if any
-
-
+// if any
}
+
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
//=====
void ScalarsToColors::bbUserFinalizeProcessing()
{
-
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
BBTK_INPUT(ScalarsToColors,Type,"(0 default) 0=JET(transparent for first element and middle range); 100=As 0 without transparace; 1=RangeTable (transparent for first element); 101=As 1 without transparace; 2=DirectionColorRGB; 3=ComponentColorRGB[0-255]",int,"");
BBTK_INPUT(ScalarsToColors,ScalarValue,"Scalar value -> Color OUT",double,"");
BBTK_INPUT(ScalarsToColors,BelowAboveRangeTransparence,"(default true) Transparence for Before and After range true/false",bool,"");
- BBTK_INPUT(ScalarsToColors,Range,"Min Max range",std::vector<double>,"");
+ BBTK_INPUT(ScalarsToColors,Range,"(default empty) [min,max] use Range or WindowColorLevel",std::vector<double>,"");
+ BBTK_INPUT(ScalarsToColors,WindowColorLevel,"default empty [window, color] use Range or WindowColorLevel",std::vector<double>,"");