Example #1
0
void setGenVectorDefaults(GeneratedVectorPtr V) {
  dialogDefaults().setValue("genVector/first", V->value(V->value(0)));
  dialogDefaults().setValue("genVector/last", V->value(V->length()-1));
  dialogDefaults().setValue("genVector/min", V->min());
  dialogDefaults().setValue("genVector/max", V->max());
  dialogDefaults().setValue("genVector/length", V->length());

}
Example #2
0
void setGenVectorDefaults(GeneratedVectorPtr V) {
  _dialogDefaults->setValue("genVector/min", V->min());
  _dialogDefaults->setValue("genVector/max", V->max()); 
  _dialogDefaults->setValue("genVector/length", V->length());
}