How to use the pvw-visualizer/src/redux.setVisualizerActiveStore function in pvw-visualizer

To help you get started, we’ve selected a few pvw-visualizer 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 / HPCCloud / src / tools / visualizer / index.js View on Github external
import network from 'pvw-visualizer/src/network';
import logo from 'pvw-visualizer/src/logo.isvg';
import LocalRenderingImageProvider from 'pvw-visualizer/src/LocalRenderingImageProvider';

import style from 'HPCCloudStyle/PageWithMenu.mcss';
import vizStyle from 'HPCCloudStyle/Visualizer.mcss';

import Toolbar from '../../panels/Toolbar';
import LoadingPanel from '../../panels/LoadingPanel';
import client from '../../network';
import { projectFunctions } from '../../utils/AccessHelper';
import { primaryBreadCrumbs } from '../../utils/Constants';

import { dispatch, store } from '../../redux';


class Visualization extends React.Component {
  constructor(props) {
    this.state = {
      menuVisible: true,
      isRendererBusy: false,

    this.onAction = this.onAction.bind(this);
    this.nextTimeStep = this.nextTimeStep.bind(this);
    this.togglePlay = this.togglePlay.bind(this);
    this.previousTimeStep = this.previousTimeStep.bind(this);

    this.setImageProvider = this.setImageProvider.bind(this);
    this.resetCamera = this.resetCamera.bind(this);