Open CASCADE Technology 6.6.0
Public Member Functions
IGESDraw_SegmentedViewsVisible Class Reference

defines IGESSegmentedViewsVisible, Type <402> Form <19>
in package IGESDraw

Permits the association of display parameters with the
segments of curves in a given view

#include <IGESDraw_SegmentedViewsVisible.hxx>

Inheritance diagram for IGESDraw_SegmentedViewsVisible:
Inheritance graph
[legend]

Public Member Functions

 IGESDraw_SegmentedViewsVisible ()
void Init (const Handle< IGESDraw_HArray1OfViewKindEntity > &allViews, const Handle< TColStd_HArray1OfReal > &allBreakpointParameters, const Handle< TColStd_HArray1OfInteger > &allDisplayFlags, const Handle< TColStd_HArray1OfInteger > &allColorValues, const Handle< IGESGraph_HArray1OfColor > &allColorDefinitions, const Handle< TColStd_HArray1OfInteger > &allLineFontValues, const Handle< IGESBasic_HArray1OfLineFontEntity > &allLineFontDefinitions, const Handle< TColStd_HArray1OfInteger > &allLineWeights)
 This method is used to set the fields of the class
SegmentedViewsVisible

Standard_Boolean IsSingle () const
 Returns False (for a complex view)

Standard_Integer NbViews () const
 Returns the count of Views referenced by <me> (inherited)

Standard_Integer NbSegmentBlocks () const
 returns the number of view/segment blocks in <me>
Similar to NbViews but has a more general significance

Handle_IGESData_ViewKindEntity ViewItem (const Standard_Integer ViewIndex) const
 returns the View entity indicated by ViewIndex
raises an exception if ViewIndex <= 0 or
ViewIndex > NbSegmentBlocks()

Standard_Real BreakpointParameter (const Standard_Integer BreakpointIndex) const
 returns the parameter of the breakpoint indicated by
BreakpointIndex
raises an exception if BreakpointIndex <= 0 or
BreakpointIndex > NbSegmentBlocks().

Standard_Integer DisplayFlag (const Standard_Integer FlagIndex) const
 returns the Display flag indicated by FlagIndex
raises an exception if FlagIndex <= 0 or
FlagIndex > NbSegmentBlocks().

Standard_Boolean IsColorDefinition (const Standard_Integer ColorIndex) const
 returns True if the ColorIndex'th value of the
"theColorDefinitions" field of <me> is a pointer
raises an exception if ColorIndex <= 0 or
ColorIndex > NbSegmentBlocks().

Standard_Integer ColorValue (const Standard_Integer ColorIndex) const
 returns the Color value indicated by ColorIndex
raises an exception if ColorIndex <= 0 or
ColorIndex > NbSegmentBlocks().

Handle_IGESGraph_Color ColorDefinition (const Standard_Integer ColorIndex) const
 returns the Color definition entity indicated by ColorIndex
raises an exception if ColorIndex <= 0 or
ColorIndex > NbSegmentBlocks().

Standard_Boolean IsFontDefinition (const Standard_Integer FontIndex) const
 returns True if the FontIndex'th value of the
"theLineFontDefinitions" field of <me> is a pointer
raises an exception if FontIndex <= 0 or
FontIndex > NbSegmentBlocks().

Standard_Integer LineFontValue (const Standard_Integer FontIndex) const
 returns the LineFont value indicated by FontIndex
raises an exception if FontIndex <= 0 or
FontIndex > NbSegmentBlocks().

Handle_IGESData_LineFontEntity LineFontDefinition (const Standard_Integer FontIndex) const
 returns the LineFont definition entity indicated by FontIndex
raises an exception if FontIndex <= 0 or
FontIndex > NbSegmentBlocks().

Standard_Integer LineWeightItem (const Standard_Integer WeightIndex) const
 returns the LineWeight value indicated by WeightIndex
raises an exception if WeightIndex <= 0 or
WeightIndex > NbSegmentBlocks().


Constructor & Destructor Documentation

IGESDraw_SegmentedViewsVisible::IGESDraw_SegmentedViewsVisible ( )

Member Function Documentation

Standard_Real IGESDraw_SegmentedViewsVisible::BreakpointParameter ( const Standard_Integer  BreakpointIndex) const
Handle_IGESGraph_Color IGESDraw_SegmentedViewsVisible::ColorDefinition ( const Standard_Integer  ColorIndex) const
Standard_Integer IGESDraw_SegmentedViewsVisible::ColorValue ( const Standard_Integer  ColorIndex) const
Standard_Integer IGESDraw_SegmentedViewsVisible::DisplayFlag ( const Standard_Integer  FlagIndex) const
void IGESDraw_SegmentedViewsVisible::Init ( const Handle< IGESDraw_HArray1OfViewKindEntity > &  allViews,
const Handle< TColStd_HArray1OfReal > &  allBreakpointParameters,
const Handle< TColStd_HArray1OfInteger > &  allDisplayFlags,
const Handle< TColStd_HArray1OfInteger > &  allColorValues,
const Handle< IGESGraph_HArray1OfColor > &  allColorDefinitions,
const Handle< TColStd_HArray1OfInteger > &  allLineFontValues,
const Handle< IGESBasic_HArray1OfLineFontEntity > &  allLineFontDefinitions,
const Handle< TColStd_HArray1OfInteger > &  allLineWeights 
)
  • allViews : Pointers to View Entities
  • allBreakpointParameters : Parameters of breakpoints
  • allDisplayFlags : Display flags
  • allColorValues : Color Values
  • allColorDefinitions : Color Definitions
  • allLineFontValues : LineFont values
  • allLineFontDefinitions : LineFont Definitions
  • allLineWeights : Line weights
    raises exception if Lengths of allViews, allBreakpointParameters,
    allDisplayFlags, allColorValues, allColorDefinitions,
    allLineFontValues, allLineFontDefinitions and allLineWeights
    are not same.
Standard_Boolean IGESDraw_SegmentedViewsVisible::IsColorDefinition ( const Standard_Integer  ColorIndex) const
Standard_Boolean IGESDraw_SegmentedViewsVisible::IsFontDefinition ( const Standard_Integer  FontIndex) const
Standard_Boolean IGESDraw_SegmentedViewsVisible::IsSingle ( ) const [virtual]
Handle_IGESData_LineFontEntity IGESDraw_SegmentedViewsVisible::LineFontDefinition ( const Standard_Integer  FontIndex) const
Standard_Integer IGESDraw_SegmentedViewsVisible::LineFontValue ( const Standard_Integer  FontIndex) const
Standard_Integer IGESDraw_SegmentedViewsVisible::LineWeightItem ( const Standard_Integer  WeightIndex) const
Standard_Integer IGESDraw_SegmentedViewsVisible::NbSegmentBlocks ( ) const
Standard_Integer IGESDraw_SegmentedViewsVisible::NbViews ( ) const [virtual]
Handle_IGESData_ViewKindEntity IGESDraw_SegmentedViewsVisible::ViewItem ( const Standard_Integer  ViewIndex) const [virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines