Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VisCommandGeometrySetColourFunction Class Reference

#include <G4VisCommandsGeometrySet.hh>

+ Inheritance diagram for G4VisCommandGeometrySetColourFunction:

Public Member Functions

virtual ~G4VisCommandGeometrySetColourFunction ()
 
 G4VisCommandGeometrySetColourFunction (const G4Colour &colour)
 
void operator() (G4VisAttributes *visAtts) const
 
- Public Member Functions inherited from G4VVisCommandGeometrySetFunction
virtual ~G4VVisCommandGeometrySetFunction ()
 
virtual void operator() (G4VisAttributes *) const =0
 

Detailed Description

Definition at line 45 of file G4VisCommandsGeometrySet.hh.

Constructor & Destructor Documentation

◆ ~G4VisCommandGeometrySetColourFunction()

virtual G4VisCommandGeometrySetColourFunction::~G4VisCommandGeometrySetColourFunction ( )
inlinevirtual

Definition at line 48 of file G4VisCommandsGeometrySet.hh.

48{}

◆ G4VisCommandGeometrySetColourFunction()

G4VisCommandGeometrySetColourFunction::G4VisCommandGeometrySetColourFunction ( const G4Colour colour)
inline

Definition at line 49 of file G4VisCommandsGeometrySet.hh.

50 :
51 fColour(colour) {}

Member Function Documentation

◆ operator()()

void G4VisCommandGeometrySetColourFunction::operator() ( G4VisAttributes visAtts) const
inlinevirtual

Implements G4VVisCommandGeometrySetFunction.

Definition at line 52 of file G4VisCommandsGeometrySet.hh.

54 {visAtts->SetColour(fColour);}
void SetColour(const G4Colour &)

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