Web Analytics Made Easy - Statcounter
Skip to content

File SAMSON.hpp#

FileList > Facade > SAMSON > SAMSON.hpp

  • #include "SBUUID.hpp"
  • #include "SBProxy.hpp"
  • #include "SBCUndoCommand.hpp"
  • #include "SAMSONExport.hpp"
  • #include "SBCTimeClock.hpp"
  • #include "SBDDocument.hpp"
  • #include "SBDDocumentFolder.hpp"
  • #include "SBDDocumentRenderPreset.hpp"
  • #include "SBNodeSelector.hpp"
  • #include "SBMElement.hpp"
  • #include "SBMModel.hpp"
  • #include "SBGWindowDock.hpp"
  • #include "SBGWindowWidget.hpp"
  • #include "SBDApp.hpp"
  • #include "SBIFileImporter.hpp"
  • #include "SBIFileExporter.hpp"
  • #include "SBCContainerVector.hpp"
  • #include "SBCContainerVersionNumber.hpp"
  • #include "SBColor.hpp"
  • #include "SBDPalette.hpp"
  • #include "SBSNeighborSearchParticleSystem.hpp"
  • #include "SBSStateUpdaterParticleSystem.hpp"
  • #include "SBSimulatorParticleSystem.hpp"
  • #include "SBGDataGraphNode.hpp"
  • #include "SBVisualModel.hpp"
  • #include "SBGEditor.hpp"
  • #include <QDialogButtonBox>
  • #include <QFileDialog>
  • #include "SBVector3.hpp"
  • #include "SBVector.hpp"
  • #include "SBAtom.hpp"
  • #include "SBAction.hpp"
  • #include "SBActionWidget.hpp"
  • #include "SBUserPlan.hpp"
  • #include <string>

Classes#

Type Name
class SAMSON
This class is the main interface.

Public Functions#

Type Name
SB_REGISTER_TYPE (SAMSON, "SAMSON", "98679A42-87A7-2B49-25ED-449B803C5BDB")

Macros#

Type Name
define SB_ELEMENT_PATH
Provides a std::string containing the path where the SAMSON Extension is installed.

Public Functions Documentation#

function SB_REGISTER_TYPE#

SB_REGISTER_TYPE (
    SAMSON,
    "SAMSON",
    "98679A42-87A7-2B49-25ED-449B803C5BDB"
) 

Macro Definition Documentation#

define SB_ELEMENT_PATH#

Provides a std::string containing the path where the SAMSON Extension is installed.

#define SB_ELEMENT_PATH 

This macro provides a std::string containing the path where the SAMSON Extension is installed.

When SAMSON is running, SAMSON Extensions are located at a specific location in the SAMSON installation folder. When a SAMSON Extension needs to retrieve a resource, (e.g. an icon), this macro may be used to easily locate the resource.

For example, for SAMSON Extensions generated by the SAMSON Extension Generator, icons are located in the "resource" folder. When the SAMSON Extension needs to return an icon, the macro may be used as follows:

return QPixmap(QString::fromStdString(SB_ELEMENT_PATH + "/Resource/icons/logo.png"));