|
Open CASCADE Technology 6.5.2
|
Creation and modification of a spot.
#include <V3d_Camera.hxx>

Public Member Functions | |
| V3d_Camera (const Handle< V3d_View > &aView) | |
| Creates the camera which relatives of View | |
| void | SetPosition (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z) |
| Defines the position of the camera. . | |
| void | SetAngle (const Quantity_PlaneAngle Angle) |
| Defines the angular position of camera. //! Warning! raises BadValue from Viewer if Abs(Angle) > 2*PI; If the angle is <= 0 ou > PI . | |
| void | SetAperture (const Quantity_PlaneAngle Angle) |
| Defines the Aperture. //! Warning! raises BadValue from Viewer if angle <= 0 or > PI | |
| void | SetTarget (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z) |
| Defines the target of the camera. | |
| void | SetRadius (const Quantity_Parameter Radius) |
| Define the radius. //! Warning! raises BadValue from Viewer if radius <= 0 . | |
| void | OnHideFace (const Handle< V3d_View > &aView) |
| Calculate the position of the camera, on the hide face of the picking sphere. | |
| void | OnSeeFace (const Handle< V3d_View > &aView) |
| Calculate the position of the camera, on the seen face of the picking sphere. | |
| void | Tracking (const Handle< V3d_View > &aView, const V3d_TypeOfPickCamera WathPick, const Standard_Integer Xpix, const Standard_Integer Ypix) |
| Tracking the camera position, or the picking sphere, or the radius of the picking sphere, that depends of initial picking "WhatPick" (see the pick method). If WhatPick is SPACECAMERA, then the parameters Xpix, Ypix are the coordinates of a translation vector. | |
| void | AerialPilot (const Handle< V3d_View > &aView, const Standard_Integer Xpix, const Standard_Integer Ypix) |
| Permits the driving of the camera in aerial mode. The user believes fly in plane ... | |
| void | EarthPilot (const Handle< V3d_View > &aView, const Standard_Integer Xpix, const Standard_Integer Ypix) |
| Permits the driving of the camera in earth mode. The user believes drive a car ... | |
| void | Move (const Quantity_Parameter Dist) |
| The camera move or move back in the direction camera, target of camera. | |
| void | GoUp (const Quantity_Parameter Haut) |
| The camera go up or go down on the z axis, the direction of camera is the same. | |
| void | Display (const Handle< V3d_View > &aView, const V3d_TypeOfRepresentation Representation) |
| Display the graphic structure of camera in the choosen view. We have two types of representation. | |
| void | Erase () |
| Erase the graphic structure of camera. | |
| void | Position (V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z) const |
| Returns the position of the camera. | |
| void | Target (V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z) const |
| Returns the position of the target of camera. | |
| Quantity_PlaneAngle | Angle () const |
| Returns the angle. | |
| Quantity_PlaneAngle | Aperture () const |
| Returns the Aperture. | |
| Quantity_Parameter | Radius () const |
| Returns the radius of the picking sphere. | |
| Standard_Boolean | SeeOrHide (const Handle< V3d_View > &aView) const |
| Returns a Boolean on the status seen or hidden of the camera. If True the camera has seen. If False the camera has hidden. | |
| V3d_TypeOfPickCamera | Pick (const Handle< V3d_View > &aView, const Standard_Integer Xpix, const Standard_Integer Ypix) const |
| Returns the type of pick element. "POSITIONCAMERA" : Representation of camera position. "SPACECAMERA" : Representation of picking sphere. "ExtRADIUSCAMERA" : Representation of extern arrow. "IntRADIUSCAMERA" : Representation of intern arrow. "RADIUSTEXTCAMERA": Representation of radius value. "NOTHINGCAMERA" : Any component of camera. Determinate which type of tracking apply. | |
| V3d_Camera::V3d_Camera | ( | const Handle< V3d_View > & | aView | ) |
| void V3d_Camera::AerialPilot | ( | const Handle< V3d_View > & | aView, |
| const Standard_Integer | Xpix, | ||
| const Standard_Integer | Ypix | ||
| ) |
| Quantity_PlaneAngle V3d_Camera::Angle | ( | ) | const |
| Quantity_PlaneAngle V3d_Camera::Aperture | ( | ) | const |
| void V3d_Camera::Display | ( | const Handle< V3d_View > & | aView, |
| const V3d_TypeOfRepresentation | Representation | ||
| ) |
| void V3d_Camera::EarthPilot | ( | const Handle< V3d_View > & | aView, |
| const Standard_Integer | Xpix, | ||
| const Standard_Integer | Ypix | ||
| ) |
| void V3d_Camera::Erase | ( | ) |
| void V3d_Camera::GoUp | ( | const Quantity_Parameter | Haut | ) |
| void V3d_Camera::Move | ( | const Quantity_Parameter | Dist | ) |
| void V3d_Camera::OnHideFace | ( | const Handle< V3d_View > & | aView | ) |
| void V3d_Camera::OnSeeFace | ( | const Handle< V3d_View > & | aView | ) |
| V3d_TypeOfPickCamera V3d_Camera::Pick | ( | const Handle< V3d_View > & | aView, |
| const Standard_Integer | Xpix, | ||
| const Standard_Integer | Ypix | ||
| ) | const |
| void V3d_Camera::Position | ( | V3d_Coordinate & | X, |
| V3d_Coordinate & | Y, | ||
| V3d_Coordinate & | Z | ||
| ) | const |
| Quantity_Parameter V3d_Camera::Radius | ( | ) | const |
| Standard_Boolean V3d_Camera::SeeOrHide | ( | const Handle< V3d_View > & | aView | ) | const |
| void V3d_Camera::SetAngle | ( | const Quantity_PlaneAngle | Angle | ) |
| void V3d_Camera::SetAperture | ( | const Quantity_PlaneAngle | Angle | ) |
| void V3d_Camera::SetPosition | ( | const V3d_Coordinate | X, |
| const V3d_Coordinate | Y, | ||
| const V3d_Coordinate | Z | ||
| ) |
| void V3d_Camera::SetRadius | ( | const Quantity_Parameter | Radius | ) |
| void V3d_Camera::SetTarget | ( | const V3d_Coordinate | X, |
| const V3d_Coordinate | Y, | ||
| const V3d_Coordinate | Z | ||
| ) |
| void V3d_Camera::Target | ( | V3d_Coordinate & | X, |
| V3d_Coordinate & | Y, | ||
| V3d_Coordinate & | Z | ||
| ) | const |
| void V3d_Camera::Tracking | ( | const Handle< V3d_View > & | aView, |
| const V3d_TypeOfPickCamera | WathPick, | ||
| const Standard_Integer | Xpix, | ||
| const Standard_Integer | Ypix | ||
| ) |
1.7.4