# DataExchange
TKIGES
IGESDraw

# IGESDraw_ViewsVisibleWithAttr Class Reference

defines IGESViewsVisibleWithAttr, Type <402>, Form <4>
in package IGESDraw

`#include <IGESDraw_ViewsVisibleWithAttr.hxx>`

Inheritance diagram for IGESDraw_ViewsVisibleWithAttr:

[legend]

## Public Member Functions

Standard_EXPORT | IGESDraw_ViewsVisibleWithAttr ()

Standard_EXPORT void

Init (const Handle(IGESDraw_HArray1OfViewKindEntity)&allViewEntities, const Handle(TColStd_HArray1OfInteger)&allLineFonts, const Handle(IGESBasic_HArray1OfLineFontEntity)&allLineDefinitions, const Handle(TColStd_HArray1OfInteger)&allColorValues, const Handle(IGESGraph_HArray1OfColor)&allColorDefinitions, const Handle(TColStd_HArray1OfInteger)&allLineWeights, const Handle(IGESData_HArray1OfIGESEntity)&allDisplayEntities)

This method is used to set fields of the class
ViewsVisibleWithAttr
- allViewEntities : All View kind entities
- allLineFonts : All Line Font values or zero(0)
- allLineDefinitions : Line Font Definition
(if Line Font value = 0)
- allColorValues : All Color values
- allColorDefinitions : All Color Definition Entities
- allLineWeights : All Line Weight values
- allDisplayEntities : Entities which are member of
this associativity
raises exception if Lengths of allViewEntities, allLineFonts,
allColorValues,allColorDefinitions, allLineWeights are not same
.

Standard_EXPORT void | InitImplied (const Handle(IGESData_HArray1OfIGESEntity)&allDisplayEntity)
| Changes only the list of Displayed Entities (Null allowed) .
Standard_EXPORT Standard_Boolean | IsSingle () const
| Returns False (for a complex view) .
Standard_EXPORT Standard_Integer | NbViews () const
| returns the number of Views containing the view visible, line font, color number, and line weight information
Standard_EXPORT Standard_Integer | NbDisplayedEntities () const
| returns the number of entities which have this particular set of display characteristic, or zero if no Entities specified
Standard_EXPORT Handle_IGESData_ViewKindEntity | ViewItem (const Standard_Integer Index) const
| returns the Index'th ViewKindEntity entity raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Standard_Integer | LineFontValue (const Standard_Integer Index) const
| returns the Index'th Line font value or zero raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Standard_Boolean | IsFontDefinition (const Standard_Integer Index) const
| returns True if the Index'th Line Font Definition is specified else returns False raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Handle_IGESData_LineFontEntity | FontDefinition (const Standard_Integer Index) const
| returns the Index'th Line Font Definition Entity or NULL(0) raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Standard_Integer | ColorValue (const Standard_Integer Index) const
| returns the Index'th Color number value raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Standard_Boolean | IsColorDefinition (const Standard_Integer Index) const
| returns True if Index'th Color Definition is specified else returns False raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Handle_IGESGraph_Color | ColorDefinition (const Standard_Integer Index) const
| returns the Index'th Color Definition Entity raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Standard_Integer | LineWeightItem (const Standard_Integer Index) const
| returns the Index'th Color Line Weight raises exception if Index <= 0 or Index > NbViews()
Standard_EXPORT Handle_IGESData_IGESEntity | DisplayedEntity (const Standard_Integer Index) const
| returns Index'th Display entity with this particular characteristics raises exception if Index <= 0 or Index > NbEntities()
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Attributes

Handle_IGESDraw_HArray1OfViewKindEntity | theViewEntities
Handle_TColStd_HArray1OfInteger | theLineFonts
Handle_IGESBasic_HArray1OfLineFontEntity | theLineDefinitions
Handle_TColStd_HArray1OfInteger | theColorValues
Handle_IGESGraph_HArray1OfColor | theColorDefinitions
Handle_TColStd_HArray1OfInteger | theLineWeights
Handle_IGESData_HArray1OfIGESEntity | theDisplayEntities

## Constructor & Destructor Documentation

Standard_EXPORT IGESDraw_ViewsVisibleWithAttr::IGESDraw_ViewsVisibleWithAttr | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Handle_IGESGraph_Color IGESDraw_ViewsVisibleWithAttr::ColorDefinition | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESDraw_ViewsVisibleWithAttr::ColorValue | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Handle_IGESData_IGESEntity IGESDraw_ViewsVisibleWithAttr::DisplayedEntity | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Handle_IGESData_LineFontEntity IGESDraw_ViewsVisibleWithAttr::FontDefinition | ( | const Standard_Integer | Index | ) | const

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

| Reimplemented from IGESData_ViewKindEntity.

Standard_EXPORT void IGESDraw_ViewsVisibleWithAttr::Init | ( | const Handle(IGESDraw_HArray1OfViewKindEntity)& | allViewEntities,
|  | const Handle(TColStd_HArray1OfInteger)& | allLineFonts,
|  | const Handle(IGESBasic_HArray1OfLineFontEntity)& | allLineDefinitions,
|  | const Handle(TColStd_HArray1OfInteger)& | allColorValues,
|  | const Handle(IGESGraph_HArray1OfColor)& | allColorDefinitions,
|  | const Handle(TColStd_HArray1OfInteger)& | allLineWeights,
|  | const Handle(IGESData_HArray1OfIGESEntity)& | allDisplayEntities
| ) |

Standard_EXPORT void IGESDraw_ViewsVisibleWithAttr::InitImplied | ( | const Handle(IGESData_HArray1OfIGESEntity)& | allDisplayEntity | ) |

Standard_EXPORT Standard_Boolean IGESDraw_ViewsVisibleWithAttr::IsColorDefinition | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_ViewsVisibleWithAttr::IsFontDefinition | ( | const Standard_Integer | Index | ) | const

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

| Implements IGESData_ViewKindEntity.

Standard_EXPORT Standard_Integer IGESDraw_ViewsVisibleWithAttr::LineFontValue | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESDraw_ViewsVisibleWithAttr::LineWeightItem | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESDraw_ViewsVisibleWithAttr::NbDisplayedEntities | ( |  | ) | const

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

| Implements IGESData_ViewKindEntity.

Standard_EXPORT Handle_IGESData_ViewKindEntity IGESDraw_ViewsVisibleWithAttr::ViewItem | ( | const Standard_Integer | Index | ) | const`[virtual]`

| Implements IGESData_ViewKindEntity.

## Field Documentation

Handle_IGESGraph_HArray1OfColor IGESDraw_ViewsVisibleWithAttr::theColorDefinitions`[private]`

Handle_TColStd_HArray1OfInteger IGESDraw_ViewsVisibleWithAttr::theColorValues`[private]`

Handle_IGESData_HArray1OfIGESEntity IGESDraw_ViewsVisibleWithAttr::theDisplayEntities`[private]`

Handle_IGESBasic_HArray1OfLineFontEntity IGESDraw_ViewsVisibleWithAttr::theLineDefinitions`[private]`

Handle_TColStd_HArray1OfInteger IGESDraw_ViewsVisibleWithAttr::theLineFonts`[private]`

Handle_TColStd_HArray1OfInteger IGESDraw_ViewsVisibleWithAttr::theLineWeights`[private]`

Handle_IGESDraw_HArray1OfViewKindEntity IGESDraw_ViewsVisibleWithAttr::theViewEntities`[private]`

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

- IGESDraw_ViewsVisibleWithAttr.hxx