OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKIGES
IGESDraw


IGESDraw_PerspectiveView Class Reference

defines IGESPerspectiveView, Type <410> Form <1>
in package IGESDraw

#include <IGESDraw_PerspectiveView.hxx>

Inheritance diagram for IGESDraw_PerspectiveView:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT IGESDraw_PerspectiveView ()
Standard_EXPORT void Init (const Standard_Integer aViewNumber, const Standard_Real aScaleFactor, const gp_XYZ &aViewNormalVector, const gp_XYZ &aViewReferencePoint, const gp_XYZ &aCenterOfProjection, const gp_XYZ &aViewUpVector, const Standard_Real aViewPlaneDistance, const gp_XY &aTopLeft, const gp_XY &aBottomRight, const Standard_Integer aDepthClip, const Standard_Real aBackPlaneDistance, const Standard_Real aFrontPlaneDistance)
 This method is used to set the fields of the class
PerspectiveView
- aViewNumber : The desired view
- aScaleFactor : Scale factor
- aViewNormalVector : View plane normal vector (model space)
- aViewReferencePoint : View reference point (model space)
- aCenterOfProjection : Center Of Projection (model space)
- aViewUpVector : View up vector (model space)
- aViewPlaneDistance : View plane distance (model space)
- aTopLeft : Top-left point of clipping window
- aBottomRight : Bottom-right point of clipping window
- aDepthClip : Depth clipping indicator
- aBackPlaneDistance : Distance of back clipping plane
- aFrontPlaneDistance : Distance of front clipping plane
.
Standard_EXPORT Standard_Boolean IsSingle () const
 Returns True (for a single view)
.
Standard_EXPORT Standard_Integer NbViews () const
 Returns 1 (single view)
.
Standard_EXPORT Handle_IGESData_ViewKindEntity ViewItem (const Standard_Integer num) const
 For a single view, returns <me> whatever <num>
.
Standard_EXPORT Standard_Integer ViewNumber () const
 returns the view number associated with <me>

Standard_EXPORT Standard_Real ScaleFactor () const
 returns the scale factor associated with <me>

Standard_EXPORT gp_Vec ViewNormalVector () const
 returns the View plane normal vector (model space)

Standard_EXPORT gp_Pnt ViewReferencePoint () const
 returns the View reference point (model space)

Standard_EXPORT gp_Pnt CenterOfProjection () const
 returns the Center Of Projection (model space)

Standard_EXPORT gp_Vec ViewUpVector () const
 returns the View up vector (model space)

Standard_EXPORT Standard_Real ViewPlaneDistance () const
 returns the View plane distance (model space)

Standard_EXPORT gp_Pnt2d TopLeft () const
 returns the top left point of the clipping window

Standard_EXPORT gp_Pnt2d BottomRight () const
 returns the bottom right point of the clipping window

Standard_EXPORT Standard_Integer DepthClip () const
 returns the Depth clipping indicator
0 = No depth clipping
1 = Back clipping plane ON
2 = Front clipping plane ON
3 = Back and front clipping planes ON

Standard_EXPORT Standard_Real BackPlaneDistance () const
 returns the View coordinate denoting the location of
the back clipping plane

Standard_EXPORT Standard_Real FrontPlaneDistance () const
 returns the View coordinate denoting the location of
the front clipping plane

Standard_EXPORT Handle_IGESData_TransfEntity ViewMatrix () const
 returns the Transformation Matrix

Standard_EXPORT gp_XYZ ModelToView (const gp_XYZ &coords) const
 returns XYX from the Model space to the View space by
applying the View Matrix

Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

Standard_Integer theViewNumber
Standard_Real theScaleFactor
gp_XYZ theViewNormalVector
gp_XYZ theViewReferencePoint
gp_XYZ theCenterOfProjection
gp_XYZ theViewUpVector
Standard_Real theViewPlaneDistance
gp_XY theTopLeft
gp_XY theBottomRight
Standard_Integer theDepthClip
Standard_Real theBackPlaneDistance
Standard_Real theFrontPlaneDistance

Constructor & Destructor Documentation

Standard_EXPORT IGESDraw_PerspectiveView::IGESDraw_PerspectiveView  ) 
 


Member Function Documentation

Standard_EXPORT Standard_Real IGESDraw_PerspectiveView::BackPlaneDistance  )  const
 

Standard_EXPORT gp_Pnt2d IGESDraw_PerspectiveView::BottomRight  )  const
 

Standard_EXPORT gp_Pnt IGESDraw_PerspectiveView::CenterOfProjection  )  const
 

Standard_EXPORT Standard_Integer IGESDraw_PerspectiveView::DepthClip  )  const
 

Standard_EXPORT Standard_Real IGESDraw_PerspectiveView::FrontPlaneDistance  )  const
 

Standard_EXPORT const IGESDraw_PerspectiveView::Handle Standard_Type   )  const
 

Reimplemented from IGESData_ViewKindEntity.

Standard_EXPORT void IGESDraw_PerspectiveView::Init const Standard_Integer  aViewNumber,
const Standard_Real  aScaleFactor,
const gp_XYZ &  aViewNormalVector,
const gp_XYZ &  aViewReferencePoint,
const gp_XYZ &  aCenterOfProjection,
const gp_XYZ &  aViewUpVector,
const Standard_Real  aViewPlaneDistance,
const gp_XY &  aTopLeft,
const gp_XY &  aBottomRight,
const Standard_Integer  aDepthClip,
const Standard_Real  aBackPlaneDistance,
const Standard_Real  aFrontPlaneDistance
 

Standard_EXPORT Standard_Boolean IGESDraw_PerspectiveView::IsSingle  )  const [virtual]
 

Implements IGESData_ViewKindEntity.

Standard_EXPORT gp_XYZ IGESDraw_PerspectiveView::ModelToView const gp_XYZ &  coords  )  const
 

Standard_EXPORT Standard_Integer IGESDraw_PerspectiveView::NbViews  )  const [virtual]
 

Implements IGESData_ViewKindEntity.

Standard_EXPORT Standard_Real IGESDraw_PerspectiveView::ScaleFactor  )  const
 

Standard_EXPORT gp_Pnt2d IGESDraw_PerspectiveView::TopLeft  )  const
 

Standard_EXPORT Handle_IGESData_ViewKindEntity IGESDraw_PerspectiveView::ViewItem const Standard_Integer  num  )  const [virtual]
 

Implements IGESData_ViewKindEntity.

Standard_EXPORT Handle_IGESData_TransfEntity IGESDraw_PerspectiveView::ViewMatrix  )  const
 

Standard_EXPORT gp_Vec IGESDraw_PerspectiveView::ViewNormalVector  )  const
 

Standard_EXPORT Standard_Integer IGESDraw_PerspectiveView::ViewNumber  )  const
 

Standard_EXPORT Standard_Real IGESDraw_PerspectiveView::ViewPlaneDistance  )  const
 

Standard_EXPORT gp_Pnt IGESDraw_PerspectiveView::ViewReferencePoint  )  const
 

Standard_EXPORT gp_Vec IGESDraw_PerspectiveView::ViewUpVector  )  const
 


Field Documentation

Standard_Real IGESDraw_PerspectiveView::theBackPlaneDistance [private]
 

gp_XY IGESDraw_PerspectiveView::theBottomRight [private]
 

gp_XYZ IGESDraw_PerspectiveView::theCenterOfProjection [private]
 

Standard_Integer IGESDraw_PerspectiveView::theDepthClip [private]
 

Standard_Real IGESDraw_PerspectiveView::theFrontPlaneDistance [private]
 

Standard_Real IGESDraw_PerspectiveView::theScaleFactor [private]
 

gp_XY IGESDraw_PerspectiveView::theTopLeft [private]
 

gp_XYZ IGESDraw_PerspectiveView::theViewNormalVector [private]
 

Standard_Integer IGESDraw_PerspectiveView::theViewNumber [private]
 

Standard_Real IGESDraw_PerspectiveView::theViewPlaneDistance [private]
 

gp_XYZ IGESDraw_PerspectiveView::theViewReferencePoint [private]
 

gp_XYZ IGESDraw_PerspectiveView::theViewUpVector [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:40:43 2008 for OpenCASCADE by  doxygen 1.4.1