How to use the paraview-lite/src/stores/types.Actions.PROXY_PIPELINE_FETCH function in paraview-lite

To help you get started, we’ve selected a few paraview-lite 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 / light-viz / src / stores / proxy.js View on Github external
.then((proxy) => {
            commit(Mutations.PROXY_DATA_SET, proxy);
            commit(Mutations.PROXY_SELECTED_IDS_SET, [proxy.id]);
            dispatch(Actions.PROXY_PIPELINE_FETCH);
            dispatch(Actions.MODULES_ACTIVE_CLEAR);

            // Make sure we pull the actual server values
            dispatch(Actions.PROXY_DATA_FETCH, { proxyId: proxy.id });
          })
          .catch(console.error);
github Kitware / light-viz / src / modules / Files / script.js View on Github external
.then((readerProxy) => {
            this.$store.dispatch(Actions.PROXY_NAME_FETCH, readerProxy.id);
            this.$store.dispatch(Actions.PROXY_PIPELINE_FETCH);
            this.$store.dispatch(Actions.MODULES_ACTIVE_CLEAR);
            this.$store.commit(Mutations.PROXY_SELECTED_IDS_SET, [
              readerProxy.id,
            ]);
          })
          .catch(console.error);
github Kitware / light-viz / src / stores / network.js View on Github external
.then((validClient) => {
          commit(Mutations.NETWORK_CLIENT_SET, validClient);
          dispatch(Actions.TIME_FETCH_ACTIVE_INDEX);
          dispatch(Actions.PROXY_PIPELINE_FETCH);
          dispatch(Actions.APP_ROUTE_RUN);
          dispatch(Actions.COLOR_FETCH_PRESET_NAMES, 500);
        })
        .catch((error) => {
github Kitware / light-viz / src / components / core / ControlsDrawer / script.js View on Github external
},
    },
    mapGetters({
      autoApply: Getters.APP_AUTO_APPLY,
      panel: Getters.MODULES_ACTIVE,
      pipeline: Getters.PROXY_PIPELINE,
      selectedSources: Getters.PROXY_SELECTED_IDS,
      proxyToPanel: Getters.PROXY_TO_MODULE_MAP,
      proxyToName: Getters.PROXY_NAME_MAP,
      moduleMap: Getters.MODULES_MAP,
      sourceToRepresentationMap: Getters.PROXY_SOURCE_TO_REPRESENTATION_MAP,
    })
  ),
  methods: Object.assign(
    mapActions({
      updatePipeline: Actions.PROXY_PIPELINE_FETCH,
      updateProxy: Actions.PROXY_UPDATE,
    }),
    mapMutations({
      updateSelectedSource: Mutations.PROXY_SELECTED_IDS_SET,
    }),
    {
      updateVisibility({ id, visible }) {
        this.updateProxy([
          {
            id: this.sourceToRepresentationMap[id],
            value: visible ? 1 : 0,
            name: 'Visibility',
          },
        ]);
      },
    }