How to use the paraviewweb/src/Common/Core/CompositeClosureHelper.set function in paraviewweb

To help you get started, we’ve selected a few paraviewweb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kitware / paraviewweb / src / InfoViz / Core / AnnotationStoreProvider / index.js View on Github external
export function extend(publicAPI, model, initialValues = {}) {
  Object.assign(model, DEFAULT_VALUES, initialValues);

  CompositeClosureHelper.destroy(publicAPI, model);
  CompositeClosureHelper.isA(publicAPI, model, PROVIDER_NAME);
  CompositeClosureHelper.event(publicAPI, model, 'StoreAnnotationChange');
  CompositeClosureHelper.set(publicAPI, model, ['defaultEmptyAnnotationName']);
  CompositeClosureHelper.get(publicAPI, model, ['defaultEmptyAnnotationName']);

  annotationStoreProvider(publicAPI, model);
}
github Kitware / paraviewweb / src / InfoViz / Native / MutualInformationDiagram / index.js View on Github external
export function extend(publicAPI, model, initialValues = {}) {
  Object.assign(model, DEFAULT_VALUES, initialValues);

  CompositeClosureHelper.destroy(publicAPI, model);
  CompositeClosureHelper.isA(publicAPI, model, 'VizComponent');
  CompositeClosureHelper.get(publicAPI, model, [
    'provider',
    'container',
    'numberOfBins',
  ]);
  CompositeClosureHelper.set(publicAPI, model, ['numberOfBins']);
  CompositeClosureHelper.dynamicArray(publicAPI, model, 'readOnlyFields');

  informationDiagram(publicAPI, model);
}
github Kitware / paraviewweb / src / InfoViz / Native / ParallelCoordinates / index.js View on Github external
export function extend(publicAPI, model, initialValues = {}) {
  Object.assign(model, DEFAULT_VALUES, initialValues);

  CompositeClosureHelper.destroy(publicAPI, model);
  CompositeClosureHelper.isA(publicAPI, model, 'VizComponent');
  CompositeClosureHelper.get(publicAPI, model, [
    'provider',
    'container',
    'showOnlySelection',
    'visibleScores',
    'propagatePartitionScores',
    'numberOfBins',
  ]);
  CompositeClosureHelper.set(publicAPI, model, [
    'showOnlySelection',
    'propagatePartitionScores',
  ]);
  CompositeClosureHelper.dynamicArray(publicAPI, model, 'readOnlyFields');

  parallelCoordinate(publicAPI, model);
}
github Kitware / paraviewweb / src / InfoViz / Native / FieldSelector / index.js View on Github external
export function extend(publicAPI, model, initialValues = {}) {
  Object.assign(model, DEFAULT_VALUES, initialValues);

  CompositeClosureHelper.destroy(publicAPI, model);
  CompositeClosureHelper.isA(publicAPI, model, 'VizComponent');
  CompositeClosureHelper.get(publicAPI, model, [
    'provider',
    'container',
    'fieldShowHistogram',
    'numberOfBins',
  ]);
  CompositeClosureHelper.set(publicAPI, model, [
    'fieldShowHistogram',
    'numberOfBins',
  ]);

  fieldSelector(publicAPI, model);
}
github Kitware / paraviewweb / src / InfoViz / Core / FieldProvider / index.js View on Github external
export function extend(publicAPI, model, initialValues = {}) {
  Object.assign(model, DEFAULT_VALUES, initialValues);

  CompositeClosureHelper.destroy(publicAPI, model);
  CompositeClosureHelper.isA(publicAPI, model, PROVIDER_NAME);
  CompositeClosureHelper.event(publicAPI, model, 'FieldChange');
  CompositeClosureHelper.get(publicAPI, model, ['fieldsSorted']);
  CompositeClosureHelper.set(publicAPI, model, ['fieldsSorted']);

  fieldProvider(publicAPI, model);
}
github Kitware / paraviewweb / src / InfoViz / Native / HistogramSelector / index.js View on Github external
export function extend(publicAPI, model, initialValues = {}) {
  Object.assign(model, DEFAULT_VALUES, initialValues);

  CompositeClosureHelper.destroy(publicAPI, model);
  CompositeClosureHelper.isA(publicAPI, model, 'VizComponent');
  CompositeClosureHelper.get(publicAPI, model, [
    'provider',
    'container',
    'numberOfBins',
    'showUncertainty',
  ]);
  CompositeClosureHelper.set(publicAPI, model, [
    'numberOfBins',
    'showUncertainty',
  ]);
  CompositeClosureHelper.dynamicArray(publicAPI, model, 'readOnlyFields');

  histogramSelector(publicAPI, model);
}