Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4NURBS.hh>
Classes | |
class | CtrlPtsCoordsIterator |
class | CtrlPtsIterator |
class | KnotsIterator |
struct | t_Dir |
Public Types | |
enum | t_direction { U = 0 , V = 1 , DMask = 1 , NofD = 2 } |
enum | { X , Y , Z , W , NofC } |
enum | t_KnotVectorGenFlag { UserDefined , Regular , RegularRep } |
typedef unsigned int | t_index |
typedef t_index | t_indKnot |
typedef unsigned int | t_indCoord |
typedef unsigned int | t_indCtrlPt |
typedef t_index | t_inddCtrlPt |
typedef G4double | t_doubleCtrlPt[NofC] |
typedef G4float | t_floatCtrlPt[NofC] |
typedef t_index | t_order |
typedef G4Float | t_Knot |
Static Public Member Functions | |
static char | Tochar (t_direction in_dir) |
Protected Types | |
enum | t_CheckFlag { NOcheck , check } |
typedef Float | G4Float |
typedef G4Float | t_Coord |
typedef t_Coord | t_CtrlPt[NofC] |
Protected Member Functions | |
G4NURBS (t_order in_Uorder, t_order in_Vorder, t_inddCtrlPt in_UnbrCtrlPts, t_inddCtrlPt in_VnbrCtrlPts, t_CtrlPt *in_pCtrlPts, t_Knot *in_pUKnots=0, t_Knot *in_pVKnots=0, t_CheckFlag in_CheckFlag=check) | |
G4NURBS (t_order in_Uorder, t_order in_Vorder, t_inddCtrlPt in_UnbrCtrlPts, t_inddCtrlPt in_VnbrCtrlPts, t_KnotVectorGenFlag in_UKVGFlag=Regular, t_KnotVectorGenFlag in_VKVGFlag=Regular, t_CheckFlag in_CheckFlag=check) | |
t_indCtrlPt | To1d (t_inddCtrlPt in_Uindex, t_inddCtrlPt in_Vindex) const |
Static Protected Member Functions | |
static t_floatCtrlPt * | TofloatCtrlPt (const t_CtrlPt &) |
static t_doubleCtrlPt * | TodoubleCtrlPt (const t_CtrlPt &) |
static G4bool | MakeKnotVector (t_Dir &inout_dirdat, t_KnotVectorGenFlag in_KVGFlag) |
static G4bool | MakeKnotVector (t_Dir *p_inoutdirdat, t_KnotVectorGenFlag in_KVGFlag) |
static void | CP (G4NURBS::t_CtrlPt &rcp, t_Coord x, t_Coord y, t_Coord z, t_Coord w) |
static void | CP (G4NURBS::t_CtrlPt &rcp, t_Coord x, t_Coord y, t_Coord z, t_Coord w, G4Float factor) |
Protected Attributes | |
t_Dir | m [NofD] |
t_indCtrlPt | mtotnbrCtrlPts |
t_CtrlPt * | mpCtrlPts |
Protected Attributes inherited from G4Visible | |
const G4VisAttributes * | fpVisAttributes |
G4bool | fAllocatedVisAttributes |
Friends | |
class | KnotsIterator |
class | CtrlPtsCoordsIterator |
class | CtrlPtsIterator |
std::ostream & | operator<< (std::ostream &inout_OutStream, t_KnotVectorGenFlag in_KVGFlag) |
Definition at line 51 of file G4NURBS.hh.
|
protected |
Definition at line 168 of file G4NURBS.hh.
|
protected |
Definition at line 181 of file G4NURBS.hh.
Definition at line 182 of file G4NURBS.hh.
Definition at line 110 of file G4NURBS.hh.
Definition at line 111 of file G4NURBS.hh.
typedef unsigned int G4NURBS::t_indCoord |
Definition at line 90 of file G4NURBS.hh.
typedef unsigned int G4NURBS::t_indCtrlPt |
Definition at line 91 of file G4NURBS.hh.
typedef t_index G4NURBS::t_inddCtrlPt |
Definition at line 92 of file G4NURBS.hh.
typedef unsigned int G4NURBS::t_index |
Definition at line 84 of file G4NURBS.hh.
typedef t_index G4NURBS::t_indKnot |
Definition at line 87 of file G4NURBS.hh.
typedef G4Float G4NURBS::t_Knot |
Definition at line 176 of file G4NURBS.hh.
typedef t_index G4NURBS::t_order |
Definition at line 173 of file G4NURBS.hh.
anonymous enum |
|
protected |
enum G4NURBS::t_direction |
Enumerator | |
---|---|
U | |
V | |
DMask | |
NofD |
Definition at line 71 of file G4NURBS.hh.
Enumerator | |
---|---|
UserDefined | |
Regular | |
RegularRep |
Definition at line 319 of file G4NURBS.hh.
|
virtual |
Definition at line 546 of file G4NURBS.cc.
|
protected |
Definition at line 412 of file G4NURBS.cc.
|
protected |
Definition at line 464 of file G4NURBS.cc.
void G4NURBS::CalcPoint | ( | G4double | u, |
G4double | v, | ||
G4Point3D & | p, | ||
G4Vector3D & | utan, | ||
G4Vector3D & | vtan | ||
) | const |
Definition at line 659 of file G4NURBS.cc.
|
inlinestaticprotected |
Definition at line 520 of file G4NURBS.hh.
Referenced by G4NURBSbox::G4NURBSbox(), G4NURBScylinder::G4NURBScylinder(), G4NURBShexahedron::G4NURBShexahedron(), G4NURBStube::G4NURBStube(), and G4NURBStubesector::G4NURBStubesector().
|
inlinestaticprotected |
Definition at line 530 of file G4NURBS.hh.
G4double * G4NURBS::GetdoubleAllCtrlPts | ( | ) | const |
Definition at line 226 of file G4NURBS.cc.
G4double * G4NURBS::GetdoubleAllKnots | ( | t_direction | in_dir | ) | const |
G4NURBS::t_doubleCtrlPt * G4NURBS::GetdoubleCtrlPt | ( | t_indCtrlPt | in_onedimindex | ) | const |
Definition at line 170 of file G4NURBS.cc.
Referenced by CalcPoint().
G4NURBS::t_doubleCtrlPt * G4NURBS::GetdoubleCtrlPt | ( | t_inddCtrlPt | in_Uindex, |
t_inddCtrlPt | in_Vindex | ||
) | const |
Definition at line 184 of file G4NURBS.cc.
G4double G4NURBS::GetdoubleKnot | ( | t_direction | in_dir, |
t_indKnot | in_index | ||
) | const |
Definition at line 123 of file G4NURBS.cc.
G4float * G4NURBS::GetfloatAllCtrlPts | ( | ) | const |
Definition at line 218 of file G4NURBS.cc.
G4float * G4NURBS::GetfloatAllKnots | ( | t_direction | in_dir | ) | const |
G4NURBS::t_floatCtrlPt * G4NURBS::GetfloatCtrlPt | ( | t_indCtrlPt | in_onedimindex | ) | const |
Definition at line 140 of file G4NURBS.cc.
G4NURBS::t_floatCtrlPt * G4NURBS::GetfloatCtrlPt | ( | t_inddCtrlPt | in_Uindex, |
t_inddCtrlPt | in_Vindex | ||
) | const |
Definition at line 154 of file G4NURBS.cc.
G4float G4NURBS::GetfloatKnot | ( | t_direction | in_dir, |
t_indKnot | in_index | ||
) | const |
Definition at line 108 of file G4NURBS.cc.
|
inline |
Definition at line 463 of file G4NURBS.hh.
|
inline |
Definition at line 459 of file G4NURBS.hh.
Referenced by operator<<().
|
inline |
Definition at line 455 of file G4NURBS.hh.
|
inline |
Definition at line 437 of file G4NURBS.hh.
|
inline |
Definition at line 443 of file G4NURBS.hh.
|
inline |
|
inline |
|
inline |
Definition at line 433 of file G4NURBS.hh.
|
inline |
Definition at line 431 of file G4NURBS.hh.
Referenced by CalcPoint(), GetUmin(), and operator<<().
|
inline |
Definition at line 451 of file G4NURBS.hh.
|
inline |
|
inline |
|
inline |
Definition at line 434 of file G4NURBS.hh.
|
inline |
Definition at line 432 of file G4NURBS.hh.
Referenced by CalcPoint(), GetVmin(), and operator<<().
|
staticprotected |
Definition at line 331 of file G4NURBS.cc.
Referenced by G4NURBS(), and MakeKnotVector().
|
inlinestaticprotected |
Definition at line 507 of file G4NURBS.hh.
|
inlineprotected |
Definition at line 481 of file G4NURBS.hh.
Referenced by G4NURBShexahedron::G4NURBShexahedron(), GetdoubleCtrlPt(), and GetfloatCtrlPt().
|
inlinestatic |
Definition at line 467 of file G4NURBS.hh.
Referenced by G4NURBS(), and operator<<().
|
inlinestaticprotected |
Definition at line 498 of file G4NURBS.hh.
Referenced by GetdoubleCtrlPt().
|
inlinestaticprotected |
Definition at line 488 of file G4NURBS.hh.
Referenced by GetfloatCtrlPt().
|
pure virtual |
Implemented in G4NURBSbox, G4NURBScylinder, G4NURBShexahedron, G4NURBStube, and G4NURBStubesector.
Referenced by operator<<().
|
friend |
Definition at line 202 of file G4NURBS.hh.
|
friend |
Definition at line 203 of file G4NURBS.hh.
|
friend |
Definition at line 201 of file G4NURBS.hh.
|
friend |
Definition at line 369 of file G4NURBS.cc.
Definition at line 348 of file G4NURBS.hh.
Referenced by CalcPoint(), G4NURBS(), G4NURBScylinder::G4NURBScylinder(), GetdoubleAllKnots(), GetdoubleCtrlPt(), GetdoubleKnot(), GetfloatAllKnots(), GetfloatCtrlPt(), GetfloatKnot(), GetnbrCtrlPts(), GetnbrKnots(), Getorder(), GetUmax(), GetUmin(), GetUnbrCtrlPts(), GetUnbrKnots(), GetUorder(), GetVmax(), GetVmin(), GetVnbrCtrlPts(), GetVnbrKnots(), GetVorder(), G4NURBS::KnotsIterator::KnotsIterator(), To1d(), and ~G4NURBS().
|
protected |
Definition at line 350 of file G4NURBS.hh.
Referenced by G4NURBS::CtrlPtsCoordsIterator::CtrlPtsCoordsIterator(), G4NURBS::CtrlPtsIterator::CtrlPtsIterator(), G4NURBS(), G4NURBSbox::G4NURBSbox(), G4NURBScylinder::G4NURBScylinder(), G4NURBShexahedron::G4NURBShexahedron(), G4NURBStube::G4NURBStube(), G4NURBStubesector::G4NURBStubesector(), GetdoubleAllCtrlPts(), GetdoubleCtrlPt(), GetfloatAllCtrlPts(), GetfloatCtrlPt(), and ~G4NURBS().
|
protected |
Definition at line 349 of file G4NURBS.hh.
Referenced by G4NURBS::CtrlPtsCoordsIterator::CtrlPtsCoordsIterator(), G4NURBS::CtrlPtsIterator::CtrlPtsIterator(), G4NURBS(), G4NURBStubesector::G4NURBStubesector(), GetdoubleAllCtrlPts(), GetdoubleCtrlPt(), GetfloatAllCtrlPts(), GetfloatCtrlPt(), and GettotalnbrCtrlPts().