#include <Visual3d_ViewMapping.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | Visual3d_ViewMapping () |
Creates a projection. . | |
Standard_EXPORT | Visual3d_ViewMapping (const Visual3d_TypeOfProjection AType, const Graphic3d_Vertex &PRP, const Standard_Real BPD, const Standard_Real FPD, const Standard_Real VPD, const Standard_Real WUmin, const Standard_Real WVmin, const Standard_Real WUmax, const Standard_Real WVmax) |
Creates a projection. . | |
Standard_EXPORT void | SetBackPlaneDistance (const Standard_Real BPD) |
Modifies the back clipping plane. Category: Methods to modify the class definition Warning: Raises ViewMappingDefinitionError if <prp> is between the front and back planes. if <prp> is positioned on the view plane. if the back plane is in front of the front plane. . | |
Standard_EXPORT void | SetFrontPlaneDistance (const Standard_Real FPD) |
Modifies the front clipping plane. Category: Methods to modify the class definition Warning: Raises ViewMappingDefinitionError if <prp> is between the front and back planes. if <prp> is positioned on the view plane. if the back plane is in front of the front plane. . | |
Standard_EXPORT void | SetProjection (const Visual3d_TypeOfProjection AType) |
Modifies the type of projection. . | |
Standard_EXPORT void | SetProjectionReferencePoint (const Graphic3d_Vertex &PRP) |
Modifies the PRP. Category: Methods to modify the class definition Warning: Raises ViewMappingDefinitionError if <prp> is between the front and back planes. if <prp> is positioned on the view plane. . | |
Standard_EXPORT void | SetViewPlaneDistance (const Standard_Real VPD) |
Modifies the distance of the view plane of projection. Category: Methods to modify the class definition Warning: Raises ViewMappingDefinitionError if <prp> is positioned on the view plane. . | |
Standard_EXPORT void | SetWindowLimit (const Standard_Real Umin, const Standard_Real Vmin, const Standard_Real Umax, const Standard_Real Vmax) |
Modifies the visible part of the projection plane. Category: Methods to modify the class definition Warning: Raises ViewMappingDefinitionError if the specified window is invalid. . | |
Standard_EXPORT void | SetCustomProjectionMatrix (const Handle(TColStd_HArray2OfReal)&Mat) |
Sets custom PROJECTION matrix for the OpenGl context . | |
Standard_EXPORT Standard_Real | BackPlaneDistance () const |
Returns the distance from the back clipping plane of this view mapping. . | |
Standard_EXPORT Standard_Real | FrontPlaneDistance () const |
Returns the distance from the front clipping plane of this view mapping. . | |
Standard_EXPORT Visual3d_TypeOfProjection | Projection () const |
Returns the type of projection. . | |
Standard_EXPORT Graphic3d_Vertex | ProjectionReferencePoint () const |
Returns the PRP. . | |
Standard_EXPORT Standard_Real | ViewPlaneDistance () const |
Returns the distance from the projection plane. . | |
Standard_EXPORT void | WindowLimit (Standard_Real &Umin, Standard_Real &Vmin, Standard_Real &Umax, Standard_Real &Vmax) const |
Returns the visible part of the projection plane. . | |
Standard_EXPORT Standard_Boolean | IsCustomMatrix () const |
Returns whether the custom PROJECTION matrix is used. . | |
Private Member Functions | |
Standard_EXPORT void | Assign (const Visual3d_ViewMapping &Other) |
Copies the content of <other> into <me>. . | |
Private Attributes | |
Graphic3d_Vertex | MyReferencePoint |
Visual3d_TypeOfProjection | MyProjectionType |
Standard_Real | MyBackPlaneDistance |
Standard_Real | MyFrontPlaneDistance |
Standard_Real | MyViewPlaneDistance |
Standard_Real | MyWindowLimits [4] |
Handle_TColStd_HArray2OfReal | MyProjectionMatrix |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|