library: libGeom
#include "TGeoBoolNode.h"

TGeoBoolNode


class description - header file - source file - inheritance tree (.pdf)

class TGeoBoolNode : public TObject

Inheritance Chart:
TObject
<-
TGeoBoolNode
<-
TGeoIntersection
TGeoSubtraction
TGeoUnion
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
Bool_t MakeBranch(const char* expr, Bool_t left) public:
virtual ~TGeoBoolNode() static TClass* Class() virtual void ComputeBBox(Double_t& dx, Double_t& dy, Double_t& dz, Double_t* origin) virtual void ComputeNormal(Double_t* point, Double_t* dir, Double_t* norm) virtual Bool_t Contains(Double_t* point) const virtual Int_t DistanceToPrimitive(Int_t px, Int_t py) virtual Double_t DistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const virtual Double_t DistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const virtual TGeoBoolNode::EGeoBoolType GetBooleanOperator() const TGeoMatrix* GetLeftMatrix() const TGeoShape* GetLeftShape() const virtual Int_t GetNpoints() const TGeoMatrix* GetRightMatrix() const TGeoShape* GetRightShape() const virtual TClass* IsA() const TGeoBoolNode& operator=(const TGeoBoolNode&) virtual void Paint(Option_t* option) void RegisterMatrices() virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void SetPoints(Double_t* points) const virtual void SetPoints(Float_t* points) const void SetSelected(Int_t sel) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sizeof3D() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fSelected ! selected branch TGeoShape* fLeft shape on the left branch TGeoShape* fRight shape on the right branch TGeoMatrix* fLeftMat transformation that applies to the left branch TGeoMatrix* fRightMat transformation that applies to the right branch public:
static const TGeoBoolNode::EGeoBoolType kGeoUnion static const TGeoBoolNode::EGeoBoolType kGeoIntersection static const TGeoBoolNode::EGeoBoolType kGeoSubtraction

Class Description

~TGeoBoolNode()
 Destructor.
 --- deletion of components handled by TGeoManager class.
Bool_t MakeBranch(const char *expr, Bool_t left)
 Expands the boolean expression either on left or right branch, creating
 component elements (composite shapes and boolean nodes). Returns true on success.
void Paint(Option_t * option)
 Special schema for feeding the 3D buffers to the painter client.
void RegisterMatrices()
 Register all matrices of the boolean node and descendents.
void SavePrimitive(ostream &out, Option_t *option /*= ""*/)
 Save a primitive as a C++ statement(s) on output stream "out".
void Sizeof3D()
 Register size of this 3D object
void ComputeBBox(Double_t &dx, Double_t &dy, Double_t &dz, Double_t *origin)
 methods
void ComputeNormal(Double_t *point, Double_t *dir, Double_t *norm)
Bool_t Contains(Double_t *point)
Int_t DistanceToPrimitive(Int_t px, Int_t py)
Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=0, Double_t *safe=0)
Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=0, Double_t *safe=0)
EGeoBoolType GetBooleanOperator()
Int_t GetNpoints()
Double_t Safety(Double_t *point, Bool_t in=kTRUE)
void SetPoints(Double_t *points)
void SetPoints(Float_t *points)
void SetSelected(Int_t sel)

Author: Andrei Gheata 30/05/02
Last update: :$Name: $:$Id: TGeoBoolNode.cxx,v 1.27 2006/07/03 16:10:44 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.