Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEvePointSet Class Reference

TEvePointSet is a render-element holding a collection of 3D points with optional per-point TRef and an arbitrary number of integer ids (to be used for signal, volume-id, track-id, etc).

3D point representation is implemented in base-class TPolyMarker3D. Per-point TRef is implemented in base-class TPointSet3D.

By using the TEvePointSelector the points and integer ids can be filled directly from a TTree holding the source data. Setting of per-point TRef's is not supported.

TEvePointSet is a TEveProjectable: it can be projected by using the TEveProjectionManager class.

Definition at line 31 of file TEvePointSet.h.

Public Member Functions

 TEvePointSet (const char *name, Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 Constructor.
 
 TEvePointSet (const TEvePointSet &e)
 Copy constructor.
 
 TEvePointSet (Int_t n_points=0, ETreeVarType_e tv_type=kTVT_XYZ)
 Constructor.
 
virtual ~TEvePointSet ()
 Destructor.
 
virtual TEvePointSetCloneElement () const
 Clone the element via copy constructor.
 
virtual void ClonePoints (const TEvePointSet &e)
 Clone points and all point-related information from point-set 'e'.
 
virtual void CopyVizParams (const TEveElement *el)
 Copy visualization parameters from element el.
 
virtual const char * GetElementName () const
 Virtual function for retrieving name of the element.
 
virtual const char * GetElementTitle () const
 Virtual function for retrieving title of the render-element.
 
Int_t GetIntIdsPerPoint () const
 
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
 Return pointset icon.
 
virtual TObjectGetObject (const TEveException &) const
 Get a TObject associated with this render-element.
 
Int_t GetPointIntId (Int_t p, Int_t i) const
 Return i-th integer id of point with index p.
 
Int_tGetPointIntIds (Int_t p) const
 Return a pointer to integer ids of point with index p.
 
virtual const char * GetTitle () const
 Returns title of object.
 
Int_t GrowFor (Int_t n_points)
 Resizes internal array to allow additional n_points to be stored.
 
virtual void InitFill (Int_t subIdNum)
 Initialize point-set for new filling.
 
virtual TClassIsA () const
 
virtual void Paint (Option_t *option="")
 Paint point-set.
 
virtual void PointSelected (Int_t id)
 Virtual method of base class TPointSet3D.
 
virtual TClassProjectedClass (const TEveProjection *p) const
 Virtual from TEveProjectable, returns TEvePointSetProjected class.
 
void Reset (Int_t n_points=0, Int_t n_int_ids=0)
 Drop all data and set-up the data structures to recive new data.
 
virtual void SetElementName (const char *n)
 Virtual function for setting of name of an element.
 
virtual void SetElementNameTitle (const char *n, const char *t)
 Virtual function for setting of name and title of render element.
 
virtual void SetElementTitle (const char *t)
 Virtual function for setting of title of an element.
 
virtual void SetMarkerColor (Color_t col)
 Set the marker color.
 
virtual void SetMarkerSize (Size_t msize=1)
 Set marker size, propagate to projecteds.
 
virtual void SetMarkerStyle (Style_t mstyle=1)
 Set marker style, propagate to projecteds.
 
void SetPointIntIds (Int_t *ids)
 Set integer ids for the last point that was registered (most probably via TPolyMarker3D::SetNextPoint(x,y,z)).
 
void SetPointIntIds (Int_t n, Int_t *ids)
 Set integer ids for point with index n.
 
virtual void SetTitle (const char *t)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void TakeAction (TEvePointSelector *)
 Called from TEvePointSelector when internal arrays of the tree-selector are filled up and need to be processed.
 
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write visualization parameters.
 
- Public Member Functions inherited from TEveElement
 TEveElement ()
 Default constructor.
 
 TEveElement (Color_t &main_color)
 Constructor.
 
 TEveElement (const TEveElement &e)
 Copy constructor.
 
virtual ~TEveElement ()
 Destructor.
 
virtual Bool_t AcceptElement (TEveElement *el)
 Check if el can be added to this element.
 
virtual void AddElement (TEveElement *el)
 Add el to the list of children.
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TEveElement *parent)
 Add this render element into ltree to all items belonging to parent.
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Add this element into ltree to an already existing item parent_lti.
 
virtual TGListTreeItemAddIntoListTrees (TEveElement *parent)
 Add this render element into all list-trees and all items belonging to parent.
 
virtual void AddParent (TEveElement *re)
 Add re into the list parents.
 
virtual void AddStamp (UChar_t bits)
 Add (bitwise or) given stamps to fChangeBits.
 
virtual void Annihilate ()
 Optimized destruction without check of reference-count.
 
virtual void AnnihilateElements ()
 Annihilate elements.
 
Bool_t ApplyVizTag (const TString &tag, const TString &fallback_tag="")
 Set the VizTag, find model-element from the VizDB and copy visualization-parameters from it.
 
List_i BeginChildren ()
 
List_ci BeginChildren () const
 
List_i BeginParents ()
 
List_ci BeginParents () const
 
virtual Bool_t CanEditElement () const
 
virtual Bool_t CanEditMainColor () const
 
virtual Bool_t CanEditMainTrans () const
 
virtual Bool_t CanEditMainTransparency () const
 
virtual void CheckReferenceCount (const TEveException &eh="TEveElement::CheckReferenceCount ")
 Check external references to this and eventually auto-destruct the render-element.
 
virtual void ClearStamps ()
 
virtual void CloneChildrenRecurse (TEveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element.
 
virtual TEveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children.
 
virtual void CollectSceneParents (List_t &scenes)
 Collect all parents of class TEveScene.
 
virtual void CollectSceneParentsFromChildren (List_t &scenes, TEveElement *parent)
 Collect scene-parents from all children.
 
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel.
 
void CSCApplyMainColorToAllChildren ()
 
void CSCApplyMainColorToMatchingChildren ()
 
void CSCApplyMainTransparencyToAllChildren ()
 
void CSCApplyMainTransparencyToMatchingChildren ()
 
void CSCImplySelectAllChildren ()
 
void CSCTakeAnyParentAsMaster ()
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element.
 
virtual void DecImpliedHighlighted ()
 Decrease element's implied-highlight count. Stamp appropriately.
 
virtual void DecImpliedSelected ()
 Decrease element's implied-selection count. Stamp appropriately.
 
void DecParentIgnoreCnt ()
 Decrease number of parents ignored in reference-counting.
 
virtual void Destroy ()
 Destroy this element.
 
virtual void DestroyElements ()
 Destroy all children of this element.
 
virtual void DestroyListSubTree (TGListTree *ltree, TGListTreeItem *parent)
 Destroy sub-tree under item 'parent' in list-tree 'ltree'.
 
virtual void DestroyMainTrans ()
 Destroy the main transformation matrix, it will always be taken as identity.
 
virtual void DestroyOrWarn ()
 Destroy this element. Prints a warning if deny-destroy is in force.
 
void DisableListElements (Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
 Disable rendering of children and their list contents.
 
void DumpSourceObject () const
 Call Dump() on source object.
 
virtual void ElementChanged (Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
 Call this after an element has been changed so that the state can be propagated around the framework.
 
void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents.
 
List_i EndChildren ()
 
List_ci EndChildren () const
 
List_i EndParents ()
 
List_ci EndParents () const
 
virtual void ExpandIntoListTree (TGListTree *ltree, TGListTreeItem *parent)
 Populates parent with elements.
 
void ExportSourceObjectToCINT (char *var_name) const
 Export source object to CINT with given name for the variable.
 
virtual void ExportToCINT (char *var_name)
 Export render-element to CINT with variable name var_name.
 
virtual void FillImpliedSelectedSet (Set_t &impSelSet)
 Populate set impSelSet with derived / dependant elements.
 
TEveElementFindChild (const TString &name, const TClass *cls=nullptr)
 Find the first child with given name.
 
TEveElementFindChild (TPRegexp &regexp, const TClass *cls=nullptr)
 Find the first child whose name matches regexp.
 
Int_t FindChildren (List_t &matches, const TString &name, const TClass *cls=nullptr)
 Find all children with given name and append them to matches list.
 
Int_t FindChildren (List_t &matches, TPRegexp &regexp, const TClass *cls=nullptr)
 Find all children whose name matches regexp and append them to matches list.
 
virtual sLTI_i FindItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'.
 
virtual sLTI_i FindItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item.
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'.
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item.
 
Bool_t FindVizModel ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly.
 
TEveElementFirstChild () const
 Returns the first child element or 0 if the list is empty.
 
virtual TEveElementForwardEdit ()
 Returns element to be displayed in GUI editor on click.
 
virtual TEveElementForwardSelection ()
 Returns element to be selected on click.
 
UChar_t GetChangeBits () const
 
TEveCompoundGetCompound ()
 
Int_t GetDenyDestroy () const
 Returns the number of times deny-destroy has been requested on the element.
 
Bool_t GetDestroyOnZeroRefCnt () const
 Returns state of flag determining if the element will be destroyed when reference count reaches zero.
 
virtual TObjectGetEditorObject (const TEveException &eh) const
 
virtual TString GetHighlightTooltip ()
 
virtual const TGPictureGetListTreeCheckBoxIcon ()
 Returns list-tree-item check-box picture appropriate for given rendering state.
 
virtual Color_t GetMainColor () const
 
Color_tGetMainColorPtr () const
 
virtual Char_t GetMainTransparency () const
 
TEveElementGetMaster ()
 Returns the master element - that is:
 
virtual Int_t GetNItems () const
 
Int_t GetParentIgnoreCnt () const
 Get number of parents that should be ignored in doing reference-counting.
 
virtual TObjectGetRenderObject (const TEveException &eh) const
 
virtual Bool_t GetRnrAnything () const
 
virtual Bool_t GetRnrChildren () const
 
virtual Bool_t GetRnrSelf () const
 
virtual Bool_t GetRnrState () const
 
virtual UChar_t GetSelectedLevel () const
 Get selection level, needed for rendering selection and highlight feedback.
 
TRefGetSource ()
 
TObjectGetSourceObject () const
 
void * GetUserData () const
 
TEveElementGetVizModel () const
 
const TStringGetVizTag () const
 
virtual Bool_t HandleElementPaste (TEveElement *el)
 React to element being pasted or dnd-ed.
 
Bool_t HasChild (TEveElement *el)
 Check if element el is a child of this element.
 
Bool_t HasChildren () const
 
virtual Bool_t HasMainColor () const
 
virtual Bool_t HasMainTrans () const
 
Bool_t HasParents () const
 
virtual void HighlightElement (Bool_t state)
 Set element's highlight state. Stamp appropriately.
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element.
 
virtual void IncImpliedHighlighted ()
 Increase element's implied-highlight count. Stamp appropriately.
 
virtual void IncImpliedSelected ()
 Increase element's implied-selection count. Stamp appropriately.
 
void IncParentIgnoreCnt ()
 Increase number of parents ignored in reference-counting.
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix.
 
Bool_t IsPickable () const
 
TEveElementLastChild () const
 Returns the last child element or 0 if the list is empty.
 
virtual void NameTitleChanged ()
 Virtual function called when a name or title of the element has been changed.
 
Int_t NumChildren () const
 
Int_t NumParents () const
 
virtual void PadPaint (Option_t *option)
 Paint self and/or children into currently active pad.
 
virtual void PaintStandard (TObject *id)
 Paint object – a generic implementation for EVE elements.
 
void PrintSourceObject () const
 Call Print() on source object.
 
virtual void ProjectAllChildren (Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of all children there.
 
virtual void ProjectChild (TEveElement *el, Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of child 'el' there.
 
virtual void PropagateMainColorToProjecteds (Color_t color, Color_t old_color)
 Propagate color to projected elements.
 
virtual void PropagateMainTransparencyToProjecteds (Char_t t, Char_t old_t)
 Propagate transparency to projected elements.
 
virtual void PropagateRnrStateToProjecteds ()
 Propagate render state to the projected replicas of this element.
 
virtual void PropagateVizParamsToElements (TEveElement *el=nullptr)
 Propagate visualization parameters from element el (defaulting to this) to all elements (children).
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements.
 
virtual TEveTransPtrMainTrans (Bool_t create=kTRUE)
 Return pointer to main transformation.
 
void RecheckImpliedSelections ()
 Call this if it is possible that implied-selection or highlight has changed for this element or for implied-selection this element is member of and you want to maintain consistent selection state.
 
const List_tRefChildren () const
 
virtual TEveTransRefMainTrans ()
 Return reference to main transformation.
 
virtual void RemoveElement (TEveElement *el)
 Remove el from the list of children.
 
virtual void RemoveElementLocal (TEveElement *el)
 Perform additional local removal of el.
 
virtual void RemoveElements ()
 Remove all elements.
 
virtual void RemoveElementsLocal ()
 Perform additional local removal of all elements.
 
virtual Bool_t RemoveFromListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Remove element from list-tree 'ltree' where its parent item is 'parent_lti'.
 
virtual Int_t RemoveFromListTrees (TEveElement *parent)
 Remove element from all list-trees where 'parent' is the user-data of the parent list-tree-item.
 
virtual void RemoveParent (TEveElement *re)
 Remove re from the list of parents.
 
void ResetAllCSCBits ()
 
void ResetCSCBits (UChar_t f)
 
void SaveVizParams (std::ostream &out, const TString &tag, const TString &var)
 Save visualization parameters for this element with given tag.
 
virtual void SelectElement (Bool_t state)
 Set element's selection state. Stamp appropriately.
 
void SetCompound (TEveCompound *c)
 
void SetCSCBits (UChar_t f)
 
void SetDestroyOnZeroRefCnt (Bool_t d)
 Sets the state of flag determining if the element will be destroyed when reference count reaches zero.
 
void SetEditMainColor (Bool_t x)
 
void SetEditMainTransparency (Bool_t x)
 
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable.
 
virtual void SetMainColor (Color_t color)
 Set main color of the element.
 
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor().
 
void SetMainColorPtr (Color_t *color)
 
void SetMainColorRGB (Float_t r, Float_t g, Float_t b)
 Convert RGB values to Color_t and call SetMainColor.
 
void SetMainColorRGB (UChar_t r, UChar_t g, UChar_t b)
 Convert RGB values to Color_t and call SetMainColor.
 
virtual void SetMainTransparency (Char_t t)
 Set main-transparency.
 
void SetPickable (Bool_t p)
 
void SetPickableRecursively (Bool_t p)
 Set pickable state on the element and all its children.
 
virtual Bool_t SetRnrChildren (Bool_t rnr)
 Set render state of this element's children, i.e.
 
virtual Bool_t SetRnrSelf (Bool_t rnr)
 Set render state of this element, i.e.
 
virtual Bool_t SetRnrSelfChildren (Bool_t rnr_self, Bool_t rnr_children)
 Set state for rendering of this element and its children.
 
virtual Bool_t SetRnrState (Bool_t rnr)
 Set render state of this element and of its children to the same value.
 
void SetSourceObject (TObject *o)
 
virtual void SetTransMatrix (const TGeoMatrix &mat)
 Set transformation matrix from TGeo's matrix.
 
virtual void SetTransMatrix (Double_t *carr)
 Set transformation matrix from column-major array.
 
void SetUserData (void *ud)
 
void SetVizModel (TEveElement *model)
 Set visualization-parameter model element.
 
void SetVizTag (const TString &tag)
 
virtual Bool_t SingleRnrState () const
 
void SpawnEditor ()
 Show GUI editor for this object.
 
void StampColorSelection ()
 
void StampObjProps ()
 
void StampTransBBox ()
 
void StampVisibility ()
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
Bool_t TestCSCBits (UChar_t f) const
 
virtual void UnHighlighted ()
 Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0.
 
virtual void UnSelected ()
 Virtual function called when both fSelected is false and fImpliedSelected is 0.
 
void VizDB_Apply (const char *tag)
 Set visual parameters for this object for given tag.
 
void VizDB_Insert (const char *tag, Bool_t replace=kTRUE, Bool_t update=kTRUE)
 Create a replica of element and insert it into VizDB with given tag.
 
void VizDB_Reapply ()
 Reset visual parameters for this object from VizDB.
 
void VizDB_UpdateModel (Bool_t update=kTRUE)
 Copy visual parameters from this element to viz-db model.
 
- Public Member Functions inherited from TPointSet3D
 TPointSet3D ()
 
 TPointSet3D (const TPointSet3D &t)
 Copy constructor.
 
 TPointSet3D (Int_t n, Double_t *p, Marker_t m=1, Option_t *opt="")
 
 TPointSet3D (Int_t n, Float_t *p, Marker_t m=1, Option_t *opt="")
 
 TPointSet3D (Int_t n, Marker_t m=1, Option_t *opt="")
 
virtual ~TPointSet3D ()
 Destructor.
 
void ClearIds ()
 Clears the id-array. If ids are owned the TObjects are deleted.
 
virtual void ComputeBBox ()
 Compute the bounding box of this points set.
 
Bool_t GetOwnIds () const
 
TObjectGetPointId (Int_t n) const
 
TPointSet3Doperator= (const TPointSet3D &t)
 Assignment operator.
 
void SetOwnIds (Bool_t o)
 
void SetPointId (Int_t n, TObject *id)
 Set id of point n.
 
void SetPointId (TObject *id)
 Set id of last point.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TPolyMarker3D
 TPolyMarker3D ()
 3-D polymarker default constructor.
 
 TPolyMarker3D (const TPolyMarker3D &p)
 3-D polymarker copy ctor.
 
 TPolyMarker3D (Int_t n, Double_t *p, Marker_t marker=1, Option_t *option="")
 3-D polymarker constructor.
 
 TPolyMarker3D (Int_t n, Float_t *p, Marker_t marker=1, Option_t *option="")
 3-D polymarker constructor. Polymarker is initialized with p.
 
 TPolyMarker3D (Int_t n, Marker_t marker=1, Option_t *option="")
 3-D polymarker normal constructor with initialization to 0.
 
virtual ~TPolyMarker3D ()
 3-D polymarker destructor.
 
void Copy (TObject &polymarker) const override
 Copy polymarker to polymarker obj.
 
Int_t DistancetoPrimitive (Int_t px, Int_t py) override
 Compute distance from point px,py to a 3-D polymarker.
 
void Draw (Option_t *option="") override
 Draws 3-D polymarker with its current attributes.
 
virtual void DrawPolyMarker (Int_t n, Float_t *p, Marker_t marker, Option_t *option="")
 Draw this 3-D polymarker with new coordinates.
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 Execute action corresponding to one event.
 
virtual Int_t GetLastPoint () const
 
virtual Int_t GetN () const
 
const char * GetName () const override
 Returns name of object.
 
Option_tGetOption () const override
 
virtual Float_tGetP () const
 
virtual void GetPoint (Int_t n, Double_t &x, Double_t &y, Double_t &z) const
 Fills the parameters x, y, z with the coordinate of the n-th point n must be between 0 and Size() - 1.
 
virtual void GetPoint (Int_t n, Float_t &x, Float_t &y, Float_t &z) const
 Fills the parameters x, y, z with the coordinate of the n-th point n must be between 0 and Size() - 1.
 
TClassIsA () const override
 
void ls (Option_t *option="") const override
 List this 3-D polymarker.
 
virtual Int_t Merge (TCollection *list)
 Merge polymarkers in the collection in this polymarker.
 
TPolyMarker3Doperator= (const TPolyMarker3D &)
 assignment operator
 
void Paint (Option_t *option="") override
 Paint a TPolyMarker3D.
 
void Print (Option_t *option="") const override
 Print 3-D polymarker with its attributes on stdout.
 
void SavePrimitive (std::ostream &out, Option_t *option="") override
 Save primitive as a C++ statement(s) on output stream.
 
virtual void SetName (const char *name)
 Change (i.e.
 
virtual Int_t SetNextPoint (Double_t x, Double_t y, Double_t z)
 Set point following LastPoint to x, y, z.
 
void SetPoint (Int_t n, Double_t x, Double_t y, Double_t z)
 Set point n to x, y, z.
 
virtual void SetPolyMarker (Int_t n, Double_t *p, Marker_t marker, Option_t *option="")
 Re-initialize polymarker with n points from p.
 
virtual void SetPolyMarker (Int_t n, Float_t *p, Marker_t marker, Option_t *option="")
 Re-initialize polymarker with n points from p.
 
virtual Int_t Size () const
 
void Streamer (TBuffer &) override
 Stream a 3-D polymarker object.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 
- Public Member Functions inherited from TAttMarker
 TAttMarker ()
 TAttMarker default constructor.
 
 TAttMarker (Color_t color, Style_t style, Size_t msize)
 TAttMarker normal constructor.
 
virtual ~TAttMarker ()
 TAttMarker destructor.
 
void Copy (TAttMarker &attmarker) const
 Copy this marker attributes to a new TAttMarker.
 
virtual Color_t GetMarkerColor () const
 Return the marker color.
 
virtual Size_t GetMarkerSize () const
 Return the marker size.
 
virtual Style_t GetMarkerStyle () const
 Return the marker style.
 
virtual void Modify ()
 Change current marker attributes if necessary.
 
virtual void ResetAttMarker (Option_t *toption="")
 Reset this marker attributes to the default values.
 
virtual void SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
 Save line attributes as C++ statement(s) on output stream out.
 
virtual void SetMarkerAttributes ()
 Invoke the DialogCanvas Marker attributes.
 
virtual void SetMarkerColorAlpha (Color_t mcolor, Float_t malpha)
 Set a transparent marker color.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAtt3D
 TAtt3D ()
 
virtual ~TAtt3D ()
 
virtual void Sizeof3D () const
 Set total size of this 3D object (used by X3D interface).
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAttBBox
 TAttBBox ()
 
virtual ~TAttBBox ()
 
Float_tAssertBBox ()
 
Float_tGetBBox ()
 
Bool_t GetBBoxOK () const
 
TAttBBoxoperator= (const TAttBBox &tab)
 
void ResetBBox ()
 
void SetupBBoxCube (Float_t extent, Float_t x, Float_t y, Float_t z)
 Setup bounding box as cube with given extent and center position.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TEvePointSelectorConsumer
 TEvePointSelectorConsumer (ETreeVarType_e cs=kTVT_XYZ)
 
virtual ~TEvePointSelectorConsumer ()
 
ETreeVarType_e GetSourceCS () const
 
void SetSourceCS (ETreeVarType_e cs)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TEveProjectable
 TEveProjectable ()
 Constructor.
 
virtual ~TEveProjectable ()
 Destructor.
 
virtual void AddProjected (TEveProjected *p)
 
virtual void AddProjectedsToSet (std::set< TEveElement * > &set)
 Add the projected elements to the set, dyn-casting them to TEveElement.
 
virtual void AnnihilateProjecteds ()
 Optimized destroy of projected elements with condition there is only one parent for projected element.
 
ProjList_i BeginProjecteds ()
 
virtual void ClearProjectedList ()
 
ProjList_i EndProjecteds ()
 
virtual Bool_t HasProjecteds () const
 
virtual void PropagateMainColor (Color_t color, Color_t old_color)
 Set main color of projecteds if their color is the same as old_color.
 
virtual void PropagateMainTransparency (Char_t t, Char_t old_t)
 Set main transparency of projecteds if their transparency is the same as the old one.
 
virtual void PropagateRenderState (Bool_t rnr_self, Bool_t rnr_children)
 Set render state of projecteds.
 
virtual void PropagateVizParams (TEveElement *el=nullptr)
 Set visualization parameters of projecteds.
 
virtual void RemoveProjected (TEveProjected *p)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor.
 
virtual ~TQObject ()
 TQObject Destructor.
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes.
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Non-static method is used to connect from the signal of this object to the receiver slot.
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal of this object from slot of receiver.
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 Activate signal without args.
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter.
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments.
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class.
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal.
 
virtual void HighPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 Return number of connections for this object.
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TEveElement
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TPointSet3D
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TPolyMarker3D
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static void PaintH3 (TH1 *h, Option_t *option)
 Paint 3-d histogram h with 3-d polymarkers.
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 
- Static Public Member Functions inherited from TAttMarker
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Width_t GetMarkerLineWidth (Style_t style)
 Internal helper function that returns the line width of the given marker style (0 = filled marker)
 
static Style_t GetMarkerStyleBase (Style_t style)
 Internal helper function that returns the corresponding marker style with line width 1 for the given style.
 
- Static Public Member Functions inherited from TAtt3D
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttBBox
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TEvePointSelectorConsumer
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TEveProjectable
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked.
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status.
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot.
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
static const char * DeclFileName ()
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects "class signal".
 
static Bool_t Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal in object sender from slot_method in object receiver.
 

Protected Member Functions

void AssertIntIdsSize ()
 Assert that size of IntId array is compatible with the size of the point array.
 
- Protected Member Functions inherited from TEveElement
virtual void AnnihilateRecursively ()
 Protected member function called from TEveElement::Annihilate().
 
virtual void PreDeleteElement ()
 Externally assigned and controlled user data.
 
virtual void RemoveElementsInternal ()
 Remove all elements.
 
- Protected Member Functions inherited from TPointSet3D
void CopyIds (const TPointSet3D &t)
 Copy id objects from point-set 't'.
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Protected Member Functions inherited from TAttBBox
 TAttBBox (const TAttBBox &tab)
 
void AssertBBoxExtents (Float_t epsilon=0.005)
 Assert extents of all sides of the bounding-box are at least epsilon.
 
void BBoxCheckPoint (const Float_t *p)
 
void BBoxCheckPoint (Float_t x, Float_t y, Float_t z)
 
void BBoxClear ()
 Remove BBox information.
 
void BBoxInit (Float_t infinity=1e6)
 Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
 
void BBoxZero (Float_t epsilon=0, Float_t x=0, Float_t y=0, Float_t z=0)
 Create cube of volume (2*epsilon)^3 at (x,y,z).
 
- Protected Member Functions inherited from TQObject
virtual void * GetSender ()
 
virtual const char * GetSenderClassName () const
 

Protected Attributes

TArrayIfIntIds
 
Int_t fIntIdsPerPoint
 
TString fTitle
 
- Protected Attributes inherited from TEveElement
Bool_t fCanEditMainColor
 
Bool_t fCanEditMainTrans
 
Bool_t fCanEditMainTransparency
 
UChar_t fChangeBits
 
List_t fChildren
 
TEveCompoundfCompound
 
UChar_t fCSCBits
 
Int_t fDenyDestroy
 Counter for top-level list-tree items that prevent automatic destruction.
 
Bool_t fDestroyOnZeroRefCnt
 Deny-destroy count.
 
Char_t fDestructing
 
Bool_t fHighlighted
 
Short_t fImpliedHighlighted
 
Short_t fImpliedSelected
 
sLTI_t fItems
 
Color_tfMainColorPtr
 
TEveTransfMainTrans
 
Char_t fMainTransparency
 
Int_t fNumChildren
 
Int_t fParentIgnoreCnt
 
List_t fParents
 
Bool_t fPickable
 
Bool_t fRnrChildren
 
Bool_t fRnrSelf
 
Bool_t fSelected
 
TRef fSource
 Set of list-tree-items.
 
Int_t fTopItemCnt
 Counter for parents that are ignored in ref-counting.
 
void * fUserData
 
TEveElementfVizModel
 
TString fVizTag
 Element used as model from VizDB.
 
- Protected Attributes inherited from TPointSet3D
TRefArray fIds
 
Bool_t fOwnIds
 
- Protected Attributes inherited from TPolyMarker3D
Int_t fLastPoint {-1}
 
Int_t fN {0}
 
TString fName
 
TString fOption
 
Float_tfP {nullptr}
 
- Protected Attributes inherited from TAttMarker
Color_t fMarkerColor
 Marker color.
 
Size_t fMarkerSize
 Marker size.
 
Style_t fMarkerStyle
 Marker style.
 
- Protected Attributes inherited from TAttBBox
Float_tfBBox
 
- Protected Attributes inherited from TEvePointSelectorConsumer
ETreeVarType_e fSourceCS
 
- Protected Attributes inherited from TEveProjectable
ProjList_t fProjectedList
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object
 

Private Member Functions

TEvePointSetoperator= (const TEvePointSet &)
 

Friends

class TEvePointSetArray
 

Additional Inherited Members

- Public Types inherited from TEveElement
enum  EChangeBits { kCBColorSelection = (1ULL << ( 0 )) , kCBTransBBox = (1ULL << ( 1 )) , kCBObjProps = (1ULL << ( 2 )) , kCBVisibility = (1ULL << ( 3 )) }
 
typedef void(TEveElement::* ImplySelect_foo) ()
 
typedef List_t::const_iterator List_ci
 
typedef List_t::iterator List_i
 
typedef std::list< TEveElement * > List_t
 
typedef void(TEveElement::* Select_foo) (Bool_t)
 
typedef Set_t::const_iterator Set_ci
 
typedef Set_t::iterator Set_i
 
typedef std::set< TEveElement * > Set_t
 
typedef sLTI_t::iterator sLTI_i
 
typedef sLTI_t::reverse_iterator sLTI_ri
 
typedef std::set< TEveListTreeInfosLTI_t
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) }
 
enum  EStatusBits {
  kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) ,
  kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 ))
}
 
- Public Types inherited from TEvePointSelectorConsumer
enum  ETreeVarType_e { kTVT_XYZ , kTVT_RPhiZ }
 
- Public Types inherited from TEveProjectable
typedef std::list< TEveProjected * >::iterator ProjList_i
 
typedef std::list< TEveProjected * > ProjList_t
 
- Static Public Attributes inherited from TEveElement
static const TGPicturefgListTreeIcons [9] = { 0 }
 
static const TGPicturefgRnrIcons [4] = { 0 }
 
- Protected Types inherited from TEveElement
enum  ECompoundSelectionColorBits {
  kCSCBImplySelectAllChildren = (1ULL << ( 0 )) , kCSCBTakeAnyParentAsMaster = (1ULL << ( 1 )) , kCSCBApplyMainColorToAllChildren = (1ULL << ( 2 )) , kCSCBApplyMainColorToMatchingChildren = (1ULL << ( 3 )) ,
  kCSCBApplyMainTransparencyToAllChildren = (1ULL << ( 4 )) , kCSCBApplyMainTransparencyToMatchingChildren = (1ULL << ( 5 ))
}
 
enum  EDestruct { kNone , kStandard , kAnnihilate }
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = (1ULL << ( 3 )) }
 
- Static Protected Member Functions inherited from TEveElement
static const char * ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE.
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 Checking of consistency of sender/receiver methods/arguments.
 
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature.
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object.
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals
 

#include <TEvePointSet.h>

Inheritance diagram for TEvePointSet:
[legend]

Constructor & Destructor Documentation

◆ TEvePointSet() [1/3]

TEvePointSet::TEvePointSet ( Int_t  n_points = 0,
ETreeVarType_e  tv_type = kTVT_XYZ 
)

Constructor.

Definition at line 44 of file TEvePointSet.cxx.

◆ TEvePointSet() [2/3]

TEvePointSet::TEvePointSet ( const char *  name,
Int_t  n_points = 0,
ETreeVarType_e  tv_type = kTVT_XYZ 
)

Constructor.

Definition at line 65 of file TEvePointSet.cxx.

◆ TEvePointSet() [3/3]

TEvePointSet::TEvePointSet ( const TEvePointSet e)

Copy constructor.

Definition at line 87 of file TEvePointSet.cxx.

◆ ~TEvePointSet()

TEvePointSet::~TEvePointSet ( )
virtual

Destructor.

Definition at line 103 of file TEvePointSet.cxx.

Member Function Documentation

◆ AssertIntIdsSize()

void TEvePointSet::AssertIntIdsSize ( )
inlineprotected

Assert that size of IntId array is compatible with the size of the point array.

Definition at line 184 of file TEvePointSet.cxx.

◆ Class()

static TClass * TEvePointSet::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TEvePointSet::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TEvePointSet::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 99 of file TEvePointSet.h.

◆ CloneElement()

virtual TEvePointSet * TEvePointSet::CloneElement ( ) const
inlinevirtual

Clone the element via copy constructor.

Should be implemented for all classes that require cloning support.

Reimplemented from TEveElement.

Definition at line 58 of file TEvePointSet.h.

◆ ClonePoints()

void TEvePointSet::ClonePoints ( const TEvePointSet e)
virtual

Clone points and all point-related information from point-set 'e'.

Definition at line 111 of file TEvePointSet.cxx.

◆ CopyVizParams()

void TEvePointSet::CopyVizParams ( const TEveElement el)
virtual

Copy visualization parameters from element el.

Reimplemented from TEveElement.

Reimplemented in TEveLine, and TEveTrack.

Definition at line 372 of file TEvePointSet.cxx.

◆ DeclFileName()

static const char * TEvePointSet::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 99 of file TEvePointSet.h.

◆ GetElementName()

virtual const char * TEvePointSet::GetElementName ( ) const
inlinevirtual

Virtual function for retrieving name of the element.

Here we attempt to cast the assigned object into TNamed and call GetName() there.

Reimplemented from TEveElement.

Definition at line 66 of file TEvePointSet.h.

◆ GetElementTitle()

virtual const char * TEvePointSet::GetElementTitle ( ) const
inlinevirtual

Virtual function for retrieving title of the render-element.

Here we attempt to cast the assigned object into TNamed and call GetTitle() there.

Reimplemented from TEveElement.

Definition at line 67 of file TEvePointSet.h.

◆ GetIntIdsPerPoint()

Int_t TEvePointSet::GetIntIdsPerPoint ( ) const
inline

Definition at line 74 of file TEvePointSet.h.

◆ GetListTreeIcon()

const TGPicture * TEvePointSet::GetListTreeIcon ( Bool_t  open = kFALSE)
virtual

Return pointset icon.

Reimplemented from TEveElement.

Reimplemented in TEveLine, and TEveTrack.

Definition at line 138 of file TEvePointSet.cxx.

◆ GetObject()

virtual TObject * TEvePointSet::GetObject ( const TEveException eh) const
inlinevirtual

Get a TObject associated with this render-element.

Most cases uses double-inheritance from TEveElement and TObject so we just do a dynamic cast here. If some TEveElement descendant implements a different scheme, this virtual method should be overriden accordingly.

Reimplemented from TEveElement.

Definition at line 55 of file TEvePointSet.h.

◆ GetPointIntId()

Int_t TEvePointSet::GetPointIntId ( Int_t  p,
Int_t  i 
) const

Return i-th integer id of point with index p.

Existence of integer id array is checked, kMinInt is returned if it does not exist. Validity of p and i is not checked.

Definition at line 210 of file TEvePointSet.cxx.

◆ GetPointIntIds()

Int_t * TEvePointSet::GetPointIntIds ( Int_t  p) const

Return a pointer to integer ids of point with index p.

Existence of integer id array is checked, 0 is returned if it does not exist. Validity of p is not checked.

Definition at line 197 of file TEvePointSet.cxx.

◆ GetTitle()

virtual const char * TEvePointSet::GetTitle ( ) const
inlinevirtual

Returns title of object.

This default method returns the class title (i.e. description). Classes that give objects a title should override this method.

Reimplemented from TObject.

Definition at line 65 of file TEvePointSet.h.

◆ GrowFor()

Int_t TEvePointSet::GrowFor ( Int_t  n_points)

Resizes internal array to allow additional n_points to be stored.

Returns the old size which is also the location where one can start storing new data. The caller is obliged to fill the new point slots.

Definition at line 170 of file TEvePointSet.cxx.

◆ InitFill()

void TEvePointSet::InitFill ( Int_t  subIdNum)
virtual

Initialize point-set for new filling.

subIdNum gives the number of integer ids that can be assigned to each point.

Reimplemented from TEvePointSelectorConsumer.

Definition at line 293 of file TEvePointSet.cxx.

◆ IsA()

virtual TClass * TEvePointSet::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented from TEveElement.

Reimplemented in TEveLine, TEveLineProjected, TEvePointSetProjected, TEveTrack, and TEveTrackProjected.

Definition at line 99 of file TEvePointSet.h.

◆ operator=()

TEvePointSet & TEvePointSet::operator= ( const TEvePointSet )
private

◆ Paint()

void TEvePointSet::Paint ( Option_t option = "")
virtual

Paint point-set.

Reimplemented from TObject.

Definition at line 283 of file TEvePointSet.cxx.

◆ PointSelected()

void TEvePointSet::PointSelected ( Int_t  id)
virtual

Virtual method of base class TPointSet3D.

The function call is invoked with secondary selection in TPointSet3DGL.

Reimplemented from TPointSet3D.

Reimplemented in TEvePointSetProjected.

Definition at line 406 of file TEvePointSet.cxx.

◆ ProjectedClass()

TClass * TEvePointSet::ProjectedClass ( const TEveProjection p) const
virtual

Virtual from TEveProjectable, returns TEvePointSetProjected class.

Implements TEveProjectable.

Reimplemented in TEveLine, and TEveTrack.

Definition at line 397 of file TEvePointSet.cxx.

◆ Reset()

void TEvePointSet::Reset ( Int_t  n_points = 0,
Int_t  n_int_ids = 0 
)

Drop all data and set-up the data structures to recive new data.

n_points specifies the initial size of the arrays. n_int_ids specifies the number of integer ids per point.

Definition at line 148 of file TEvePointSet.cxx.

◆ SetElementName()

virtual void TEvePointSet::SetElementName ( const char *  name)
inlinevirtual

Virtual function for setting of name of an element.

Here we attempt to cast the assigned object into TNamed and call SetName() there. If you override this call NameTitleChanged() from there.

Reimplemented from TEveElement.

Definition at line 68 of file TEvePointSet.h.

◆ SetElementNameTitle()

virtual void TEvePointSet::SetElementNameTitle ( const char *  name,
const char *  title 
)
inlinevirtual

Virtual function for setting of name and title of render element.

Here we attempt to cast the assigned object into TNamed and call SetNameTitle() there. If you override this call NameTitleChanged() from there.

Reimplemented from TEveElement.

Definition at line 71 of file TEvePointSet.h.

◆ SetElementTitle()

virtual void TEvePointSet::SetElementTitle ( const char *  title)
inlinevirtual

Virtual function for setting of title of an element.

Here we attempt to cast the assigned object into TNamed and call SetTitle() there. If you override this call NameTitleChanged() from there.

Reimplemented from TEveElement.

Definition at line 70 of file TEvePointSet.h.

◆ SetMarkerColor()

virtual void TEvePointSet::SetMarkerColor ( Color_t  mcolor)
inlinevirtual

Set the marker color.

Reimplemented from TAttMarker.

Reimplemented in TEveLine.

Definition at line 81 of file TEvePointSet.h.

◆ SetMarkerSize()

void TEvePointSet::SetMarkerSize ( Size_t  msize = 1)
virtual

Set marker size, propagate to projecteds.

Reimplemented from TAttMarker.

Definition at line 262 of file TEvePointSet.cxx.

◆ SetMarkerStyle()

void TEvePointSet::SetMarkerStyle ( Style_t  mstyle = 1)
virtual

Set marker style, propagate to projecteds.

Reimplemented from TAttMarker.

Definition at line 241 of file TEvePointSet.cxx.

◆ SetPointIntIds() [1/2]

void TEvePointSet::SetPointIntIds ( Int_t ids)

Set integer ids for the last point that was registered (most probably via TPolyMarker3D::SetNextPoint(x,y,z)).

Definition at line 221 of file TEvePointSet.cxx.

◆ SetPointIntIds() [2/2]

void TEvePointSet::SetPointIntIds ( Int_t  n,
Int_t ids 
)

Set integer ids for point with index n.

Definition at line 229 of file TEvePointSet.cxx.

◆ SetTitle()

virtual void TEvePointSet::SetTitle ( const char *  t)
inlinevirtual

Definition at line 69 of file TEvePointSet.h.

◆ Streamer()

virtual void TEvePointSet::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TEvePointSet::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 99 of file TEvePointSet.h.

◆ TakeAction()

void TEvePointSet::TakeAction ( TEvePointSelector sel)
virtual

Called from TEvePointSelector when internal arrays of the tree-selector are filled up and need to be processed.

Virtual from TEvePointSelectorConsumer.

Implements TEvePointSelectorConsumer.

Definition at line 312 of file TEvePointSet.cxx.

◆ WriteVizParams()

void TEvePointSet::WriteVizParams ( std::ostream &  out,
const TString var 
)
virtual

Write visualization parameters.

Reimplemented from TEveElement.

Reimplemented in TEveLine, and TEveTrack.

Definition at line 387 of file TEvePointSet.cxx.

Friends And Related Symbol Documentation

◆ TEvePointSetArray

friend class TEvePointSetArray
friend

Definition at line 37 of file TEvePointSet.h.

Member Data Documentation

◆ fIntIds

TArrayI* TEvePointSet::fIntIds
protected

Definition at line 44 of file TEvePointSet.h.

◆ fIntIdsPerPoint

Int_t TEvePointSet::fIntIdsPerPoint
protected

Definition at line 45 of file TEvePointSet.h.

◆ fTitle

TString TEvePointSet::fTitle
protected

Definition at line 43 of file TEvePointSet.h.

Libraries for TEvePointSet:

The documentation for this class was generated from the following files: