|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TEveGeoShape
13 #define ROOT_TEveGeoShape
virtual TBuffer3D * MakeBuffer3D()
Create a TBuffer3D suitable for presentation of the shape.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
static TGeoManager * fgGeoMangeur
Temporary holder (if passed shape is composite shape).
Int_t GetNSegments() const
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
Base-class for non-linear projections.
A 3D projected TEveGeoShape.
TGeoShape * GetShape() const
TEveGeoShapeProjected & operator=(const TEveGeoShapeProjected &)
static constexpr double s
static TEveGeoShape * SubImportShapeExtract(TEveGeoShapeExtract *gse, TEveElement *parent)
Recursive version for importing a shape extract tree.
virtual void ComputeBBox()
Compute bounding-box.
static TGeoHMatrix * GetGeoHMatrixIdentity()
Return static identity matrix in homogeneous representation.
void WriteExtract(const char *name)
Write the shape tree as TEveGeoShapeExtract to current directory.
Class handling Boolean composition of shapes.
TEveGeoShapeProjected(const TEveGeoShapeProjected &)
void SaveExtract(const char *file, const char *name)
Save the shape tree as TEveGeoShapeExtract.
virtual TEveElement * GetProjectedAsElement()
Returns this projected dynamic-casted to TEveElement.
TGeoShape * MakePolyShape()
Create derived TEveGeoShape form a TGeoCompositeShape.
void Save(const char *file, const char *name="Extract")
Save the shape tree as TEveGeoShapeExtract.
TGeoCompositeShape * fCompositeShape
Abstract base-class for non-linear projectable objects.
Generic 3D primitive description class.
virtual void Paint(Option_t *option="")
Paint object.
virtual ~TEveGeoShapeProjected()
Destructor.
Base abstract class for all shapes.
virtual ~TEveGeoShape()
Destructor.
void SetNSegments(Int_t s)
Set number of segments.
static TGeoManager * GetGeoMangeur()
Return static geo-manager that is used internally to make shapes lead a happy life.
Matrix class used for computing global transformations Should NOT be used for node definition.
Manager class for steering of projections and managing projected objects.
virtual void SetDepthLocal(Float_t d)
This should never be called as this class is only used for 3D projections.
TEveGeoShapeProjected()
Constructor.
void SetShape(TGeoShape *s)
Set TGeoShape shown by this object.
virtual TObject * GetObject(const TEveException &) const
Get a TObject associated with this render-element.
TEveGeoShape & operator=(const TEveGeoShape &)
virtual void UpdateProjection()
This is virtual method from base-class TEveProjected.
Wrapper for TGeoShape with absolute positioning and color attributes allowing display of extracted TG...
Exception class thrown by TEve classes and macros.
Abstract base class for classes that hold results of a non-linear projection transformation.
virtual TClass * ProjectedClass(const TEveProjection *p) const
Return class for projected objects:
TClass instances represent classes, structs and namespaces in the ROOT type system.
static TEveGeoShape * ImportShapeExtract(TEveGeoShapeExtract *gse, TEveElement *parent=0)
Import a shape extract 'gse' under element 'parent'.
TEveGeoShapeExtract * DumpShapeTree(TEveGeoShape *geon, TEveGeoShapeExtract *parent=0)
Export this shape and its descendants into a geoshape-extract.
TEveGeoShape(const TEveGeoShape &)
Mother of all ROOT objects.
#define ClassDef(name, id)
The manager class for any TGeo geometry.
virtual void ComputeBBox()
Override of virtual method from TAttBBox.
Abstract base-class for 2D/3D shapes.