HyperspaceExplorer 0.7.1
|
Classes | |
struct | Impl |
Public Member Functions | |
Composite (ParameterMap parameters) | |
void | addComponent (std::shared_ptr< Displayable > component, const VecMath::Vector< 4 > &translation, const VecMath::Rotation< 4 > &rotation, const VecMath::Vector< 4 > &scale=1.) |
const CompositeComponent & | getComponent (unsigned i) const |
unsigned | getNumComponents () |
virtual void | Transform (const VecMath::Rotation< 4 > &R, const VecMath::Vector< 4 > &T, const VecMath::Vector< 4 > &scale=1.) |
virtual void | Project (double ScrW, double CamW, bool DepthCue4D) |
Projects the vertex data to 3D. | |
virtual void | Draw (UI::View *) |
Draw the Displayable object. | |
virtual void | for_each_vertex (Displayable::function_on_fourspace_vertex apply) |
Loop over all vertices managed by the Displayable and call apply on them. | |
virtual void | for_each_vertex_transformed (function_on_fourspace_and_transformed_vertex apply) |
Loop over all vertices managed by the Displayable and their transformed images and call apply on them. | |
virtual void | for_each_projected (Displayable::function_on_projected_vertex apply) |
Loop over all vertices managed by the Displayable and call apply on them. | |
virtual void | for_each_vertex_transformed_projected (function_on_fourspace_transformed_and_projected_vertex apply) |
Loop over all vertices managed by the Displayable, their transformed images and the projection into three-space and call apply on them. | |
virtual unsigned int | getDefinitionSpaceDimensions () |
number of argument given to the defining function | |
virtual void | calibrateColors () |
Called by the ColorManager after setting the Displayable on the CM. | |
virtual void | ReInit (double _tmin, double _tmax, double _dt, double _umin, double _umax, double _du, double _vmin, double _vmax, double _dv) |
Called when a Displayable must be created anew. | |
Protected Member Functions | |
virtual VecMath::Vector < 4, double > & | operator() (double, double, double) |
Function evaluation operator for three parameters. | |
void | clear () |
Private Attributes | |
Impl * | pImpl_ |
void Composite::for_each_vertex_transformed | ( | Displayable::function_on_fourspace_and_transformed_vertex | apply | ) | [virtual] |
Loop over all vertices managed by the Displayable and their transformed images and call apply on them.
This function is not pure virtual because it would be too tedious to require all implementing classes to provide an implementation.
The default implementation provided here throws an exception.
Reimplemented from Displayable.
void Composite::for_each_vertex_transformed_projected | ( | Displayable::function_on_fourspace_transformed_and_projected_vertex | apply | ) | [virtual] |
Loop over all vertices managed by the Displayable, their transformed images and the projection into three-space and call apply on them.
This function is not pure virtual because it would be too tedious to require all implementing classes to provide an implementation.
The default implementation provided here throws an exception.
Reimplemented from Displayable.
VecMath::Vector< 4 > & Composite::operator() | ( | double | , |
double | , | ||
double | |||
) | [protected, virtual] |
Function evaluation operator for three parameters.
Reimplemented from Displayable.