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

# DataExchange
TKVRML
VrmlConverter

# VrmlConverter_Drawer Class Reference

qualifies the aspect properties for
the VRML conversation of a specific kind of object.
This includes for example color, maximal chordial deviation, etc...

`#include <VrmlConverter_Drawer.hxx>`

## Public Member Functions
Standard_EXPORT | VrmlConverter_Drawer ()
Standard_EXPORT void | SetTypeOfDeflection (const Aspect_TypeOfDeflection aTypeOfDeflection)
| by default: TOD_Relative; however, except for the shapes, the drawing will be made using the absolute deviation.
Standard_EXPORT Aspect_TypeOfDeflection | TypeOfDeflection () const
Standard_EXPORT void | SetMaximalChordialDeviation (const Quantity_Length aChordialDeviation)
| Defines the maximal chordial deviation when drawing any curve; If this value is one of the obvious parameters of methods, current value from Drawer won't be used. This value is used by: VrmlConverter_DeflectionCurve VrmlConverter_WFDeflectionRestrictedFace VrmlConverter_WFDeflectionShape .
Standard_EXPORT Quantity_Length | MaximalChordialDeviation () const
| returns the maximal chordial deviation. Default value: 0.1
Standard_EXPORT void | SetDeviationCoefficient (const Standard_Real aCoefficient)
| default 0.001
Standard_EXPORT Standard_Real | DeviationCoefficient () const
Standard_EXPORT void | SetDiscretisation (const Standard_Integer d)
| default: 17 points. Defines the Discretisation (myNbPoints) when drawing any curve; If this value is one of the obvious parameters of methods, current value from Drawer won't be used. This value is used by: VrmlConverter_Curve VrmlConverter_WFRestrictedFace VrmlConverter_WFShape
Standard_EXPORT Standard_Integer | Discretisation () const
Standard_EXPORT void | SetMaximalParameterValue (const Standard_Real Value)
| defines the maximum value allowed for the first and last parameters of an infinite curve. Default value: 500. VrmlConverter_Curve VrmlConverter_WFRestrictedFace VrmlConverter_WFShape
Standard_EXPORT Standard_Real | MaximalParameterValue () const
Standard_EXPORT void | SetIsoOnPlane (const Standard_Boolean OnOff)
| enables the drawing of isos on planes. By default there are no isos on planes.
Standard_EXPORT Standard_Boolean | IsoOnPlane () const
| returns True if the drawing of isos on planes is enabled.
Standard_EXPORT Handle_VrmlConverter_IsoAspect | UIsoAspect ()
| Defines the attributes which are used when drawing an U isoparametric curve of a face. Defines the number of U isoparametric curves to be drawn for a single face. The default values are the same default values from Vrml package. These attributes are used by the following algorithms: VrmlConverter_WFRestrictedFace VrmlConverter_WFDeflectionRestrictedFace .
Standard_EXPORT void | SetUIsoAspect (const Handle(VrmlConverter_IsoAspect)&anAspect)
Standard_EXPORT Handle_VrmlConverter_IsoAspect | VIsoAspect ()
| Defines the attributes which are used when drawing an V isoparametric curve of a face. Defines the number of V isoparametric curves to be drawn for a single face. The default values are the same default values from Vrml package. These attributes are used by the following algorithms: VrmlConverter_WFRestrictedFace VrmlConverter_WFDeflectionRestrictedFace .
Standard_EXPORT void | SetVIsoAspect (const Handle(VrmlConverter_IsoAspect)&anAspect)
Standard_EXPORT Handle_VrmlConverter_LineAspect | FreeBoundaryAspect ()
| The default values are the same default values from Vrml package. These attributes are used by the following algorithms: VrmlConverter_WFShape VrmlConverter_WFDeflectionShape .
Standard_EXPORT void | SetFreeBoundaryAspect (const Handle(VrmlConverter_LineAspect)&anAspect)
Standard_EXPORT void | SetFreeBoundaryDraw (const Standard_Boolean OnOff)
| enables the drawing the free boundaries By default the free boundaries are drawn.
Standard_EXPORT Standard_Boolean | FreeBoundaryDraw () const
| returns True if the drawing of the free boundaries is enabled.
Standard_EXPORT Handle_VrmlConverter_LineAspect | WireAspect ()
| The default values are the same default values from Vrml package. These attributes are used by the following algorithms: VrmlConverter_WFShape VrmlConverter_WFDeflectionShape .
Standard_EXPORT void | SetWireAspect (const Handle(VrmlConverter_LineAspect)&anAspect)
Standard_EXPORT void | SetWireDraw (const Standard_Boolean OnOff)
| enables the drawing the wire By default the wire are drawn.
Standard_EXPORT Standard_Boolean | WireDraw () const
| returns True if the drawing of the wire is enabled.
Standard_EXPORT Handle_VrmlConverter_LineAspect | UnFreeBoundaryAspect ()
| The default values are the same default values from Vrml package. These attributes are used by the following algorithms: VrmlConverter_WFShape VrmlConverter_WFDeflectionShape .
Standard_EXPORT void | SetUnFreeBoundaryAspect (const Handle(VrmlConverter_LineAspect)&anAspect)
Standard_EXPORT void | SetUnFreeBoundaryDraw (const Standard_Boolean OnOff)
| enables the drawing the unfree boundaries By default the unfree boundaries are drawn.
Standard_EXPORT Standard_Boolean | UnFreeBoundaryDraw () const
| returns True if the drawing of the unfree boundaries is enabled.
Standard_EXPORT Handle_VrmlConverter_LineAspect | LineAspect ()
| The default values are the same default values from Vrml package. .
Standard_EXPORT void | SetLineAspect (const Handle(VrmlConverter_LineAspect)&anAspect)
Standard_EXPORT Handle_VrmlConverter_PointAspect | PointAspect ()
Standard_EXPORT void | SetPointAspect (const Handle(VrmlConverter_PointAspect)&anAspect)
Standard_EXPORT Handle_VrmlConverter_ShadingAspect | ShadingAspect ()
| The default values are the same default values from Vrml package. .
Standard_EXPORT void | SetShadingAspect (const Handle(VrmlConverter_ShadingAspect)&anAspect)
Standard_EXPORT Standard_Boolean | DrawHiddenLine () const
| returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn.
Standard_EXPORT void | EnableDrawHiddenLine ()
| sets DrawHiddenLine = Standard_True - the hidden lines are drawn.
Standard_EXPORT void | DisableDrawHiddenLine ()
| sets DrawHiddenLine = Standard_False - the hidden lines are not drawn.
Standard_EXPORT Handle_VrmlConverter_LineAspect | HiddenLineAspect ()
| returns LineAspect for the hidden lines. The default values are the same default values from Vrml package.
Standard_EXPORT void | SetHiddenLineAspect (const Handle(VrmlConverter_LineAspect)&anAspect)
| sets LineAspect for the hidden lines.
Standard_EXPORT Handle_VrmlConverter_LineAspect | SeenLineAspect ()
| returns LineAspect for the seen lines. The default values are the same default values from Vrml package.
Standard_EXPORT void | SetSeenLineAspect (const Handle(VrmlConverter_LineAspect)&anAspect)
| sets LineAspect for the seen lines.
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const
## Private Attributes
Handle_VrmlConverter_IsoAspect | myUIsoAspect
Handle_VrmlConverter_IsoAspect | myVIsoAspect
Standard_Integer | myNbPoints
Standard_Boolean | myIsoOnPlane
Handle_VrmlConverter_LineAspect | myFreeBoundaryAspect
Standard_Boolean | myFreeBoundaryDraw
Handle_VrmlConverter_LineAspect | myUnFreeBoundaryAspect
Standard_Boolean | myUnFreeBoundaryDraw
Handle_VrmlConverter_LineAspect | myWireAspect
Standard_Boolean | myWireDraw
Handle_VrmlConverter_LineAspect | myLineAspect
Handle_VrmlConverter_ShadingAspect | myShadingAspect
Quantity_Length | myChordialDeviation
Aspect_TypeOfDeflection | myTypeOfDeflection
Standard_Real | myMaximalParameterValue
Standard_Real | myDeviationCoefficient
Handle_VrmlConverter_PointAspect | myPointAspect
Standard_Boolean | myDrawHiddenLine
Handle_VrmlConverter_LineAspect | myHiddenLineAspect
Handle_VrmlConverter_LineAspect | mySeenLineAspect

## Constructor & Destructor Documentation

Standard_EXPORT VrmlConverter_Drawer::VrmlConverter_Drawer | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Standard_Real VrmlConverter_Drawer::DeviationCoefficient | ( |  | ) | const

Standard_EXPORT void VrmlConverter_Drawer::DisableDrawHiddenLine | ( |  | ) |

Standard_EXPORT Standard_Integer VrmlConverter_Drawer::Discretisation | ( |  | ) | const

Standard_EXPORT Standard_Boolean VrmlConverter_Drawer::DrawHiddenLine | ( |  | ) | const

Standard_EXPORT void VrmlConverter_Drawer::EnableDrawHiddenLine | ( |  | ) |

Standard_EXPORT Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::FreeBoundaryAspect | ( |  | ) |

Standard_EXPORT Standard_Boolean VrmlConverter_Drawer::FreeBoundaryDraw | ( |  | ) | const

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

Standard_EXPORT Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::HiddenLineAspect | ( |  | ) |

Standard_EXPORT Standard_Boolean VrmlConverter_Drawer::IsoOnPlane | ( |  | ) | const

Standard_EXPORT Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::LineAspect | ( |  | ) |

Standard_EXPORT Quantity_Length VrmlConverter_Drawer::MaximalChordialDeviation | ( |  | ) | const

Standard_EXPORT Standard_Real VrmlConverter_Drawer::MaximalParameterValue | ( |  | ) | const

Standard_EXPORT Handle_VrmlConverter_PointAspect VrmlConverter_Drawer::PointAspect | ( |  | ) |

Standard_EXPORT Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::SeenLineAspect | ( |  | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetDeviationCoefficient | ( | const Standard_Real | aCoefficient | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetDiscretisation | ( | const Standard_Integer | d | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetFreeBoundaryAspect | ( | const Handle(VrmlConverter_LineAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetFreeBoundaryDraw | ( | const Standard_Boolean | OnOff | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetHiddenLineAspect | ( | const Handle(VrmlConverter_LineAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetIsoOnPlane | ( | const Standard_Boolean | OnOff | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetLineAspect | ( | const Handle(VrmlConverter_LineAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetMaximalChordialDeviation | ( | const Quantity_Length | aChordialDeviation | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetMaximalParameterValue | ( | const Standard_Real | Value | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetPointAspect | ( | const Handle(VrmlConverter_PointAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetSeenLineAspect | ( | const Handle(VrmlConverter_LineAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetShadingAspect | ( | const Handle(VrmlConverter_ShadingAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetTypeOfDeflection | ( | const Aspect_TypeOfDeflection | aTypeOfDeflection | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetUIsoAspect | ( | const Handle(VrmlConverter_IsoAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetUnFreeBoundaryAspect | ( | const Handle(VrmlConverter_LineAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetUnFreeBoundaryDraw | ( | const Standard_Boolean | OnOff | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetVIsoAspect | ( | const Handle(VrmlConverter_IsoAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetWireAspect | ( | const Handle(VrmlConverter_LineAspect)& | anAspect | ) |

Standard_EXPORT void VrmlConverter_Drawer::SetWireDraw | ( | const Standard_Boolean | OnOff | ) |

Standard_EXPORT Handle_VrmlConverter_ShadingAspect VrmlConverter_Drawer::ShadingAspect | ( |  | ) |

Standard_EXPORT Aspect_TypeOfDeflection VrmlConverter_Drawer::TypeOfDeflection | ( |  | ) | const

Standard_EXPORT Handle_VrmlConverter_IsoAspect VrmlConverter_Drawer::UIsoAspect | ( |  | ) |

Standard_EXPORT Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::UnFreeBoundaryAspect | ( |  | ) |

Standard_EXPORT Standard_Boolean VrmlConverter_Drawer::UnFreeBoundaryDraw | ( |  | ) | const

Standard_EXPORT Handle_VrmlConverter_IsoAspect VrmlConverter_Drawer::VIsoAspect | ( |  | ) |

Standard_EXPORT Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::WireAspect | ( |  | ) |

Standard_EXPORT Standard_Boolean VrmlConverter_Drawer::WireDraw | ( |  | ) | const

## Field Documentation

Quantity_Length VrmlConverter_Drawer::myChordialDeviation`[private]`

Standard_Real VrmlConverter_Drawer::myDeviationCoefficient`[private]`

Standard_Boolean VrmlConverter_Drawer::myDrawHiddenLine`[private]`

Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::myFreeBoundaryAspect`[private]`

Standard_Boolean VrmlConverter_Drawer::myFreeBoundaryDraw`[private]`

Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::myHiddenLineAspect`[private]`

Standard_Boolean VrmlConverter_Drawer::myIsoOnPlane`[private]`

Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::myLineAspect`[private]`

Standard_Real VrmlConverter_Drawer::myMaximalParameterValue`[private]`

Standard_Integer VrmlConverter_Drawer::myNbPoints`[private]`

Handle_VrmlConverter_PointAspect VrmlConverter_Drawer::myPointAspect`[private]`

Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::mySeenLineAspect`[private]`

Handle_VrmlConverter_ShadingAspect VrmlConverter_Drawer::myShadingAspect`[private]`

Aspect_TypeOfDeflection VrmlConverter_Drawer::myTypeOfDeflection`[private]`

Handle_VrmlConverter_IsoAspect VrmlConverter_Drawer::myUIsoAspect`[private]`

Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::myUnFreeBoundaryAspect`[private]`

Standard_Boolean VrmlConverter_Drawer::myUnFreeBoundaryDraw`[private]`

Handle_VrmlConverter_IsoAspect VrmlConverter_Drawer::myVIsoAspect`[private]`

Handle_VrmlConverter_LineAspect VrmlConverter_Drawer::myWireAspect`[private]`

Standard_Boolean VrmlConverter_Drawer::myWireDraw`[private]`

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

- VrmlConverter_Drawer.hxx