RayZaler 0.1
The free opto-mechanical simulation framework
RZ::Tripod Class Reference
Inheritance diagram for RZ::Tripod:
Collaboration diagram for RZ::Tripod:

Public Member Functions

 Tripod (ElementFactory *, std::string const &, ReferenceFrame *, Element *parent=nullptr)
 
virtual void renderOpenGL () override
 
- Public Member Functions inherited from RZ::Element
Real red () const
 
Real green () const
 
Real blue () const
 
ElementFactoryfactory () const
 
GenericCompositeModelparentModel ()
 
void setParentModel (GenericCompositeModel *model)
 
std::string const & name () const
 
bool hasProperty (std::string const &prop) const
 
PropertyValueType queryPropertyType (std::string const &prop) const
 
bool propertyIsHidden (std::string const &prop) const
 
ReferenceFrameparentFrame () const
 
bool visible () const
 
void refreshFrames ()
 
std::set< std::string > ports () const
 
std::set< std::string > properties () const
 
std::vector< std::string > sortedProperties () const
 
ReferenceFramegetPortFrame (std::string const &) const
 
Elementplug (std::string const &port, std::string const &type, std::string const &name="")
 
template<class T >
T * plug (std::string const &port, std::string const &type, std::string const &name="")
 
bool set (std::string const &, PropertyValue const &)
 
void setDefaults ()
 
PropertyValue get (std::string const &) const
 
template<class T >
get (std::string const &name) const
 
void setSelected (bool)
 
void setVisible (bool)
 
void boundingBox (Vec3 &p1, Vec3 &p2) const
 
virtual void enterOpenGL ()
 
virtual void nativeMaterialOpenGL (std::string const &role)
 
virtual void renderOpenGL ()
 
void calcBoundingBoxOpenGL ()
 
void renderBoundingBoxOpenGL ()
 
virtual OMModelnestedModel () const
 
virtual GenericCompositeModelnestedCompositeModel () const
 
ElementlookupElement (std::string const &name) const
 
OpticalElementlookupOpticalElement (std::string const &name) const
 
DetectorlookupDetector (std::string const &name) const
 
const OpticalPathlookupOpticalPath (std::string const &name) const
 

Protected Member Functions

virtual bool propertyChanged (std::string const &, PropertyValue const &) override
 
- Protected Member Functions inherited from RZ::Element
void material (std::string const &role)
 
void refreshProperties ()
 
void registerProperty (std::string const &, PropertyValue const &, std::string const &)
 
ReferenceFrameregisterPort (std::string const &, ReferenceFrame *)
 
bool addPort (std::string const &, ReferenceFrame *)
 
template<class T >
T * registerPort (std::string const &name, T *frame)
 
virtual bool propertyChanged (std::string const &, PropertyValue const &)
 
void setBoundingBox (Vec3 const &p1, Vec3 const &p2)
 
void updatePropertyValue (std::string const &, PropertyValue const &)
 
 Element (ElementFactory *, std::string const &, ReferenceFrame *, Element *parent=nullptr)
 

Member Function Documentation

◆ propertyChanged()

bool Tripod::propertyChanged ( std::string const &  name,
PropertyValue const &  val 
)
overrideprotectedvirtual

Reimplemented from RZ::Element.

◆ renderOpenGL()

void Tripod::renderOpenGL ( )
overridevirtual

Reimplemented from RZ::Element.


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