Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
매크로 | 함수
G4ViewParameters.cc 파일 참조
#include <sstream>
#include "G4ViewParameters.hh"
#include "G4VisManager.hh"
#include "G4VPhysicalVolume.hh"
#include "G4UnitsTable.hh"
#include "G4SystemOfUnits.hh"
#include "G4ios.hh"

이 파일의 소스 코드 페이지로 가기

매크로

#define INTERPOLATE(param)
 
#define INTERPOLATEUNITVECTOR(vector)
 
#define INTERPOLATEVECTOR(vector)
 
#define INTERPOLATEPOINT(point)
 
#define INTERPOLATECOLOUR(colour)
 
#define CONTINUITY(quantity)
 
#define INTERPOLATEPLANE(plane)
 

함수

std::ostream & operator<< (std::ostream &os, const G4ViewParameters::DrawingStyle &style)
 
std::ostream & operator<< (std::ostream &os, const G4ViewParameters &v)
 

매크로 문서화

#define CONTINUITY (   quantity)
값:
continuous = false; \
/* This follows the logic of the INTERPOLATE macro above; see comments therein */ \
if (i == 0) { \
if (v[1].quantity == v[0].quantity) { \
if (n == 1) continuous = true; \
else if (v[2].quantity == v[0].quantity) \
continuous = true; \
} \
} else if (i >= n - 1) { \
if (v[i+1].quantity == v[i].quantity) { \
if (n == 1) continuous = true; \
else if (v[i+1].quantity == v[i-1].quantity) \
continuous = true; \
} \
} else { \
if (v[i-1].quantity == v[i].quantity && \
v[i+1].quantity == v[i].quantity && \
v[i+2].quantity == v[i].quantity) \
continuous = true; \
}
if(nlines<=0)
Char_t n[5]

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

#define INTERPOLATE (   param)
값:
/* This works out the interpolated param in i'th interval */ \
/* Assumes n >= 1 */ \
if (i == 0) { \
/* First interval */ \
mi = v[1].param - v[0].param; \
/* If there is only one interval, make start and end slopes equal */ \
/* (This results in a linear interpolation) */ \
if (n == 1) mi1 = mi; \
/* else the end slope of the interval takes account of the next waypoint along */ \
else mi1 = 0.5 * (v[2].param - v[0].param); \
} else if (i >= n - 1) { \
/* Similarly for last interval */ \
mi1 = v[i+1].param - v[i].param; \
/* If there is only one interval, make start and end slopes equal */ \
if (n == 1) mi = mi1; \
/* else the start slope of the interval takes account of the previous waypoint */ \
else mi = 0.5 * (v[i+1].param - v[i-1].param); \
} else { \
/* Full Catmull-Rom slopes use previous AND next waypoints */ \
mi = 0.5 * (v[i+1].param - v[i-1].param); \
mi1 = 0.5 * (v[i+2].param - v[i ].param); \
} \
real = h00 * v[i].param + h10 * mi + h01 * v[i+1].param + h11 * mi1;
TH1F * h10
if(nlines<=0)
TH1F * h11
Char_t n[5]

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

#define INTERPOLATECOLOUR (   colour)
값:
INTERPOLATE(colour.GetRed()); red = real; \
INTERPOLATE(colour.GetGreen()); green = real; \
INTERPOLATE(colour.GetBlue()); blue = real; \
INTERPOLATE(colour.GetAlpha()); alpha = real;
#define INTERPOLATE(param)
Definition: test07.cc:36
Definition: test07.cc:36
static const G4double alpha

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

#define INTERPOLATEPLANE (   plane)
값:
INTERPOLATE(plane.a()); a = real; \
INTERPOLATE(plane.b()); b = real; \
INTERPOLATE(plane.c()); c = real; \
INTERPOLATE(plane.d()); d = real;
#define INTERPOLATE(param)
std::vector< ExP01TrackerHit * > a
Definition: ExP01Classes.hh:33
Float_t d

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

#define INTERPOLATEPOINT (   point)
값:
INTERPOLATE(point.x()); x = real; \
INTERPOLATE(point.y()); y = real; \
INTERPOLATE(point.z()); z = real;
Float_t x
Definition: compare.C:6
#define INTERPOLATE(param)
Float_t y
Definition: compare.C:6
Double_t z

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

#define INTERPOLATEUNITVECTOR (   vector)
값:
INTERPOLATE(vector.x()); x = real; \
INTERPOLATE(vector.y()); y = real; \
INTERPOLATE(vector.z()); z = real;
Float_t x
Definition: compare.C:6
#define INTERPOLATE(param)
Float_t y
Definition: compare.C:6
Double_t z

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

#define INTERPOLATEVECTOR (   vector)
값:
INTERPOLATE(vector.x()); x = real; \
INTERPOLATE(vector.y()); y = real; \
INTERPOLATE(vector.z()); z = real;
Float_t x
Definition: compare.C:6
#define INTERPOLATE(param)
Float_t y
Definition: compare.C:6
Double_t z

다음에 의해서 참조됨 : G4ViewParameters::CatmullRomCubicSplineInterpolation().

함수 문서화

std::ostream& operator<< ( std::ostream &  os,
const G4ViewParameters::DrawingStyle style 
)

G4ViewParameters.cc 파일의 810 번째 라인에서 정의되었습니다.

다음을 참조함 : G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4ViewParameters::wireframe.

std::ostream& operator<< ( std::ostream &  os,
const G4ViewParameters v 
)

G4ViewParameters.cc 파일의 826 번째 라인에서 정의되었습니다.

다음을 참조함 : cm3, G4ViewParameters::constrainUpDirection, G4ViewParameters::fActualLightpointDirection, G4ViewParameters::fAutoRefresh, G4ViewParameters::fAuxEdgeVisible, G4ViewParameters::fBackgroundColour, G4ViewParameters::fCBDAlgorithmNumber, G4ViewParameters::fCBDParameters, G4ViewParameters::fCullCovered, G4ViewParameters::fCulling, G4ViewParameters::fCullInvisible, G4ViewParameters::fCurrentTargetPoint, G4ViewParameters::fCutawayPlanes, G4ViewParameters::fDefaultMarker, G4ViewParameters::fDefaultTextVisAttributes, G4ViewParameters::fDefaultVisAttributes, G4ViewParameters::fDensityCulling, G4ViewParameters::fDisplayHeadTime, G4ViewParameters::fDisplayHeadTimeBlue, G4ViewParameters::fDisplayHeadTimeGreen, G4ViewParameters::fDisplayHeadTimeRed, G4ViewParameters::fDisplayHeadTimeSize, G4ViewParameters::fDisplayHeadTimeX, G4ViewParameters::fDisplayHeadTimeY, G4ViewParameters::fDisplayLightFront, G4ViewParameters::fDisplayLightFrontBlue, G4ViewParameters::fDisplayLightFrontGreen, G4ViewParameters::fDisplayLightFrontRed, G4ViewParameters::fDisplayLightFrontT, G4ViewParameters::fDisplayLightFrontX, G4ViewParameters::fDisplayLightFrontY, G4ViewParameters::fDisplayLightFrontZ, G4ViewParameters::fDolly, G4ViewParameters::fDrawingStyle, G4ViewParameters::fEndTime, G4ViewParameters::fExplodeCentre, G4ViewParameters::fExplodeFactor, G4ViewParameters::fFadeFactor, G4ViewParameters::fFieldHalfAngle, G4ViewParameters::fGeometryMask, G4ViewParameters::fGlobalLineWidthScale, G4ViewParameters::fGlobalMarkerScale, G4ViewParameters::fLightsMoveWithCamera, G4ViewParameters::fMarkerNotHidden, G4ViewParameters::fNoOfSides, G4ViewParameters::fPicking, G4ViewParameters::freeRotation, G4ViewParameters::fRelativeLightpointDirection, G4ViewParameters::fRotationStyle, G4ViewParameters::fScaleFactor, G4ViewParameters::fSection, G4ViewParameters::fSectionPlane, G4ViewParameters::fStartTime, G4ViewParameters::fUpVector, G4ViewParameters::fViewpointDirection, G4ViewParameters::fVisAttributesModifiers, G4ViewParameters::fVisibleDensity, G4ViewParameters::fWindowSizeHintX, G4ViewParameters::fXGeometryString, G4ViewParameters::fZoomFactor, g, G4BestUnit, G4ViewParameters::GetCameraDistance(), G4ViewParameters::GetFarDistance(), G4ViewParameters::GetFrontHalfHeight(), G4ViewParameters::GetNearDistance(), G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4ViewParameters::IsCutaway(), mm, ns, radius, right, G4ViewParameters::wireframe.