Geant4  10.01.p03
UTransform3D Class Reference

#include <UTransform3D.hh>

+ Collaboration diagram for UTransform3D:

Public Member Functions

 UTransform3D ()
 
 UTransform3D (double tx, double ty, double tz, double phi=0., double theta=0., double psi=0.)
 
 UTransform3D (const UTransform3D &other)
 
 ~UTransform3D ()
 
void RotateX (double angle)
 
void RotateY (double angle)
 
void RotateZ (double angle)
 
void SetAngles (double phi, double theta, double psi)
 
UVector3 GlobalPoint (const UVector3 &local) const
 
UVector3 GlobalVector (const UVector3 &local) const
 
UVector3 LocalPoint (const UVector3 &global) const
 
UVector3 LocalVector (const UVector3 &global) const
 
UTransform3Doperator= (const UTransform3D &other)
 
UTransform3Doperator*= (const UTransform3D &other)
 
UTransform3Doperator*= (const UVector3 &vect)
 

Public Attributes

UVector3 fTr
 
double fRot [9]
 

Detailed Description

Definition at line 26 of file UTransform3D.hh.

Constructor & Destructor Documentation

UTransform3D::UTransform3D ( )

Definition at line 31 of file UTransform3D.cc.

References fRot, fTr, kIdRot, and UVector3::Set().

+ Here is the call graph for this function:

UTransform3D::UTransform3D ( double  tx,
double  ty,
double  tz,
double  phi = 0.,
double  theta = 0.,
double  psi = 0. 
)

Definition at line 39 of file UTransform3D.cc.

References fTr, UVector3::Set(), and SetAngles().

+ Here is the call graph for this function:

UTransform3D::UTransform3D ( const UTransform3D other)

Definition at line 53 of file UTransform3D.cc.

References fRot, fTr, and kIdRot.

UTransform3D::~UTransform3D ( )
inline

Definition at line 34 of file UTransform3D.hh.

Member Function Documentation

UVector3 UTransform3D::GlobalPoint ( const UVector3 local) const

Definition at line 167 of file UTransform3D.cc.

References fRot, fTr, UVector3::x(), UVector3::y(), and UVector3::z().

Referenced by UMultiUnion::DistanceToOutNoVoxels(), UMultiUnion::GetPointOnSurface(), and UUtils::TransformLimits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UVector3 UTransform3D::GlobalVector ( const UVector3 local) const

Definition at line 180 of file UTransform3D.cc.

References fRot, UVector3::x(), UVector3::y(), and UVector3::z().

Referenced by UMultiUnion::DistanceToOutVoxels(), and UMultiUnion::Normal().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UVector3 UTransform3D::LocalPoint ( const UVector3 global) const

Definition at line 194 of file UTransform3D.cc.

References fRot, fTr, local, UVector3::x(), UVector3::y(), and UVector3::z().

Referenced by UMultiUnion::DistanceToInCandidates(), UMultiUnion::DistanceToInNoVoxels(), UMultiUnion::DistanceToOutNoVoxels(), UMultiUnion::DistanceToOutVoxels(), UMultiUnion::InsideNoVoxels(), UMultiUnion::InsideWithExclusion(), UMultiUnion::Normal(), UMultiUnion::SafetyFromInside(), UMultiUnion::SafetyFromOutside(), and UMultiUnion::SafetyFromOutsideNumberNode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UVector3 UTransform3D::LocalVector ( const UVector3 global) const

Definition at line 208 of file UTransform3D.cc.

References fRot, local, UVector3::x(), UVector3::y(), and UVector3::z().

Referenced by UMultiUnion::DistanceToInCandidates(), UMultiUnion::DistanceToInNoVoxels(), UMultiUnion::DistanceToOutNoVoxels(), and UMultiUnion::DistanceToOutVoxels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UTransform3D & UTransform3D::operator*= ( const UTransform3D other)

Definition at line 222 of file UTransform3D.cc.

References fRot, fTr, kIdRot, UVector3::x(), UVector3::y(), and UVector3::z().

+ Here is the call graph for this function:

UTransform3D & UTransform3D::operator*= ( const UVector3 vect)

Definition at line 244 of file UTransform3D.cc.

References fRot, fTr, UVector3::x(), UVector3::y(), and UVector3::z().

+ Here is the call graph for this function:

UTransform3D & UTransform3D::operator= ( const UTransform3D other)

Definition at line 63 of file UTransform3D.cc.

References fRot, fTr, and kIdRot.

void UTransform3D::RotateX ( double  angle)

Definition at line 101 of file UTransform3D.cc.

References fRot, fTr, UUtils::kDegToRad, kIdRot, s, UVector3::Set(), UVector3::x(), UVector3::y(), and UVector3::z().

+ Here is the call graph for this function:

void UTransform3D::RotateY ( double  angle)

Definition at line 123 of file UTransform3D.cc.

References fRot, fTr, UUtils::kDegToRad, kIdRot, s, UVector3::Set(), UVector3::x(), UVector3::y(), and UVector3::z().

+ Here is the call graph for this function:

void UTransform3D::RotateZ ( double  angle)

Definition at line 145 of file UTransform3D.cc.

References fRot, fTr, UUtils::kDegToRad, kIdRot, s, UVector3::Set(), UVector3::x(), UVector3::y(), and UVector3::z().

+ Here is the call graph for this function:

void UTransform3D::SetAngles ( double  phi,
double  theta,
double  psi 
)

Definition at line 72 of file UTransform3D.cc.

References fRot, and UUtils::kDegToRad.

Referenced by UTransform3D().

+ Here is the caller graph for this function:

Member Data Documentation


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