Geant4-11
|
#include <Normal3D.h>
Public Types | |
enum | { X = 0 , Y = 1 , Z = 2 , NUM_COORDINATES = 3 , SIZE = NUM_COORDINATES } |
Public Member Functions | |
double | angle (const BasicVector3D< double > &v) const |
float | angle (const BasicVector3D< float > &v) const |
T | angle (const BasicVector3D< T > &v) const |
T | cosTheta () const |
BasicVector3D< T > | cross (const BasicVector3D< T > &v) const |
T | dot (const BasicVector3D< T > &v) const |
T | eta () const |
T | getEta () const |
T | getPhi () const |
T | getR () const |
T | getTheta () const |
T | mag () const |
T | mag2 () const |
operator CLHEP::Hep3Vector () const | |
operator const T * () const | |
operator T* () | |
T & | operator() (int i) |
T | operator() (int i) const |
BasicVector3D< T > & | operator*= (double a) |
BasicVector3D< T > & | operator+= (const BasicVector3D< T > &v) |
BasicVector3D< T > & | operator-= (const BasicVector3D< T > &v) |
BasicVector3D< T > & | operator/= (double a) |
T & | operator[] (int i) |
T | operator[] (int i) const |
BasicVector3D< T > | orthogonal () const |
T | perp () const |
T | perp (const BasicVector3D< T > &v) const |
T | perp2 () const |
T | perp2 (const BasicVector3D< T > &v) const |
T | phi () const |
T | pseudoRapidity () const |
float | pseudoRapidity () const |
double | pseudoRapidity () const |
T | r () const |
T | rho () const |
BasicVector3D< double > & | rotate (double a, const BasicVector3D< double > &v) |
BasicVector3D< float > & | rotate (float a, const BasicVector3D< float > &v) |
BasicVector3D< T > & | rotate (T a, const BasicVector3D< T > &v) |
BasicVector3D< double > & | rotateX (double a) |
BasicVector3D< float > & | rotateX (float a) |
BasicVector3D< T > & | rotateX (T a) |
BasicVector3D< double > & | rotateY (double a) |
BasicVector3D< float > & | rotateY (float a) |
BasicVector3D< T > & | rotateY (T a) |
BasicVector3D< double > & | rotateZ (double a) |
BasicVector3D< float > & | rotateZ (float a) |
BasicVector3D< T > & | rotateZ (T a) |
void | set (T x1, T y1, T z1) |
void | setEta (double a) |
void | setEta (float a) |
void | setEta (T a) |
void | setMag (T ma) |
void | setPerp (T rh) |
void | setPhi (T ph) |
void | setR (T ma) |
void | setTheta (T th) |
void | setX (T a) |
void | setY (T a) |
void | setZ (T a) |
T | theta () const |
BasicVector3D< T > | unit () const |
T | x () const |
T | y () const |
T | z () const |
Protected Attributes | |
T | v_ [3] |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator!= (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
bool | operator!= (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
double | operator* (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator* (const BasicVector3D< double > &v, double a) |
float | operator* (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator* (const BasicVector3D< float > &v, double a) |
Normal3D< double > | operator* (const Transform3D &m, const Normal3D< double > &n) |
Normal3D< float > | operator* (const Transform3D &m, const Normal3D< float > &n) |
BasicVector3D< double > | operator* (double a, const BasicVector3D< double > &v) |
BasicVector3D< float > | operator* (double a, const BasicVector3D< float > &v) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &v) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &v) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &v) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &v) |
BasicVector3D< double > | operator/ (const BasicVector3D< double > &v, double a) |
BasicVector3D< float > | operator/ (const BasicVector3D< float > &v, double a) |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< double > &) |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< float > &) |
bool | operator== (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
bool | operator== (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
std::istream & | operator>> (std::istream &, BasicVector3D< double > &) |
std::istream & | operator>> (std::istream &, BasicVector3D< float > &) |
Geometrical 3D Normal. This is just a declaration of the class needed to define specializations Normal3D<float> and Normal3D<double>.
Definition at line 33 of file Normal3D.h.
|
inherited |
Safe indexing of the coordinates when using with matrices, arrays, etc.
Enumerator | |
---|---|
X | index for x-component |
Y | index for y-component |
Z | index for z-component |
NUM_COORDINATES | number of components |
SIZE | number of components |
Definition at line 41 of file BasicVector3D.h.
|
inherited |
Definition at line 191 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::mag().
|
inherited |
Definition at line 35 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::mag().
|
inherited |
Returns angle w.r.t. another vector.
|
inlineinherited |
Gets cosine of polar angle.
Definition at line 217 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::mag(), and HepGeom::BasicVector3D< T >::z().
|
inlineinherited |
Vector product.
Definition at line 281 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4OpenGLSceneHandler::AddPrimitive(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4VSceneHandler::CreateSectionSolid(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ErrorSurfaceTrajParam::GetPlaneNormal(), HepPolyhedronTet::HepPolyhedronTet(), G4ViewParameters::IncrementPan(), G4OpenGLXmViewer::left_right_pan_callback(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), G4Qt3DViewer::mouseMoveEvent(), G4OpenGLViewer::rotateSceneThetaPhi(), G4ViewParameters::SetPan(), G4ErrorFreeTrajParam::SetParameters(), G4OpenGLWin32Viewer::SetRotation(), G4ViewParameters::SetViewAndLights(), HepPolyhedron::Transform(), HepGeom::Transform3D::Transform3D(), G4OpenGLXmViewer::up_down_pan_callback(), and G4OpenGLXmViewer::wobble_timer_callback().
|
inlineinherited |
Scalar product.
Definition at line 275 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4VSceneHandler::CreateSectionSolid(), HepPolyhedronTet::HepPolyhedronTet(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::BasicVector3D< T >::perp2(), and G4OpenGLViewer::rotateSceneThetaPhi().
|
inlineinherited |
Gets pseudo-rapidity.
Definition at line 260 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::pseudoRapidity().
|
inlineinherited |
Gets pseudo-rapidity.
Definition at line 263 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::pseudoRapidity().
|
inlineinherited |
Gets phi-component in spherical coordinate system
Definition at line 224 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::phi().
|
inlineinherited |
Gets r-component in spherical coordinate system
Definition at line 221 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::r().
|
inlineinherited |
Gets theta-component in spherical coordinate system
Definition at line 227 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::theta().
|
inlineinherited |
Gets magnitude of the vector.
Definition at line 201 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::mag2().
Referenced by G4BoundingSphereScene::AccrueBoundingSphere(), HepGeom::BasicVector3D< T >::angle(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), HepGeom::BasicVector3D< T >::cosTheta(), G4VSceneHandler::CreateSectionSolid(), G4OpenGLStoredViewer::DrawDisplayLists(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ErrorPropagator::Propagate(), G4ErrorFreeTrajState::PropagateError(), G4ErrorPropagator::PropagateOneStep(), HepGeom::BasicVector3D< T >::r(), HepGeom::BasicVector3D< T >::setMag(), G4ErrorFreeTrajParam::SetParameters(), G4ErrorSurfaceTrajParam::SetParameters(), HepGeom::BasicVector3D< T >::setTheta(), and HepGeom::BasicVector3D< T >::unit().
|
inlineinherited |
Gets magnitude squared of the vector.
Definition at line 198 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4BoundingEnvelope::CreateListOfPlanes(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), HepGeom::BasicVector3D< T >::mag(), and HepGeom::BasicVector3D< T >::perp2().
|
inlineinherited |
Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.
Definition at line 90 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Sets components by index.
Definition at line 136 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Gets components by index.
Definition at line 129 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Multiplication by scalar.
Definition at line 114 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Addition.
Definition at line 104 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Subtraction.
Definition at line 109 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Division by scalar.
Definition at line 119 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Sets components by index.
Definition at line 139 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Gets components by index.
Definition at line 132 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Returns orthogonal vector.
Definition at line 318 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inlineinherited |
Gets transverse component.
Definition at line 178 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::perp2().
Referenced by G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rho(), HepGeom::BasicVector3D< T >::setPerp(), HepGeom::BasicVector3D< T >::setPhi(), and HepGeom::BasicVector3D< T >::theta().
|
inlineinherited |
Returns transverse component w.r.t. given axis.
Definition at line 296 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::perp2().
|
inlineinherited |
Gets transverse component squared.
Definition at line 175 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), and HepGeom::BasicVector3D< T >::y().
Referenced by HepGeom::BasicVector3D< T >::perp().
|
inlineinherited |
Returns transverse component w.r.t. given axis squared.
Definition at line 289 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::dot(), HepGeom::BasicVector3D< T >::mag2(), and s.
|
inlineinherited |
Gets azimuth angle.
Definition at line 207 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), and HepGeom::BasicVector3D< T >::y().
Referenced by G4ArrowModel::G4ArrowModel(), HepGeom::BasicVector3D< T >::getPhi(), G4DAWNFILEViewer::SendViewParameters(), G4ErrorFreeTrajParam::SetParameters(), HepGeom::BasicVector3D< T >::setTheta(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
inherited |
Gets pseudo-rapidity: -ln(tan(theta/2))
Referenced by HepGeom::BasicVector3D< T >::eta(), and HepGeom::BasicVector3D< T >::getEta().
|
inherited |
Definition at line 12 of file BasicVector3D.cc.
References FLT_MAX.
|
inherited |
Definition at line 168 of file BasicVector3D.cc.
References DBL_MAX.
|
inlineinherited |
Gets r-component in spherical coordinate system
Definition at line 204 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::mag().
Referenced by HepGeom::BasicVector3D< T >::getR().
|
inlineinherited |
Gets rho-component in cylindrical coordinate system
Definition at line 181 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::perp().
|
inherited |
Definition at line 232 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inherited |
Definition at line 76 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inherited |
Rotates around the axis specified by another vector.
Referenced by G4OpenGLSceneHandler::AddPrimitive().
|
inherited |
Definition at line 204 of file BasicVector3D.cc.
|
inherited |
|
inherited |
Rotates around x-axis.
|
inherited |
Definition at line 213 of file BasicVector3D.cc.
|
inherited |
|
inherited |
Rotates around y-axis.
|
inherited |
|
inherited |
|
inherited |
Rotates around z-axis.
Referenced by G4VisCommandSceneAddArrow2D::Arrow2D::Arrow2D().
|
inlineinherited |
Sets components in cartesian coordinate system.
Definition at line 167 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4ElectricFieldModel::GetFieldAtLocation(), G4MagneticFieldModel::GetFieldAtLocation(), HepPolyhedronTet::HepPolyhedronTet(), G4OpenGLViewer::rotateSceneThetaPhi(), HepGeom::BasicVector3D< T >::setTheta(), HepGeom::Normal3D< float >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Vector3D< float >::transform(), and HepGeom::Vector3D< double >::transform().
|
inherited |
Definition at line 178 of file BasicVector3D.cc.
|
inherited |
Definition at line 22 of file BasicVector3D.cc.
|
inherited |
Sets pseudo-rapidity, keeping magnitude and phi fixed.
|
inlineinherited |
Sets magnitude.
Definition at line 231 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::mag(), and HepGeom::BasicVector3D< T >::v_.
Referenced by HepGeom::BasicVector3D< T >::setR().
|
inlineinherited |
Sets transverse component keeping phi and z constant.
Definition at line 185 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::perp(), and HepGeom::BasicVector3D< T >::v_.
|
inlineinherited |
Sets phi-component in spherical coordinate system.
Definition at line 242 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::perp(), HepGeom::BasicVector3D< T >::setX(), and HepGeom::BasicVector3D< T >::setY().
|
inlineinherited |
Sets r-component in spherical coordinate system.
Definition at line 239 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::setMag().
|
inlineinherited |
Sets theta-component in spherical coordinate system.
Definition at line 245 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::mag(), HepGeom::BasicVector3D< T >::phi(), and HepGeom::BasicVector3D< T >::set().
|
inlineinherited |
Sets x-component in cartesian coordinate system.
Definition at line 157 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4BoundingEnvelope::ClipEdgesByVoxel(), G4BoundingEnvelope::ClipVoxelByPlanes(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator>>(), G4ErrorFreeTrajState::PropagateError(), and HepGeom::BasicVector3D< T >::setPhi().
|
inlineinherited |
Sets y-component in cartesian coordinate system.
Definition at line 160 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4BoundingEnvelope::ClipEdgesByVoxel(), G4BoundingEnvelope::ClipVoxelByPlanes(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator>>(), and HepGeom::BasicVector3D< T >::setPhi().
|
inlineinherited |
Sets z-component in cartesian coordinate system.
Definition at line 163 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4BoundingEnvelope::ClipEdgesByVoxel(), G4BoundingEnvelope::ClipVoxelByPlanes(), G4ViewParameters::MultiplyScaleFactor(), and HepGeom::BasicVector3D< T >::operator>>().
|
inlineinherited |
Gets polar angle.
Definition at line 212 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::perp(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4ArrowModel::G4ArrowModel(), HepGeom::BasicVector3D< T >::getTheta(), G4ErrorFreeTrajState::PropagateError(), G4DAWNFILEViewer::SendViewParameters(), G4ErrorFreeTrajParam::SetParameters(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
inlineinherited |
Returns unit vector parallel to this.
Definition at line 310 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::mag(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4BoundingSphereScene::AccrueBoundingSphere(), G4VisCommandSceneAddArrow2D::Arrow2D::Arrow2D(), G4ViewParameters::CatmullRomCubicSplineInterpolation(), G4OpenGLStoredViewer::DrawDisplayLists(), G4ArrowModel::G4ArrowModel(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), G4Qt3DViewer::mouseMoveEvent(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4DAWNFILEViewer::SendViewParameters(), G4OpenGLWin32Viewer::SetRotation(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), and G4ViewParameters::SetViewAndLights().
|
inlineinherited |
Gets x-component in cartesian coordinate system.
Definition at line 147 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4OpenInventorSceneHandler::AddCircleSquare(), G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4OpenGLSceneHandler::AddPrimitive(), G4VtkSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4OpenInventorSceneHandler::AddTransform(), HepGeom::BasicVector3D< T >::BasicVector3D(), G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BoundingEnvelope::CalculateExtent(), G4ViewParameters::CameraAndLightingCommands(), G4BoundingEnvelope::ClipEdgesByVoxel(), G4BoundingEnvelope::ClipVoxelByPlanes(), G4VViewer::ComputeFlyThrough(), G4CutTubs::CreatePolyhedron(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG(), HepGeom::BasicVector3D< T >::cross(), G4VFieldModel::DescribeYourselfTo(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< double >::distance2(), HepGeom::Point3D< float >::distance2(), HepGeom::BasicVector3D< T >::dot(), mcscore.MCVertex::dump_vertex(), G4GMocrenFileSceneHandler::ExtractDetector(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4VisExtent::G4VisExtent(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), HepGeom::BasicVector3D< T >::mag2(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), std::hash< G4Polyhedron >::operator()(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::Normal3D< T >::operator*(), HepGeom::Point3D< T >::operator*(), HepGeom::Vector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), HepGeom::BasicVector3D< T >::operator<<(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< T >::orthogonal(), HepGeom::BasicVector3D< T >::perp2(), HepGeom::BasicVector3D< T >::phi(), HepGeom::Plane3D< T >::point(), mcscore.MCVertex::printout(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ErrorFreeTrajParam::SetParameters(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), G4ViewParameters::SetViewAndLights(), HepGeom::BasicVector3D< T >::theta(), HepGeom::Normal3D< float >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Vector3D< float >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Transform3D::Transform3D(), HepGeom::BasicVector3D< T >::unit(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
inlineinherited |
Gets y-component in cartesian coordinate system.
Definition at line 150 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4OpenInventorSceneHandler::AddCircleSquare(), G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4OpenGLSceneHandler::AddPrimitive(), G4VtkSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4OpenInventorSceneHandler::AddTransform(), HepGeom::BasicVector3D< T >::BasicVector3D(), G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BoundingEnvelope::CalculateExtent(), G4ViewParameters::CameraAndLightingCommands(), G4BoundingEnvelope::ClipEdgesByVoxel(), G4BoundingEnvelope::ClipVoxelByPlanes(), G4VViewer::ComputeFlyThrough(), G4CutTubs::CreatePolyhedron(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG(), HepGeom::BasicVector3D< T >::cross(), G4VFieldModel::DescribeYourselfTo(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< double >::distance2(), HepGeom::Point3D< float >::distance2(), HepGeom::BasicVector3D< T >::dot(), mcscore.MCVertex::dump_vertex(), G4GMocrenFileSceneHandler::ExtractDetector(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4VisExtent::G4VisExtent(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), HepGeom::BasicVector3D< T >::mag2(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), std::hash< G4Polyhedron >::operator()(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::Normal3D< T >::operator*(), HepGeom::Point3D< T >::operator*(), HepGeom::Vector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), HepGeom::BasicVector3D< T >::operator<<(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< T >::orthogonal(), HepGeom::BasicVector3D< T >::perp2(), HepGeom::BasicVector3D< T >::phi(), HepGeom::Plane3D< T >::point(), mcscore.MCVertex::printout(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ErrorFreeTrajParam::SetParameters(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), G4ViewParameters::SetViewAndLights(), HepGeom::BasicVector3D< T >::theta(), HepGeom::Normal3D< float >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Vector3D< float >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Transform3D::Transform3D(), HepGeom::BasicVector3D< T >::unit(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
inlineinherited |
Gets z-component in cartesian coordinate system.
Definition at line 153 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
Referenced by G4OpenInventorSceneHandler::AddCircleSquare(), G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4OpenGLSceneHandler::AddPrimitive(), G4VtkSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4OpenInventorSceneHandler::AddTransform(), HepGeom::BasicVector3D< T >::BasicVector3D(), G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4BoundingEnvelope::CalculateExtent(), G4ViewParameters::CameraAndLightingCommands(), G4BoundingEnvelope::ClipEdgesByVoxel(), G4BoundingEnvelope::ClipVoxelByPlanes(), G4VViewer::ComputeFlyThrough(), HepGeom::BasicVector3D< T >::cosTheta(), G4CutTubs::CreatePolyhedron(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG(), HepGeom::BasicVector3D< T >::cross(), G4VFieldModel::DescribeYourselfTo(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< double >::distance2(), HepGeom::Point3D< float >::distance2(), HepGeom::BasicVector3D< T >::dot(), mcscore.MCVertex::dump_vertex(), G4GMocrenFileSceneHandler::ExtractDetector(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4VisExtent::G4VisExtent(), HepGeom::BasicVector3D< T >::mag2(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), std::hash< G4Polyhedron >::operator()(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::Normal3D< T >::operator*(), HepGeom::Point3D< T >::operator*(), HepGeom::Vector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), HepGeom::BasicVector3D< T >::operator<<(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< T >::orthogonal(), HepGeom::Plane3D< T >::point(), mcscore.MCVertex::printout(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4OpenGLViewer::rotateSceneInViewDirection(), G4OpenGLViewer::rotateSceneThetaPhi(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4VtkViewer::SetView(), HepGeom::BasicVector3D< T >::theta(), HepGeom::Normal3D< float >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Vector3D< float >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Transform3D::Transform3D(), HepGeom::BasicVector3D< T >::unit(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
related |
Comparison of two vectors for inequality.
Definition at line 562 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Comparison of two vectors for inequality.
Definition at line 453 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Scalar product of two vectors.
Definition at line 525 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::dot().
|
related |
Multiplication vector by scalar.
Definition at line 516 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Scalar product of two vectors.
Definition at line 417 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::dot().
|
related |
Multiplication vector by scalar.
Definition at line 408 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Transformation of Normal<double> by Transform3D.
Definition at line 49 of file Normal3D.cc.
References m, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Transformation of Normal<float> by Transform3D.
Definition at line 23 of file Normal3D.cc.
References m, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Multiplication scalar by vector.
Definition at line 534 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Multiplication scalar by vector.
Definition at line 426 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Addition of two vectors.
Definition at line 489 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
|
related |
Addition of two vectors.
Definition at line 381 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
|
related |
Subtraction of two vectors.
Definition at line 507 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Unary minus.
Definition at line 498 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Subtraction of two vectors.
Definition at line 399 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Unary minus.
Definition at line 390 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Division vector by scalar.
Definition at line 543 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Division vector by scalar.
Definition at line 435 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Output to stream.
Definition at line 261 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Output to stream.
Definition at line 105 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Comparison of two vectors for equality.
Definition at line 552 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Comparison of two vectors for equality.
Definition at line 444 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4Solver< Function >::operator!=().
|
related |
Input from stream.
Definition at line 269 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::setX(), HepGeom::BasicVector3D< T >::setY(), and HepGeom::BasicVector3D< T >::setZ().
|
related |
Input from stream.
Definition at line 113 of file BasicVector3D.cc.
References HepGeom::BasicVector3D< T >::setX(), HepGeom::BasicVector3D< T >::setY(), and HepGeom::BasicVector3D< T >::setZ().
|
protectedinherited |
Definition at line 29 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< T >::BasicVector3D(), HepGeom::BasicVector3D< double >::operator const double *(), HepGeom::BasicVector3D< double >::operator double *(), HepGeom::BasicVector3D< T >::operator()(), HepGeom::BasicVector3D< T >::operator*=(), HepGeom::BasicVector3D< T >::operator+=(), HepGeom::BasicVector3D< T >::operator-=(), HepGeom::BasicVector3D< T >::operator/=(), HepGeom::BasicVector3D< T >::operator[](), HepGeom::BasicVector3D< T >::set(), HepGeom::BasicVector3D< T >::setMag(), HepGeom::BasicVector3D< T >::setPerp(), HepGeom::BasicVector3D< T >::setX(), HepGeom::BasicVector3D< T >::setY(), HepGeom::BasicVector3D< T >::setZ(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().