12 #ifndef ROOT_TGeoBoolNode 13 #define ROOT_TGeoBoolNode 107 TGeoUnion(
const char *expr1,
const char *expr2);
TGeoShape * GetLeftShape() const
Geometrical transformation package.
std::vector< ThreadData_t * > fThreadData
array of mesh points
void SetSelected(Int_t sel)
Set the selected branch.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
virtual Int_t GetNpoints()=0
Matrix class used for computing global transformations Should NOT be used for node definition...
virtual void SetPoints(Double_t *points) const
Fill buffer with shape vertices.
virtual Double_t DistFromOutside(const Double_t *point, const Double_t *dir, Int_t iact=1, Double_t step=0, Double_t *safe=0) const =0
virtual EGeoBoolType GetBooleanOperator() const =0
void RegisterMatrices()
Register all matrices of the boolean node and descendents.
virtual TGeoBoolNode * MakeClone() const =0
std::mutex fMutex
Size for the navigation data array.
Bool_t MakeBranch(const char *expr, Bool_t left)
Mutex for thread data access.
#define ClassDef(name, id)
virtual void Paint(Option_t *option)
Special schema for feeding the 3D buffers to the painter client.
virtual EGeoBoolType GetBooleanOperator() const
TGeoMatrix * GetLeftMatrix() const
virtual EGeoBoolType GetBooleanOperator() const
TGeoBoolNode()
Default constructor.
virtual ~TGeoBoolNode()
Destructor.
Base abstract class for all shapes.
ThreadData_t()
Constructor.
Int_t fThreadSize
Navigation data per thread.
virtual void ComputeBBox(Double_t &dx, Double_t &dy, Double_t &dz, Double_t *origin)=0
TGeoBoolNode & operator=(const TGeoBoolNode &)
~ThreadData_t()
Destructor.
virtual Int_t DistanceToPrimitive(Int_t px, Int_t py)=0
void CreateThreadData(Int_t nthreads)
Create thread data for n threads max.
Bool_t ReplaceMatrix(TGeoMatrix *mat, TGeoMatrix *newmat)
Replace one of the matrices.
Double_t * fPoints
number of points on the mesh
virtual Bool_t Contains(const Double_t *point) const =0
ThreadData_t & GetThreadData() const
virtual void Sizeof3D() const
Register size of this 3D object.
TGeoMatrix * GetRightMatrix() const
virtual Double_t Safety(const Double_t *point, Bool_t in=kTRUE) const =0
Mother of all ROOT objects.
Base class for Boolean operations between two shapes.
void ClearThreadData() const
virtual Double_t DistFromInside(const Double_t *point, const Double_t *dir, Int_t iact=1, Double_t step=0, Double_t *safe=0) const =0
double norm(double *x, double *p)
TGeoShape * GetRightShape() const
virtual EGeoBoolType GetBooleanOperator() const
virtual void ComputeNormal(const Double_t *point, const Double_t *dir, Double_t *norm)=0