Geant4 10.7.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 44 of file G4VisCommandsGeometrySet.hh.

Constructor & Destructor Documentation

◆ ~G4VisCommandGeometrySetColourFunction()

virtual G4VisCommandGeometrySetColourFunction::~G4VisCommandGeometrySetColourFunction ( )
inlinevirtual

Definition at line 47 of file G4VisCommandsGeometrySet.hh.

47{}

◆ G4VisCommandGeometrySetColourFunction()

G4VisCommandGeometrySetColourFunction::G4VisCommandGeometrySetColourFunction ( const G4Colour colour)
inline

Definition at line 48 of file G4VisCommandsGeometrySet.hh.

49 :
50 fColour(colour) {}

Member Function Documentation

◆ operator()()

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

Implements G4VVisCommandGeometrySetFunction.

Definition at line 51 of file G4VisCommandsGeometrySet.hh.

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

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