class TEveProjectable


 Abstract base-class for non-linear projectable objects.

 Via ProjectedClass() method it returns a TClass instance for the
 projected class and keeps references to the projected objects.

 It is assumed that all classes deriving from TEveProjectable are also
 derived from TEveElement.

 See also TEveProjectionManager::ImportElements().

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TEveProjectable()
virtual voidAddProjected(TEveProjected* p)
virtual voidAddProjectedsToSet(set<TEveElement*>& set)
static TClass*Class()
virtual Bool_tHasProjecteds() const
virtual TClass*IsA() const
virtual TClass*ProjectedClass() const
virtual voidPropagateMainColor(Color_t color, Color_t old_color)
virtual voidPropagateRenderState(Bool_t rnr_self, Bool_t rnr_children)
virtual voidPropagateVizParams(TEveElement* el = 0)
virtual voidRemoveProjected(TEveProjected* p)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TEveProjectable&operator=(const TEveProjectable&)

Data Members

protected:
list<TEveProjected*,allocator<TEveProjected*> >fProjectedListreferences to projected instances.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~TEveProjectable()
 Destructor.
 Force projected replicas to unreference *this, then destroy them.
void AddProjectedsToSet(set<TEveElement*>& set)
 Add the projected elements to the set, dyn-casting them to
 TEveElement.
void PropagateVizParams(TEveElement* el = 0)
 Set visualization parameters of projecteds.
 Use element el as model. If el == 0 (default), this casted to
 TEveElement is used.
void PropagateRenderState(Bool_t rnr_self, Bool_t rnr_children)
 Set render state of projecteds.
void PropagateMainColor(Color_t color, Color_t old_color)
 Set main color of projecteds if their color is the same as old_color.
TEveProjectable& operator=(const TEveProjectable& )
TClass* ProjectedClass()
Bool_t HasProjecteds()
{ return ! fProjectedList.empty(); }
void AddProjected(TEveProjected* p)
{ fProjectedList.push_back(p); }
void RemoveProjected(TEveProjected* p)
{ fProjectedList.remove(p); }

Last change: root/eve:$Id: TEveProjectionBases.h 24004 2008-05-24 20:08:56Z matevz $
Last generated: 2008-06-25 08:37
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

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.