Geant4
9.6.p02
|
#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 |
Enumerator | |
---|---|
X | |
Y | |
Z | |
W | |
NofC |
Definition at line 106 of file G4NURBS.hh.
|
protected |
Enumerator | |
---|---|
NOcheck | |
check |
Definition at line 280 of file G4NURBS.hh.
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 |
|
protected |
void G4NURBS::CalcPoint | ( | G4double | u, |
G4double | v, | ||
G4Point3D & | p, | ||
G4Vector3D & | utan, | ||
G4Vector3D & | vtan | ||
) | const |
|
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 |
Definition at line 209 of file G4NURBS.cc.
G4NURBS::t_doubleCtrlPt * G4NURBS::GetdoubleCtrlPt | ( | t_indCtrlPt | in_onedimindex) | const |
Definition at line 170 of file G4NURBS.cc.
G4NURBS::t_doubleCtrlPt * G4NURBS::GetdoubleCtrlPt | ( | t_inddCtrlPt | in_Uindex, |
t_inddCtrlPt | in_Vindex | ||
) | const |
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 |
Definition at line 200 of file G4NURBS.cc.
G4NURBS::t_floatCtrlPt * G4NURBS::GetfloatCtrlPt | ( | t_indCtrlPt | in_onedimindex) | const |
G4NURBS::t_floatCtrlPt * G4NURBS::GetfloatCtrlPt | ( | t_inddCtrlPt | in_Uindex, |
t_inddCtrlPt | in_Vindex | ||
) | const |
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 |
|
inline |
Definition at line 455 of file G4NURBS.hh.
|
inline |
Definition at line 437 of file G4NURBS.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 433 of file G4NURBS.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 434 of file G4NURBS.hh.
|
inline |
|
staticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlinestatic |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
pure virtual |
Implemented in G4NURBShexahedron, G4NURBStubesector, G4NURBSbox, G4NURBScylinder, and G4NURBStube.
|
friend |
Definition at line 202 of file G4NURBS.hh.
|
friend |
Definition at line 203 of file G4NURBS.hh.
|
friend |
Definition at line 198 of file G4NURBS.hh.
|
friend |
Definition at line 369 of file G4NURBS.cc.
Definition at line 348 of file G4NURBS.hh.
|
protected |
Definition at line 350 of file G4NURBS.hh.
|
protected |
Definition at line 349 of file G4NURBS.hh.