Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Friends | List of all members
G4ViewParameters Class Reference

#include <G4ViewParameters.hh>

Public Types

enum  DrawingStyle { wireframe, hlr, hsr, hlhsr }
 
enum  RepStyle { polyhedron, nurbs }
 
enum  CutawayMode { cutawayUnion, cutawayIntersection }
 
enum  RotationStyle { constrainUpDirection, freeRotation }
 

Public Member Functions

 G4ViewParameters ()
 
 ~G4ViewParameters ()
 
G4bool operator!= (const G4ViewParameters &) const
 
DrawingStyle GetDrawingStyle () const
 
G4bool IsAuxEdgeVisible () const
 
RepStyle GetRepStyle () const
 
G4bool IsCulling () const
 
G4bool IsCullingInvisible () const
 
G4bool IsDensityCulling () const
 
G4double GetVisibleDensity () const
 
G4bool IsCullingCovered () const
 
G4bool IsSection () const
 
const G4Plane3DGetSectionPlane () const
 
G4bool IsCutaway () const
 
CutawayMode GetCutawayMode () const
 
const G4PlanesGetCutawayPlanes () const
 
G4bool IsExplode () const
 
G4double GetExplodeFactor () const
 
const G4Point3DGetExplodeCentre () const
 
G4int GetNoOfSides () const
 
const G4Vector3DGetViewpointDirection () const
 
const G4Vector3DGetUpVector () const
 
G4double GetFieldHalfAngle () const
 
G4double GetZoomFactor () const
 
const G4Vector3DGetScaleFactor () const
 
const G4Point3DGetCurrentTargetPoint () const
 
G4double GetDolly () const
 
G4bool GetLightsMoveWithCamera () const
 
const G4Vector3DGetLightpointDirection () const
 
G4Vector3DGetActualLightpointDirection ()
 
const G4VisAttributesGetDefaultVisAttributes () const
 
const G4VisAttributesGetDefaultTextVisAttributes () const
 
const G4VMarkerGetDefaultMarker () const
 
G4double GetGlobalMarkerScale () const
 
G4double GetGlobalLineWidthScale () const
 
G4bool IsMarkerNotHidden () const
 
unsigned int GetWindowSizeHintX () const
 
unsigned int GetWindowSizeHintY () const
 
G4int GetWindowAbsoluteLocationHintX (G4int) const
 
G4int GetWindowAbsoluteLocationHintY (G4int) const
 
G4int GetWindowLocationHintX () const
 
G4int GetWindowLocationHintY () const
 
const G4StringGetXGeometryString () const
 
bool IsWindowSizeHintX () const
 
bool IsWindowSizeHintY () const
 
bool IsWindowLocationHintX () const
 
bool IsWindowLocationHintY () const
 
G4bool IsAutoRefresh () const
 
const G4ColourGetBackgroundColour () const
 
G4bool IsPicking () const
 
RotationStyle GetRotationStyle () const
 
const std::vector
< G4ModelingParameters::VisAttributesModifier > & 
GetVisAttributesModifiers () const
 
G4double GetCameraDistance (G4double radius) const
 
G4double GetNearDistance (G4double cameraDistance, G4double radius) const
 
G4double GetFarDistance (G4double cameraDistance, G4double nearDistance, G4double radius) const
 
G4double GetFrontHalfHeight (G4double nearDistance, G4double radius) const
 
void SetDrawingStyle (G4ViewParameters::DrawingStyle style)
 
void SetAuxEdgeVisible (G4bool)
 
void SetRepStyle (G4ViewParameters::RepStyle style)
 
void SetCulling (G4bool)
 
void SetCullingInvisible (G4bool)
 
void SetDensityCulling (G4bool)
 
void SetVisibleDensity (G4double visibleDensity)
 
void SetCullingCovered (G4bool)
 
void SetSectionPlane (const G4Plane3D &sectionPlane)
 
void UnsetSectionPlane ()
 
void SetCutawayMode (CutawayMode)
 
void AddCutawayPlane (const G4Plane3D &cutawayPlane)
 
void ChangeCutawayPlane (size_t index, const G4Plane3D &cutawayPlane)
 
void ClearCutawayPlanes ()
 
void SetExplodeFactor (G4double explodeFactor)
 
void UnsetExplodeFactor ()
 
void SetExplodeCentre (const G4Point3D &explodeCentre)
 
G4int SetNoOfSides (G4int nSides)
 
void SetViewpointDirection (const G4Vector3D &viewpointDirection)
 
void SetViewAndLights (const G4Vector3D &viewpointDirection)
 
void SetUpVector (const G4Vector3D &upVector)
 
void SetFieldHalfAngle (G4double fieldHalfAngle)
 
void SetOrthogonalProjection ()
 
void SetPerspectiveProjection (G4double fieldHalfAngle=30.*CLHEP::deg)
 
void SetZoomFactor (G4double zoomFactor)
 
void MultiplyZoomFactor (G4double zoomFactorMultiplier)
 
void SetScaleFactor (const G4Vector3D &scaleFactor)
 
void MultiplyScaleFactor (const G4Vector3D &scaleFactorMultiplier)
 
void SetCurrentTargetPoint (const G4Point3D &currentTargetPoint)
 
void SetDolly (G4double dolly)
 
void IncrementDolly (G4double dollyIncrement)
 
void SetLightpointDirection (const G4Vector3D &lightpointDirection)
 
void SetLightsMoveWithCamera (G4bool moves)
 
void SetPan (G4double right, G4double up)
 
void IncrementPan (G4double right, G4double up)
 
void IncrementPan (G4double right, G4double up, G4double forward)
 
void SetDefaultVisAttributes (const G4VisAttributes &)
 
void SetDefaultColour (const G4Colour &)
 
void SetDefaultTextVisAttributes (const G4VisAttributes &)
 
void SetDefaultTextColour (const G4Colour &)
 
void SetDefaultMarker (const G4VMarker &defaultMarker)
 
void SetGlobalMarkerScale (G4double globalMarkerScale)
 
void SetGlobalLineWidthScale (G4double globalLineWidthScale)
 
void SetMarkerHidden ()
 
void SetMarkerNotHidden ()
 
void SetWindowSizeHint (G4int xHint, G4int yHint)
 
void SetWindowLocationHint (G4int xHint, G4int yHint)
 
void SetXGeometryString (const G4String &)
 
void SetAutoRefresh (G4bool)
 
void SetBackgroundColour (const G4Colour &)
 
void SetPicking (G4bool)
 
void SetRotationStyle (RotationStyle)
 
void AddVisAttributesModifier (const G4ModelingParameters::VisAttributesModifier &)
 
G4String CameraAndLightingCommands (const G4Point3D standardTargetPoint) const
 
G4String DrawingStyleCommands () const
 
G4String SceneModifyingCommands () const
 
G4String TouchableCommands () const
 
void PrintDifferences (const G4ViewParameters &v) const
 

Friends

std::ostream & operator<< (std::ostream &, const DrawingStyle &)
 
std::ostream & operator<< (std::ostream &, const G4ViewParameters &)
 

Detailed Description

Definition at line 90 of file G4ViewParameters.hh.

Member Enumeration Documentation

Enumerator
cutawayUnion 
cutawayIntersection 

Definition at line 106 of file G4ViewParameters.hh.

Enumerator
wireframe 
hlr 
hsr 
hlhsr 

Definition at line 94 of file G4ViewParameters.hh.

Enumerator
polyhedron 
nurbs 

Definition at line 101 of file G4ViewParameters.hh.

Enumerator
constrainUpDirection 
freeRotation 

Definition at line 111 of file G4ViewParameters.hh.

Constructor & Destructor Documentation

G4ViewParameters::G4ViewParameters ( )

Definition at line 42 of file G4ViewParameters.cc.

Here is the call graph for this function:

G4ViewParameters::~G4ViewParameters ( )

Definition at line 89 of file G4ViewParameters.cc.

Member Function Documentation

void G4ViewParameters::AddCutawayPlane ( const G4Plane3D cutawayPlane)

Definition at line 151 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::AddVisAttributesModifier ( const G4ModelingParameters::VisAttributesModifier )

Here is the caller graph for this function:

G4String G4ViewParameters::CameraAndLightingCommands ( const G4Point3D  standardTargetPoint) const

Definition at line 253 of file G4ViewParameters.cc.

Here is the call graph for this function:

void G4ViewParameters::ChangeCutawayPlane ( size_t  index,
const G4Plane3D cutawayPlane 
)

Definition at line 163 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::ClearCutawayPlanes ( )

Here is the caller graph for this function:

G4String G4ViewParameters::DrawingStyleCommands ( ) const

Definition at line 342 of file G4ViewParameters.cc.

G4Vector3D & G4ViewParameters::GetActualLightpointDirection ( )

Definition at line 98 of file G4ViewParameters.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4Colour& G4ViewParameters::GetBackgroundColour ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetCameraDistance ( G4double  radius) const

Definition at line 111 of file G4ViewParameters.cc.

Here is the caller graph for this function:

const G4Point3D& G4ViewParameters::GetCurrentTargetPoint ( ) const

Here is the caller graph for this function:

CutawayMode G4ViewParameters::GetCutawayMode ( ) const

Here is the caller graph for this function:

const G4Planes& G4ViewParameters::GetCutawayPlanes ( ) const

Here is the caller graph for this function:

const G4VMarker& G4ViewParameters::GetDefaultMarker ( ) const
const G4VisAttributes* G4ViewParameters::GetDefaultTextVisAttributes ( ) const

Here is the caller graph for this function:

const G4VisAttributes* G4ViewParameters::GetDefaultVisAttributes ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetDolly ( ) const

Here is the caller graph for this function:

DrawingStyle G4ViewParameters::GetDrawingStyle ( ) const

Here is the caller graph for this function:

const G4Point3D& G4ViewParameters::GetExplodeCentre ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetExplodeFactor ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetFarDistance ( G4double  cameraDistance,
G4double  nearDistance,
G4double  radius 
) const

Definition at line 130 of file G4ViewParameters.cc.

Here is the caller graph for this function:

G4double G4ViewParameters::GetFieldHalfAngle ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetFrontHalfHeight ( G4double  nearDistance,
G4double  radius 
) const

Definition at line 138 of file G4ViewParameters.cc.

Here is the caller graph for this function:

G4double G4ViewParameters::GetGlobalLineWidthScale ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetGlobalMarkerScale ( ) const

Here is the caller graph for this function:

const G4Vector3D& G4ViewParameters::GetLightpointDirection ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::GetLightsMoveWithCamera ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetNearDistance ( G4double  cameraDistance,
G4double  radius 
) const

Definition at line 122 of file G4ViewParameters.cc.

Here is the caller graph for this function:

G4int G4ViewParameters::GetNoOfSides ( ) const

Here is the caller graph for this function:

RepStyle G4ViewParameters::GetRepStyle ( ) const

Here is the caller graph for this function:

RotationStyle G4ViewParameters::GetRotationStyle ( ) const

Here is the caller graph for this function:

const G4Vector3D& G4ViewParameters::GetScaleFactor ( ) const

Here is the caller graph for this function:

const G4Plane3D& G4ViewParameters::GetSectionPlane ( ) const

Here is the caller graph for this function:

const G4Vector3D& G4ViewParameters::GetUpVector ( ) const

Here is the caller graph for this function:

const G4Vector3D& G4ViewParameters::GetViewpointDirection ( ) const

Here is the caller graph for this function:

const std::vector<G4ModelingParameters::VisAttributesModifier>& G4ViewParameters::GetVisAttributesModifiers ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetVisibleDensity ( ) const

Here is the caller graph for this function:

G4int G4ViewParameters::GetWindowAbsoluteLocationHintX ( G4int  sizeX) const

Definition at line 978 of file G4ViewParameters.cc.

G4int G4ViewParameters::GetWindowAbsoluteLocationHintY ( G4int  sizeY) const

Definition at line 985 of file G4ViewParameters.cc.

G4int G4ViewParameters::GetWindowLocationHintX ( ) const
G4int G4ViewParameters::GetWindowLocationHintY ( ) const
unsigned int G4ViewParameters::GetWindowSizeHintX ( ) const
unsigned int G4ViewParameters::GetWindowSizeHintY ( ) const
const G4String& G4ViewParameters::GetXGeometryString ( ) const

Here is the caller graph for this function:

G4double G4ViewParameters::GetZoomFactor ( ) const

Here is the caller graph for this function:

void G4ViewParameters::IncrementDolly ( G4double  dollyIncrement)

Here is the caller graph for this function:

void G4ViewParameters::IncrementPan ( G4double  right,
G4double  up 
)

Definition at line 242 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::IncrementPan ( G4double  right,
G4double  up,
G4double  forward 
)

Definition at line 246 of file G4ViewParameters.cc.

Here is the call graph for this function:

G4bool G4ViewParameters::IsAutoRefresh ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsAuxEdgeVisible ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsCulling ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsCullingCovered ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsCullingInvisible ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsCutaway ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsDensityCulling ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsExplode ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsMarkerNotHidden ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsPicking ( ) const

Here is the caller graph for this function:

G4bool G4ViewParameters::IsSection ( ) const

Here is the caller graph for this function:

bool G4ViewParameters::IsWindowLocationHintX ( ) const
bool G4ViewParameters::IsWindowLocationHintY ( ) const
bool G4ViewParameters::IsWindowSizeHintX ( ) const
bool G4ViewParameters::IsWindowSizeHintY ( ) const
void G4ViewParameters::MultiplyScaleFactor ( const G4Vector3D scaleFactorMultiplier)

Definition at line 92 of file G4ViewParameters.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4ViewParameters::MultiplyZoomFactor ( G4double  zoomFactorMultiplier)

Here is the caller graph for this function:

G4bool G4ViewParameters::operator!= ( const G4ViewParameters v) const

Definition at line 822 of file G4ViewParameters.cc.

Here is the call graph for this function:

void G4ViewParameters::PrintDifferences ( const G4ViewParameters v) const

Definition at line 576 of file G4ViewParameters.cc.

Here is the call graph for this function:

G4String G4ViewParameters::SceneModifyingCommands ( ) const

Definition at line 387 of file G4ViewParameters.cc.

Here is the call graph for this function:

void G4ViewParameters::SetAutoRefresh ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetAuxEdgeVisible ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetBackgroundColour ( const G4Colour )

Here is the caller graph for this function:

void G4ViewParameters::SetCulling ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetCullingCovered ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetCullingInvisible ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetCurrentTargetPoint ( const G4Point3D currentTargetPoint)

Here is the caller graph for this function:

void G4ViewParameters::SetCutawayMode ( CutawayMode  )

Here is the caller graph for this function:

void G4ViewParameters::SetDefaultColour ( const G4Colour )
void G4ViewParameters::SetDefaultMarker ( const G4VMarker defaultMarker)
void G4ViewParameters::SetDefaultTextColour ( const G4Colour )
void G4ViewParameters::SetDefaultTextVisAttributes ( const G4VisAttributes )

Here is the caller graph for this function:

void G4ViewParameters::SetDefaultVisAttributes ( const G4VisAttributes )

Here is the caller graph for this function:

void G4ViewParameters::SetDensityCulling ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetDolly ( G4double  dolly)

Here is the caller graph for this function:

void G4ViewParameters::SetDrawingStyle ( G4ViewParameters::DrawingStyle  style)

Here is the caller graph for this function:

void G4ViewParameters::SetExplodeCentre ( const G4Point3D explodeCentre)

Here is the caller graph for this function:

void G4ViewParameters::SetExplodeFactor ( G4double  explodeFactor)

Here is the caller graph for this function:

void G4ViewParameters::SetFieldHalfAngle ( G4double  fieldHalfAngle)

Here is the caller graph for this function:

void G4ViewParameters::SetGlobalLineWidthScale ( G4double  globalLineWidthScale)

Here is the caller graph for this function:

void G4ViewParameters::SetGlobalMarkerScale ( G4double  globalMarkerScale)

Here is the caller graph for this function:

void G4ViewParameters::SetLightpointDirection ( const G4Vector3D lightpointDirection)

Definition at line 231 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::SetLightsMoveWithCamera ( G4bool  moves)

Here is the caller graph for this function:

void G4ViewParameters::SetMarkerHidden ( )

Here is the caller graph for this function:

void G4ViewParameters::SetMarkerNotHidden ( )

Here is the caller graph for this function:

G4int G4ViewParameters::SetNoOfSides ( G4int  nSides)

Definition at line 190 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::SetOrthogonalProjection ( )
void G4ViewParameters::SetPan ( G4double  right,
G4double  up 
)

Definition at line 236 of file G4ViewParameters.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4ViewParameters::SetPerspectiveProjection ( G4double  fieldHalfAngle = 30.*CLHEP::deg)
void G4ViewParameters::SetPicking ( G4bool  )

Here is the caller graph for this function:

void G4ViewParameters::SetRepStyle ( G4ViewParameters::RepStyle  style)
void G4ViewParameters::SetRotationStyle ( RotationStyle  )

Here is the caller graph for this function:

void G4ViewParameters::SetScaleFactor ( const G4Vector3D scaleFactor)

Here is the caller graph for this function:

void G4ViewParameters::SetSectionPlane ( const G4Plane3D sectionPlane)

Here is the caller graph for this function:

void G4ViewParameters::SetUpVector ( const G4Vector3D upVector)

Here is the caller graph for this function:

void G4ViewParameters::SetViewAndLights ( const G4Vector3D viewpointDirection)

Definition at line 203 of file G4ViewParameters.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4ViewParameters::SetViewpointDirection ( const G4Vector3D viewpointDirection)

Here is the caller graph for this function:

void G4ViewParameters::SetVisibleDensity ( G4double  visibleDensity)

Definition at line 173 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::SetWindowLocationHint ( G4int  xHint,
G4int  yHint 
)
void G4ViewParameters::SetWindowSizeHint ( G4int  xHint,
G4int  yHint 
)
void G4ViewParameters::SetXGeometryString ( const G4String geomStringArg)

Definition at line 894 of file G4ViewParameters.cc.

Here is the caller graph for this function:

void G4ViewParameters::SetZoomFactor ( G4double  zoomFactor)

Here is the caller graph for this function:

G4String G4ViewParameters::TouchableCommands ( ) const

Definition at line 464 of file G4ViewParameters.cc.

Here is the call graph for this function:

void G4ViewParameters::UnsetExplodeFactor ( )
void G4ViewParameters::UnsetSectionPlane ( )

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DrawingStyle style 
)
friend

Definition at line 644 of file G4ViewParameters.cc.

std::ostream& operator<< ( std::ostream &  os,
const G4ViewParameters v 
)
friend

Definition at line 660 of file G4ViewParameters.cc.


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