Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures
Visual3d_ViewMapping.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Graphic3d_Vertex.hxx>
#include <Visual3d_TypeOfProjection.hxx>
#include <Standard_Real.hxx>
#include <Handle_TColStd_HArray2OfReal.hxx>
#include <Standard_Boolean.hxx>

Data Structures

class  Visual3d_ViewMapping
 This class allows the definition of a projection and
a system of coordinates called NPC.
(Normalized Projection Coordinates).
The projection can be parallel or perspective.
References: The definitions are Phigs oriented.
Keywords: View, Mapping, Window, View Plane, Front Plane,
BackPlane, Projection Type, Reset, Projection
Summary of 3D View Mapping –
The view mapping transformation defines the –
window-to-viewport mapping of View Reference –
Coordinates (VRC) to Normalized Projection –
Coordinates (NPC). –
CAS.CADE supports two kinds of projection : –
Parallel : –
The Projection Reference Point (PRP) –
determines the direction of projection. –
Perspective : –
The projector lines converge at the –
Projection Reference Point (PRP). –
To define a view mapping transformation you –
must define : –
The Projection Type –
The Projection Reference Point (PRP) –
The Distance from Back Plane (BPD) –
The Distance from Front Plane (FPD) –
The Distance from View Plane (VPD) –
The Window in the View Plane. –
More...