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

#include <G4ToolsSGNode.hh>

+ Inheritance diagram for G4ToolsSGNode:

Public Member Functions

 G4ToolsSGNode ()
 
virtual ~G4ToolsSGNode ()=default
 
 G4ToolsSGNode (const G4ToolsSGNode &a_from)
 
G4ToolsSGNodeoperator= (const G4ToolsSGNode &a_from)
 
const G4PhysicalVolumeModel::G4PhysicalVolumeNodeIDGetPVNodeID () const
 
void SetPVNodeID (const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID &id)
 

Detailed Description

Definition at line 35 of file G4ToolsSGNode.hh.

Constructor & Destructor Documentation

◆ G4ToolsSGNode() [1/2]

G4ToolsSGNode::G4ToolsSGNode ( )
inline

Definition at line 38 of file G4ToolsSGNode.hh.

38:parent(),fPVNodeID(0) {}

◆ ~G4ToolsSGNode()

virtual G4ToolsSGNode::~G4ToolsSGNode ( )
virtualdefault

◆ G4ToolsSGNode() [2/2]

G4ToolsSGNode::G4ToolsSGNode ( const G4ToolsSGNode a_from)
inline

Definition at line 41 of file G4ToolsSGNode.hh.

41:parent(a_from),fPVNodeID(a_from.fPVNodeID) {}

Member Function Documentation

◆ GetPVNodeID()

const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID & G4ToolsSGNode::GetPVNodeID ( ) const
inline

Definition at line 48 of file G4ToolsSGNode.hh.

49 {return fPVNodeID;}

Referenced by G4ToolsSGSceneHandler::GetOrCreateNode().

◆ operator=()

G4ToolsSGNode & G4ToolsSGNode::operator= ( const G4ToolsSGNode a_from)
inline

Definition at line 42 of file G4ToolsSGNode.hh.

42 {
43 parent::operator=(a_from);
44 fPVNodeID = a_from.fPVNodeID;
45 return *this;
46 }

◆ SetPVNodeID()

void G4ToolsSGNode::SetPVNodeID ( const G4PhysicalVolumeModel::G4PhysicalVolumeNodeID id)
inline

Definition at line 50 of file G4ToolsSGNode.hh.

51 {fPVNodeID = id;}

Referenced by G4ToolsSGSceneHandler::GetOrCreateNode().


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