document `scaler` in the scene draw interface

This commit is contained in:
Maxime Gimeno 2020-10-16 13:18:45 +02:00
parent f8029d68ba
commit 812d082883
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ public:
* \param y the Y coordinate of theTextItem's position. * \param y the Y coordinate of theTextItem's position.
* \param z the Z coordinate of theTextItem's position. * \param z the Z coordinate of theTextItem's position.
* \param viewer the viewer used to display the Scene. * \param viewer the viewer used to display the Scene.
* \param scaler a vector indicating the scaling factors to apply to the scene when displaying it.
* It can be useful when a scene is very large along one of it's coordinates, making it hard to visualize it.
* \return true if the TextItem is visible. */ * \return true if the TextItem is visible. */
virtual bool testDisplayId(double x, double y, double z, CGAL::Three::Viewer_interface* viewer, const QVector3D& scaler) = 0; virtual bool testDisplayId(double x, double y, double z, CGAL::Three::Viewer_interface* viewer, const QVector3D& scaler) = 0;