Geant4
10.03
|
#include <G4VModel.hh>
Public Member Functions | |
G4VModel (const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0) | |
virtual | ~G4VModel () |
virtual void | DescribeYourselfTo (G4VGraphicsScene &)=0 |
const G4ModelingParameters * | GetModelingParameters () const |
const G4String & | GetType () const |
virtual G4String | GetCurrentDescription () const |
virtual G4String | GetCurrentTag () const |
const G4VisExtent & | GetExtent () const |
const G4String & | GetGlobalDescription () const |
const G4String & | GetGlobalTag () const |
const G4Transform3D & | GetTransformation () const |
void | SetModelingParameters (const G4ModelingParameters *) |
void | SetExtent (const G4VisExtent &) |
void | SetType (const G4String &) |
void | SetGlobalDescription (const G4String &) |
void | SetGlobalTag (const G4String &) |
void | SetTransformation (const G4Transform3D &) |
virtual G4bool | Validate (G4bool warn=true) |
Protected Attributes | |
G4String | fType |
G4String | fGlobalTag |
G4String | fGlobalDescription |
G4VisExtent | fExtent |
G4Transform3D | fTransform |
const G4ModelingParameters * | fpMP |
Private Member Functions | |
G4VModel (const G4VModel &) | |
G4VModel & | operator= (const G4VModel &) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4VModel &) |
Definition at line 53 of file G4VModel.hh.
G4VModel::G4VModel | ( | const G4Transform3D & | modelTransformation = G4Transform3D() , |
const G4ModelingParameters * | pMP = 0 |
||
) |
Definition at line 38 of file G4VModel.cc.
|
virtual |
Definition at line 47 of file G4VModel.cc.
|
private |
|
pure virtual |
Implemented in G4PhysicalVolumeModel, CexmcScenePrimitives, G4LogicalVolumeModel, G4CallbackModel< F >, G4AxesModel, G4TrajectoriesModel, G4ArrowModel, G4DigiModel, G4HitsModel, G4MagneticFieldModel, G4ScaleModel, G4TextModel, G4PSHitsModel, and G4NullModel.
Referenced by G4AxesModel::DescribeYourselfTo().
|
virtual |
Reimplemented in G4PhysicalVolumeModel.
Definition at line 54 of file G4VModel.cc.
References fGlobalDescription.
|
virtual |
Reimplemented in G4PhysicalVolumeModel.
Definition at line 49 of file G4VModel.cc.
References fGlobalTag.
const G4VisExtent& G4VModel::GetExtent | ( | ) | const |
Referenced by G4PhysicalVolumeModel::CalculateExtent(), and G4VisCommandSceneAddLogicalVolume::SetNewValue().
const G4String& G4VModel::GetGlobalDescription | ( | ) | const |
Referenced by G4Scene::AddRunDurationModel(), G4Scene::CalculateExtent(), and G4VisCommandSceneAddScale::SetNewValue().
const G4String& G4VModel::GetGlobalTag | ( | ) | const |
const G4ModelingParameters* G4VModel::GetModelingParameters | ( | ) | const |
Referenced by G4ASCIITreeSceneHandler::EndModeling(), and G4VisCommandSceneAddEventID::EventID::operator()().
const G4Transform3D& G4VModel::GetTransformation | ( | ) | const |
const G4String& G4VModel::GetType | ( | ) | const |
void G4VModel::SetExtent | ( | const G4VisExtent & | ) |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
void G4VModel::SetGlobalDescription | ( | const G4String & | ) |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), CexmcScenePrimitives::CexmcScenePrimitives(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4VisCommandSceneAddText2D::SetNewValue().
void G4VModel::SetGlobalTag | ( | const G4String & | ) |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), and G4VisCommandSceneAddText2D::SetNewValue().
void G4VModel::SetModelingParameters | ( | const G4ModelingParameters * | ) |
Referenced by G4LogicalVolumeModel::DescribeYourselfTo(), G4ASCIITreeSceneHandler::EndModeling(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4PhysicalVolumeModel::Validate().
void G4VModel::SetTransformation | ( | const G4Transform3D & | ) |
Referenced by G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().
void G4VModel::SetType | ( | const G4String & | ) |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), and G4VisCommandSceneAddText2D::SetNewValue().
Reimplemented in G4PhysicalVolumeModel, and G4LogicalVolumeModel.
Definition at line 59 of file G4VModel.cc.
|
friend |
Definition at line 63 of file G4VModel.cc.
|
protected |
Definition at line 111 of file G4VModel.hh.
Referenced by G4PhysicalVolumeModel::CalculateExtent(), and operator<<().
|
protected |
Definition at line 110 of file G4VModel.hh.
Referenced by G4DigiModel::G4DigiModel(), G4HitsModel::G4HitsModel(), G4PSHitsModel::G4PSHitsModel(), G4ScaleModel::G4ScaleModel(), G4TextModel::G4TextModel(), G4TrajectoriesModel::G4TrajectoriesModel(), GetCurrentDescription(), and operator<<().
|
protected |
Definition at line 109 of file G4VModel.hh.
Referenced by G4DigiModel::G4DigiModel(), G4HitsModel::G4HitsModel(), G4PSHitsModel::G4PSHitsModel(), G4ScaleModel::G4ScaleModel(), G4TextModel::G4TextModel(), G4TrajectoriesModel::G4TrajectoriesModel(), GetCurrentTag(), and G4PhysicalVolumeModel::GetCurrentTag().
|
protected |
Definition at line 113 of file G4VModel.hh.
Referenced by G4PhysicalVolumeModel::CalculateExtent(), G4HitsModel::DescribeYourselfTo(), G4DigiModel::DescribeYourselfTo(), G4TrajectoriesModel::DescribeYourselfTo(), operator<<(), and G4PhysicalVolumeModel::Validate().
|
protected |
Definition at line 112 of file G4VModel.hh.
Referenced by G4PhysicalVolumeModel::CalculateExtent(), G4CallbackModel< F >::DescribeYourselfTo(), and operator<<().
|
protected |
Definition at line 108 of file G4VModel.hh.
Referenced by G4DigiModel::G4DigiModel(), G4HitsModel::G4HitsModel(), G4PSHitsModel::G4PSHitsModel(), G4ScaleModel::G4ScaleModel(), G4TextModel::G4TextModel(), and G4TrajectoriesModel::G4TrajectoriesModel().