Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 95e98d0
  • /
  • GUI
  • /
  • PartioViewer_GUI_Base.h
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:38bb423d99ace3b4538a730e8600cdc393bdfc90
directory badge
swh:1:dir:365b6415c49d1496ae0f7cbb4c61d9223f78b347

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
PartioViewer_GUI_Base.h
#ifndef __PartioViewer_GUI_Base_h__
#define __PartioViewer_GUI_Base_h__

#include "SPlisHSPlasH/Common.h"
#include "ParameterObject.h"
#include "Simulator/SimulatorBase.h"
#include "extern/cxxopts/cxxopts.hpp"

namespace SPH 
{	
	class PartioViewer_GUI_Base
	{
		protected:
			SimulatorBase *m_simulatorBase;

		public:
			PartioViewer_GUI_Base() {};
			virtual ~PartioViewer_GUI_Base() {};

		public:
			virtual void init() {}
			virtual void initSimulationParameterGUI() {}
			virtual void initParameterGUI() {}
			virtual void render() {}
			virtual void run() {}
			virtual void stop() {}
			virtual void update() {}
			virtual void cleanup() {}
			virtual void addOptions(cxxopts::Options &options) {}
			virtual void parseOptions(cxxopts::ParseResult &result) {}
			virtual unsigned int getWidth() const { return 0; }
			virtual unsigned int getHeight() const { return 0; }

			SPH::SimulatorBase * getSimulatorBase() const { return m_simulatorBase; }
			void setSimulatorBase(SPH::SimulatorBase * val) { m_simulatorBase = val; }
	};
}

#endif

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API