#include <Goptical/Sys/Element>
namespace Goptical {
namespace Sys {
class Element;
};
};
This class is a member of the Sys namespace.
This is the base class for all optical elements.
Instances of this class may be registered as members of the Container class. It handles element position and transform to parent coordinates.
This class has virtual functions which must be reimplemented to handle incoming rays.
See also the full member list section for this class.
Create a new optical element with given position and direction in parent coordinates system.
No documentation available
Draw element 2d layout using the given renderer in given element coordinates.
Draw element in 3d using the given renderer in given element coordinates
Get bounding box in local coordinates
Get element direction in given element coordinate system
Get element direction in system global coordinates
Get transform from this element local to global coordinates
Get element direction in parent coordinate system
Get reference plane (position and direction) in parent coordinate system
See also get_local_direction function and get_local_position function.
Get element position in parent local coordinate system
Get transform from global to this element local coordinates
Get a pointer to parent element, if any.
Get reference plane (position and direction) in system global coordinates
See also get_direction function and get_position function.
Get reference plane (position and direction) in given element coordinates
See also get_direction function and get_position function.
Get element position in given element coordinate system
Get element position in system global coordinate system
Get a pointer to system
Get transform from this element to parent element coordinate system
Get transform from given element to this element coordinate system
Get transform from given element to this element coordinate system. Transform from global coordinates is returned if paramter is 0.
Get transform from this element to given element coordinate system
Get transform from this element to given element coordinate system. Transform to global coordinates is returned if paramter is 0.
Get element version. version is updated each time element or its children properties are changed
Get element identifer in current system
Return true if element must be considered
No documentation available
No documentation available
Batch process a list of light rays interacting with element. This function is only used in sequential ray trace mode.
No documentation available
Rotate element direction. angles are in degrees
Set element direction in system global coordinates
Set enable state
Set element direction in parent coordinate system
Set reference plane (position and direction) in parent coordinate system
See also set_local_direction function and set_local_position function.
Set element position in parent local coordinate system
Set reference plane (position and direction) in system global coordinates
See also set_direction function and set_position function.
Set element position in system global coordinate system
Set transform to parant coordinate system
Increase current element version
Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:25 2012 using MkDoc