Files
geant4/source/visualization/modeling/include/G4VModel.icc
T
2016-06-01 15:25:35 +02:00

56 lines
1.3 KiB
Plaintext

// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VModel.icc,v 2.3 1998/08/31 15:42:06 allison Exp $
// GEANT4 tag $Name: geant4-00 $
//
//
// John Allison 31st December 1997.
// Base class for models.
inline G4VModel::~G4VModel () {}
inline G4bool G4VModel::operator == (const G4VModel& model) const{
return this == &model;
}
inline const G4ModelingParameters* G4VModel::GetModelingParameters () const {
return fpMP;
}
inline const G4String& G4VModel::GetGlobalTag () const {
return fGlobalTag;
}
inline const G4String& G4VModel::GetGlobalDescription () const {
return fGlobalDescription;
}
inline G4String G4VModel::GetCurrentTag () const {
return "Default Current Tag";
}
inline G4String G4VModel::GetCurrentDescription () const {
return "Default Current Description";
}
inline G4bool G4VModel::Validate () {
return false;
}
inline const G4VisExtent& G4VModel::GetExtent () const {
return fExtent;
}
inline const G4Transform3D& G4VModel::GetTransformation () const {
return fTransform;
}
inline void G4VModel::SetModelingParameters (const G4ModelingParameters* pMP) {
fpMP = pMP;
}