# DataExchange
TKIGES
IGESDraw

# IGESDraw_View Class Reference

defines IGES View Entity, Type <410> Form <0>
in package IGESDraw

`#include <IGESDraw_View.hxx>`

Inheritance diagram for IGESDraw_View:

[legend]

## Public Member Functions

Standard_EXPORT | IGESDraw_View ()
Standard_EXPORT void | Init (const Standard_Integer aViewNum, const Standard_Real aScale, const Handle(IGESGeom_Plane)&aLeftPlane, const Handle(IGESGeom_Plane)&aTopPlane, const Handle(IGESGeom_Plane)&aRightPlane, const Handle(IGESGeom_Plane)&aBottomPlane, const Handle(IGESGeom_Plane)&aBackPlane, const Handle(IGESGeom_Plane)&aFrontPlane)
| This method is used to set fields of the class View - aViewNum : View number - aScale : Scale factor - aLeftPlane : Left plane of view volume - aTopPlane : Top plane of view volume - aRightPlane : Right plane of view volume - aBottomPlane : Bottom plane of view volume - aBackPlane : Back plane of view volume - aFrontPlane : Front plane of view volume .
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 integer number identifying view orientation
Standard_EXPORT Standard_Real | ScaleFactor () const
| returns the scale factor(Default = 1.0)
Standard_EXPORT Standard_Boolean | HasLeftPlane () const
| returns False if left side of view volume is not present
Standard_EXPORT Handle_IGESGeom_Plane | LeftPlane () const
| returns the left side of view volume, or null handle
Standard_EXPORT Standard_Boolean | HasTopPlane () const
| returns False if top of view volume is not present
Standard_EXPORT Handle_IGESGeom_Plane | TopPlane () const
| returns the top of view volume, or null handle
Standard_EXPORT Standard_Boolean | HasRightPlane () const
| returns False if right side of view volume is not present
Standard_EXPORT Handle_IGESGeom_Plane | RightPlane () const
| returns the right side of view volume, or null handle
Standard_EXPORT Standard_Boolean | HasBottomPlane () const
| returns False if bottom of view volume is not present
Standard_EXPORT Handle_IGESGeom_Plane | BottomPlane () const
| returns the bottom of view volume, or null handle
Standard_EXPORT Standard_Boolean | HasBackPlane () const
| returns False if back of view volume is not present
Standard_EXPORT Handle_IGESGeom_Plane | BackPlane () const
| returns the back of view volume, or null handle
Standard_EXPORT Standard_Boolean | HasFrontPlane () const
| returns False if front of view volume is not present
Standard_EXPORT Handle_IGESGeom_Plane | FrontPlane () const
| returns the front of view volume, or null handle
Standard_EXPORT Handle_IGESData_TransfEntity | ViewMatrix () const
| returns the Transformation Matrix
Standard_EXPORT gp_XYZ | ModelToView (const gp_XYZ &coords) const
| returns XYZ 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
Handle_IGESGeom_Plane | theLeftPlane
Handle_IGESGeom_Plane | theTopPlane
Handle_IGESGeom_Plane | theRightPlane
Handle_IGESGeom_Plane | theBottomPlane
Handle_IGESGeom_Plane | theBackPlane
Handle_IGESGeom_Plane | theFrontPlane

## Constructor & Destructor Documentation

Standard_EXPORT IGESDraw_View::IGESDraw_View | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Handle_IGESGeom_Plane IGESDraw_View::BackPlane | ( |  | ) | const

Standard_EXPORT Handle_IGESGeom_Plane IGESDraw_View::BottomPlane | ( |  | ) | const

Standard_EXPORT Handle_IGESGeom_Plane IGESDraw_View::FrontPlane | ( |  | ) | const

Standard_EXPORT const IGESDraw_View::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from IGESData_ViewKindEntity.

Standard_EXPORT Standard_Boolean IGESDraw_View::HasBackPlane | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_View::HasBottomPlane | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_View::HasFrontPlane | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_View::HasLeftPlane | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_View::HasRightPlane | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_View::HasTopPlane | ( |  | ) | const

Standard_EXPORT void IGESDraw_View::Init | ( | const Standard_Integer | aViewNum,
|  | const Standard_Real | aScale,
|  | const Handle(IGESGeom_Plane)& | aLeftPlane,
|  | const Handle(IGESGeom_Plane)& | aTopPlane,
|  | const Handle(IGESGeom_Plane)& | aRightPlane,
|  | const Handle(IGESGeom_Plane)& | aBottomPlane,
|  | const Handle(IGESGeom_Plane)& | aBackPlane,
|  | const Handle(IGESGeom_Plane)& | aFrontPlane
| ) |

Standard_EXPORT Standard_Boolean IGESDraw_View::IsSingle | ( |  | ) | const`[virtual]`

| Implements IGESData_ViewKindEntity.

Standard_EXPORT Handle_IGESGeom_Plane IGESDraw_View::LeftPlane | ( |  | ) | const

Standard_EXPORT gp_XYZ IGESDraw_View::ModelToView | ( | const gp_XYZ & | coords | ) | const

Standard_EXPORT Standard_Integer IGESDraw_View::NbViews | ( |  | ) | const`[virtual]`

| Implements IGESData_ViewKindEntity.

Standard_EXPORT Handle_IGESGeom_Plane IGESDraw_View::RightPlane | ( |  | ) | const

Standard_EXPORT Standard_Real IGESDraw_View::ScaleFactor | ( |  | ) | const

Standard_EXPORT Handle_IGESGeom_Plane IGESDraw_View::TopPlane | ( |  | ) | const

Standard_EXPORT Handle_IGESData_ViewKindEntity IGESDraw_View::ViewItem | ( | const Standard_Integer | num | ) | const`[virtual]`

| Implements IGESData_ViewKindEntity.

Standard_EXPORT Handle_IGESData_TransfEntity IGESDraw_View::ViewMatrix | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESDraw_View::ViewNumber | ( |  | ) | const

## Field Documentation

Handle_IGESGeom_Plane IGESDraw_View::theBackPlane `[private]`

Handle_IGESGeom_Plane IGESDraw_View::theBottomPlane `[private]`

Handle_IGESGeom_Plane IGESDraw_View::theFrontPlane `[private]`

Handle_IGESGeom_Plane IGESDraw_View::theLeftPlane `[private]`

Handle_IGESGeom_Plane IGESDraw_View::theRightPlane `[private]`

Standard_Real IGESDraw_View::theScaleFactor `[private]`

Handle_IGESGeom_Plane IGESDraw_View::theTopPlane `[private]`

Standard_Integer IGESDraw_View::theViewNumber `[private]`

The documentation for this class was generated from the following file:

- IGESDraw_View.hxx