Geant4  10.03
G4VViewer::G4Spline Class Reference

#include <G4VViewer.hh>

Public Member Functions

 G4Spline ()
 
 ~G4Spline ()
 
void AddSplinePoint (const G4Vector3D &v)
 
G4Vector3D GetInterpolatedSplinePoint (float t)
 
int GetNumPoints ()
 
G4Vector3D GetPoint (int)
 
G4Vector3D CatmullRom_Eq (float t, const G4Vector3D &p1, const G4Vector3D &p2, const G4Vector3D &p3, const G4Vector3D &p4)
 

Private Attributes

std::vector< G4Vector3Dvp
 
float delta_t
 

Detailed Description

Definition at line 176 of file G4VViewer.hh.

Constructor & Destructor Documentation

G4VViewer::G4Spline::G4Spline ( )

Definition at line 393 of file G4VViewer.cc.

G4VViewer::G4Spline::~G4Spline ( )

Definition at line 399 of file G4VViewer.cc.

Member Function Documentation

void G4VViewer::G4Spline::AddSplinePoint ( const G4Vector3D v)

Definition at line 416 of file G4VViewer.cc.

Referenced by G4VViewer::ComputeFlyThrough().

+ Here is the caller graph for this function:

G4Vector3D G4VViewer::G4Spline::CatmullRom_Eq ( float  t,
const G4Vector3D p1,
const G4Vector3D p2,
const G4Vector3D p3,
const G4Vector3D p4 
)

Definition at line 403 of file G4VViewer.cc.

G4Vector3D G4VViewer::G4Spline::GetInterpolatedSplinePoint ( float  t)

Definition at line 433 of file G4VViewer.cc.

References BOUNDS.

Referenced by G4VViewer::ComputeFlyThrough().

+ Here is the caller graph for this function:

int G4VViewer::G4Spline::GetNumPoints ( )

Definition at line 428 of file G4VViewer.cc.

G4Vector3D G4VViewer::G4Spline::GetPoint ( int  a)

Definition at line 423 of file G4VViewer.cc.

References a.

Member Data Documentation

float G4VViewer::G4Spline::delta_t
private

Definition at line 196 of file G4VViewer.hh.

std::vector<G4Vector3D> G4VViewer::G4Spline::vp
private

Definition at line 195 of file G4VViewer.hh.


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