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
[legend]
Collaboration diagram for pqLoadMaterialsReaction:
Collaboration graph
[legend]

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 ( )
override

Member Function Documentation

◆ loadMaterials() [1/2]

static bool pqLoadMaterialsReaction::loadMaterials ( )
static

◆ loadMaterials() [2/2]

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

◆ onTriggered()

void pqLoadMaterialsReaction::onTriggered ( )
inlineoverrideprotectedvirtual

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: