Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
pqLoadMaterialsReaction Class Reference

reaction to import an ospray material definition file More...

#include <pqLoadMaterialsReaction.h>

Inheritance diagram for pqLoadMaterialsReaction:
Inheritance graph
Collaboration diagram for pqLoadMaterialsReaction:
Collaboration graph

Public Member Functions

 pqLoadMaterialsReaction (QAction *parent)
 ~pqLoadMaterialsReaction () override
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 ~pqReaction () override
QAction * parentAction () const
 Provides access to the parent action. More...

Static Public Member Functions

static bool loadMaterials ()
static bool loadMaterials (const QString &dbase, pqServer *server=nullptr)

Protected Member Functions

void onTriggered () override
 Called when the action is triggered. More...

Additional Inherited Members

- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
virtual void updateMasterEnableState (bool)
- Protected Attributes inherited from pqReaction
bool IsMaster

Detailed Description

reaction to import an ospray material definition file

pqLoadMaterialsReaction is a reaction to import an file containing ospray material definitions

Definition at line 19 of file pqLoadMaterialsReaction.h.

Constructor & Destructor Documentation

◆ pqLoadMaterialsReaction()

pqLoadMaterialsReaction::pqLoadMaterialsReaction ( QAction *  parent)

◆ ~pqLoadMaterialsReaction()

pqLoadMaterialsReaction::~pqLoadMaterialsReaction ( )

Member Function Documentation

◆ loadMaterials() [1/2]

static bool pqLoadMaterialsReaction::loadMaterials ( )

◆ loadMaterials() [2/2]

static bool pqLoadMaterialsReaction::loadMaterials ( const QString &  dbase,
pqServer server = nullptr 

◆ onTriggered()

void pqLoadMaterialsReaction::onTriggered ( )

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 33 of file pqLoadMaterialsReaction.h.

The documentation for this class was generated from the following file: