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

Visualization
TKV2d
Graphic2d


Graphic2d_Primitive Class Reference

Groups all drawing elements which can be stored
in a graphic object.
Each primitive have a postion in the space model.
.

#include <Graphic2d_Primitive.hxx>

Inheritance diagram for Graphic2d_Primitive:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT void SetColorIndex (const Standard_Integer anIndex)
 Defines the index, in the color map, of the primitive color.
Warning: For an image, this method defines the color of the
boundary rectangle.
.
Standard_EXPORT Standard_Integer ColorIndex () const
 Returns the index, in the color map, of the primitive color.
Warning: For an image, it is the color of the border.
.
virtual Standard_EXPORT void Draw (const Handle(Graphic2d_Drawer)&aDrawer)=0
 Draws the primitive <me>.
.
virtual Standard_EXPORT Standard_Boolean SetElementsSelected ()
 Declares that previously highlighted elements will be selected ones.
Warning: If a descendant redefines this method then it must return <true>!
.
virtual Standard_EXPORT Standard_Boolean HasSelectedElements ()
virtual Standard_EXPORT void ClearSelectedElements ()
virtual Standard_EXPORT Standard_Integer NumOfElemIndices () const
 Returns number of elements of primitive
.
virtual Standard_EXPORT Standard_Integer NumOfVertIndices () const
 Returns number of vertices of primitive
.
Standard_EXPORT Standard_Integer PickedIndex () const
 Returns the index of the last picked primitive element.
Warning: This is available only if the Pick() method has
returned Standard_True.
.
Standard_EXPORT const TColStd_MapOfInteger & PickedIndices () const
Standard_EXPORT void Highlight (const Standard_Integer anIndex=0)
 Highlights the primitive <me> or a part of the
primitive with the override color of the view.
When <anindex> is 0 all the primitive is highlighted
>0 only the requested element is highlighted.
<0 only the requested vertex is highlighted.
.
Standard_EXPORT void Unhighlight ()
 Suppress the highlight on the primitive <me>.
.
Standard_EXPORT Standard_Boolean IsHighlighted () const
 Returns Standard_True if the primitive <me>
is highlighted, Standard_False if not.
.
Standard_EXPORT Handle_TColStd_HSequenceOfInteger HighlightIndices () const
 Returns the sequence of highlight indices of the primitive <me>
.
Standard_EXPORT void SetDisplayMode (const Standard_Integer aMode)
 Sets the display mode of primitive
.
Standard_EXPORT Standard_Integer DisplayMode () const
 Indicates the display mode of primitive
.
Standard_EXPORT Standard_Boolean MinMax (Standard_ShortReal &Minx, Standard_ShortReal &Maxx, Standard_ShortReal &Miny, Standard_ShortReal &Maxy)
 Returns TRUE and the min max values of <me>.
or FALSE when the primitive is empty.
Called by the method Graphic2d_GraphicObject::MinMax
.
Standard_EXPORT Standard_Boolean IsInMinMax (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal aPrecision)
 Returns Standard_True if the point <x>, <y> is in the
rectangle defined by the min max values of <me>.
Warning: If <me> is in a transformed GraphicObject then
the min max values are transformed.
.
virtual Standard_EXPORT void Save (Aspect_FStream &aFStream) const =0
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT Graphic2d_Primitive (const Handle(Graphic2d_GraphicObject)&aGraphicObject)
 Creates a primitive in a graphic object <agraphicobject>.
.
virtual Standard_EXPORT void DrawElement (const Handle(Graphic2d_Drawer)&aDrawer, const Standard_Integer anElement)
 Draws the element <anelement> of the primitive <me>.
.
virtual Standard_EXPORT void DrawPickedElements (const Handle(Graphic2d_Drawer)&aDrawer)
 Draws the all picked elements of the primitive <me>.
.
virtual Standard_EXPORT void DrawSelectedElements (const Handle(Graphic2d_Drawer)&aDrawer)
 Draws the all picked elements of the primitive <me>.
.
virtual Standard_EXPORT void DrawVertex (const Handle(Graphic2d_Drawer)&aDrawer, const Standard_Integer aVertex)
 Draws the vertex <avertex> of the primitive <me>.
.
virtual Standard_EXPORT Standard_Boolean Pick (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal aPrecision, const Handle(Graphic2d_Drawer)&aDrawer)=0
 Returns Standard_True if the primitive <me> is picked,
Standard_False if not.
.
virtual Standard_EXPORT Standard_Boolean PickByCircle (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal Radius, const Handle(Graphic2d_Drawer)&aDrawer, const Graphic2d_PickMode aPickMode=Graphic2d_PM_INCLUDE)
 Returns Standard_True if the primitive <me> is picked,
Standard_False if not.
.
virtual Standard_EXPORT Standard_Boolean Pick (const Standard_ShortReal Xmin, const Standard_ShortReal Ymin, const Standard_ShortReal Xmax, const Standard_ShortReal Ymax, const Handle(Graphic2d_Drawer)&aDrawer, const Graphic2d_PickMode aPickMode=Graphic2d_PM_INCLUDE)
 Returns Standard_True if the primitive <me> is:
included in rectangle (<aPickMode = PM_INCLUDE>),
excluded from rectangle (<aPickMode = PM_EXLUDE>),
intersected by rectangle (<aPickMode = PM_INTERSECT>),
defined by Xmin, Ymin, Xmax, Ymax.
Standard_False if not.
.
Standard_EXPORT void SetPickedIndex (const Standard_Integer anIndex)
 Sets the index of the picked primitive element if any.
.
virtual Standard_EXPORT Standard_Boolean ComputeMinMax ()
 Computes the MinMax of the primitive if possible.
.
Standard_EXPORT Handle_Graphic2d_Drawer Drawer () const
 Returns the attached drawer of the view of this Primitive.
.
Standard_EXPORT void ResetIndex ()
 Resets the starting traversal index to this primitive.
.
Standard_EXPORT void SetFamily (const Graphic2d_TypeOfPrimitive aFamily)
 Sets the family of this primitive.
.
Standard_EXPORT Graphic2d_TypeOfPrimitive Family () const
 Returns the family of this primitive
.

Static Protected Member Functions

static Standard_EXPORT Standard_Boolean IsOn (const Standard_ShortReal aX1, const Standard_ShortReal aY1, const Standard_ShortReal aX2, const Standard_ShortReal aY2, const Standard_ShortReal aPrecision)
 Returns Standard_True if (<ax1>, <ay1>) is closed
to the point (<ax2>, <ay2>).
.

Protected Attributes

Graphic2d_GOPtr myGOPtr
Standard_ShortReal myMinX
Standard_ShortReal myMinY
Standard_ShortReal myMaxX
Standard_ShortReal myMaxY
Standard_Integer myColorIndex
TColStd_MapOfInteger myPickedIndices
Standard_Integer myNumOfElem
Standard_Integer myNumOfVert
Standard_Integer myDisplayMode

Private Member Functions

Standard_EXPORT Graphic2d_GOPtr PGraphicObject () const
 Returns the graphic-object back pointer of this Primitive.
.

Private Attributes

Standard_Integer myPickedIndex
Graphic2d_TypeOfPrimitive myTypeOfPrimitive
Handle_TColStd_HSequenceOfInteger mySeqOfHighInd

Friends

Standard_EXPORT void Graphic2d_GraphicObject::Draw (const Handle(Graphic2d_Drawer)&aDrawer, const Standard_Boolean Reset)
 Drawn the last Undrawn primitives managed by the
graphic object <me> in the drawer <adrawer>.
Called by the methods :
- Graphic2d_View::TinyUpdate ()
.
Standard_EXPORT void Graphic2d_GraphicObject::Draw (const Handle(Graphic2d_Drawer)&aDrawer, const Handle(Graphic2d_Primitive)&aPrimitive)
 Drawn a primitive managed by the
graphic object <me> in the drawer <adrawer>.
Called by the method Graphic2d_View::Update (aPrimitive)
.
Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::Pick (const Standard_Real X, const Standard_Real Y, const Standard_Real aPrecision, const Handle(Graphic2d_Drawer)&aDrawer)
 Returns Standard_True if the graphic object <me>
is picked, Standard_False if not.
Called by the method Graphic2d_View::Pick
.
Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::PickByCircle (const Standard_Real X, const Standard_Real Y, const Standard_Real Radius, const Handle(Graphic2d_Drawer)&aDrawer)
 Returns Standard_True if the graphic object <me>
is picked, Standard_False if not.
Called by the method Graphic2d_View::PickByCircle
.
Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::Pick (const Standard_Real Xmin, const Standard_Real Ymin, const Standard_Real Xmax, const Standard_Real Ymax, const Handle(Graphic2d_Drawer)&aDrawer, const Graphic2d_PickMode aPickMode)
 Returns Standard_True if the primitive <me> is:
included in rectangle (<aPickMode = PM_INCLUDE>),
excluded from rectangle (<aPickMode = PM_EXLUDE>),
intersected by rectangle (<aPickMode = PM_INTERSECT>),
defined by Xmin, Ymin, Xmax, Ymax.
Standard_False if not.
.
Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::MinMax (Quantity_Length &Minx, Quantity_Length &Maxx, Quantity_Length &Miny, Quantity_Length &Maxy) const
 Returns the min max values of <me>.
Warning: All markers are ignored.
Warning: If <me> is empty or not displayed or
contains markers and nothing else
returns FALSE and
Minx = Miny = RealFirst ()
Maxx = Maxy = RealLast ()
.
Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::MarkerMinMax (Quantity_Length &Minx, Quantity_Length &Maxx, Quantity_Length &Miny, Quantity_Length &Maxy) const
 Returns the min max values of all markers in <me>.
Warning: If <me> is empty or not displayed or without markers
returns FALSE and
Minx = Miny = RealFirst ()
Maxx = Maxy = RealLast ()
.
Standard_EXPORT void Graphic2d_GraphicObject::RemovePrimitive (const Handle(Graphic2d_Primitive)&aPrimitive)
 Removes the primitive <aprimitive> from <me>.
.
Standard_EXPORT void Graphic2d_TransientManager::Draw (const Handle(Graphic2d_Primitive)&aPrimitive)
 Drawn the primitive <aprimitive>,
with the internal primitive attributes.
.
Standard_EXPORT void Graphic2d_TransientManager::DrawElement (const Handle(Graphic2d_Primitive)&aPrimitive, const Standard_Integer anIndex)
 Drawn the element <anindex> from the primitive <aprimitive>,
with the internal primitive attributes.
.
Standard_EXPORT void Graphic2d_TransientManager::DrawVertex (const Handle(Graphic2d_Primitive)&aPrimitive, const Standard_Integer anIndex)
 Drawn the vertex <anindex> from the primitive <aprimitive>,
with the internal primitive attributes.
.
Standard_EXPORT void Graphic2d_TransientManager::DrawPickedElements (const Handle(Graphic2d_Primitive)&aPrimitive)
 Draws all picked elements.
.

Constructor & Destructor Documentation

Standard_EXPORT Graphic2d_Primitive::Graphic2d_Primitive const Handle(Graphic2d_GraphicObject)&  aGraphicObject  )  [protected]
 


Member Function Documentation

virtual Standard_EXPORT void Graphic2d_Primitive::ClearSelectedElements  )  [virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

Standard_EXPORT Standard_Integer Graphic2d_Primitive::ColorIndex  )  const
 

virtual Standard_EXPORT Standard_Boolean Graphic2d_Primitive::ComputeMinMax  )  [protected, virtual]
 

Reimplemented in Graphic2d_FramedText, Graphic2d_HidingText, Graphic2d_Paragraph, and Graphic2d_Text.

Standard_EXPORT Standard_Integer Graphic2d_Primitive::DisplayMode  )  const
 

virtual Standard_EXPORT void Graphic2d_Primitive::Draw const Handle(Graphic2d_Drawer)&  aDrawer  )  [pure virtual]
 

Implemented in GGraphic2d_Curve, GGraphic2d_SetOfCurves, Graphic2d_Circle, Graphic2d_CircleMarker, Graphic2d_Ellips, Graphic2d_EllipsMarker, Graphic2d_FramedText, Graphic2d_HidingText, Graphic2d_Image, Graphic2d_ImageFile, Graphic2d_InfiniteLine, Graphic2d_Marker, Graphic2d_Paragraph, Graphic2d_Polyline, Graphic2d_PolylineMarker, Graphic2d_Segment, Graphic2d_SetOfMarkers, Graphic2d_SetOfPolylines, Graphic2d_SetOfSegments, Graphic2d_Text, Prs2d_Angle, Prs2d_Angularity, Prs2d_Arrow, Prs2d_Axis, Prs2d_Circularity, Prs2d_Concentric, Prs2d_Cylindric, Prs2d_Diameter, Prs2d_DrawSymbol, Prs2d_Flatness, Prs2d_Length, Prs2d_LineProfile, Prs2d_Parallelism, Prs2d_Perpendicular, Prs2d_Point, Prs2d_Position, Prs2d_Radius, Prs2d_RadiusIndep, Prs2d_Repere, Prs2d_Straightness, Prs2d_SurfProfile, Prs2d_SymCircular, Prs2d_Symmetry, Prs2d_SymTotal, Prs2d_Taper, Prs2d_ToleranceFrame, V2d_CircularGraphicGrid, and V2d_RectangularGraphicGrid.

virtual Standard_EXPORT void Graphic2d_Primitive::DrawElement const Handle(Graphic2d_Drawer)&  aDrawer,
const Standard_Integer  anElement
[protected, virtual]
 

Reimplemented in GGraphic2d_SetOfCurves, Graphic2d_Circle, Graphic2d_CircleMarker, Graphic2d_Ellips, Graphic2d_EllipsMarker, Graphic2d_Polyline, Graphic2d_PolylineMarker, Graphic2d_Segment, Graphic2d_SetOfMarkers, Graphic2d_SetOfSegments, Prs2d_Angle, Prs2d_Arrow, Prs2d_Axis, Prs2d_Diameter, Prs2d_Length, Prs2d_Point, Prs2d_Radius, Prs2d_RadiusIndep, and Prs2d_Repere.

Standard_EXPORT Handle_Graphic2d_Drawer Graphic2d_Primitive::Drawer  )  const [protected]
 

virtual Standard_EXPORT void Graphic2d_Primitive::DrawPickedElements const Handle(Graphic2d_Drawer)&  aDrawer  )  [protected, virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

virtual Standard_EXPORT void Graphic2d_Primitive::DrawSelectedElements const Handle(Graphic2d_Drawer)&  aDrawer  )  [protected, virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

virtual Standard_EXPORT void Graphic2d_Primitive::DrawVertex const Handle(Graphic2d_Drawer)&  aDrawer,
const Standard_Integer  aVertex
[protected, virtual]
 

Reimplemented in GGraphic2d_SetOfCurves, Graphic2d_Circle, Graphic2d_CircleMarker, Graphic2d_Ellips, Graphic2d_EllipsMarker, Graphic2d_Marker, Graphic2d_Polyline, Graphic2d_PolylineMarker, Graphic2d_Segment, Graphic2d_SetOfMarkers, Graphic2d_SetOfSegments, Prs2d_Angle, Prs2d_Arrow, Prs2d_Axis, Prs2d_Diameter, Prs2d_Length, Prs2d_Point, Prs2d_Radius, Prs2d_RadiusIndep, and Prs2d_Repere.

Standard_EXPORT Graphic2d_TypeOfPrimitive Graphic2d_Primitive::Family  )  const [protected]
 

Standard_EXPORT const Graphic2d_Primitive::Handle Standard_Type   )  const
 

Reimplemented in GGraphic2d_Curve, GGraphic2d_SetOfCurves, Graphic2d_Circle, Graphic2d_CircleMarker, Graphic2d_Ellips, Graphic2d_EllipsMarker, Graphic2d_FramedText, Graphic2d_HidingText, Graphic2d_Image, Graphic2d_ImageFile, Graphic2d_InfiniteLine, Graphic2d_Line, Graphic2d_Marker, Graphic2d_Paragraph, Graphic2d_Polyline, Graphic2d_PolylineMarker, Graphic2d_Segment, Graphic2d_SetOfMarkers, Graphic2d_SetOfPolylines, Graphic2d_SetOfSegments, Graphic2d_Text, Graphic2d_VectorialMarker, Prs2d_Angle, Prs2d_Angularity, Prs2d_Arrow, Prs2d_Axis, Prs2d_Circularity, Prs2d_Concentric, Prs2d_Cylindric, Prs2d_Diameter, Prs2d_Dimension, Prs2d_DrawSymbol, Prs2d_Flatness, Prs2d_Length, Prs2d_LineProfile, Prs2d_Parallelism, Prs2d_Perpendicular, Prs2d_Point, Prs2d_Position, Prs2d_Radius, Prs2d_RadiusIndep, Prs2d_Repere, Prs2d_Straightness, Prs2d_SurfProfile, Prs2d_SymCircular, Prs2d_Symmetry, Prs2d_SymTotal, Prs2d_Taper, Prs2d_Tolerance, Prs2d_ToleranceFrame, V2d_CircularGraphicGrid, and V2d_RectangularGraphicGrid.

virtual Standard_EXPORT Standard_Boolean Graphic2d_Primitive::HasSelectedElements  )  [virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

Standard_EXPORT void Graphic2d_Primitive::Highlight const Standard_Integer  anIndex = 0  ) 
 

Standard_EXPORT Handle_TColStd_HSequenceOfInteger Graphic2d_Primitive::HighlightIndices  )  const
 

Standard_EXPORT Standard_Boolean Graphic2d_Primitive::IsHighlighted  )  const
 

Standard_EXPORT Standard_Boolean Graphic2d_Primitive::IsInMinMax const Standard_ShortReal  X,
const Standard_ShortReal  Y,
const Standard_ShortReal  aPrecision
 

static Standard_EXPORT Standard_Boolean Graphic2d_Primitive::IsOn const Standard_ShortReal  aX1,
const Standard_ShortReal  aY1,
const Standard_ShortReal  aX2,
const Standard_ShortReal  aY2,
const Standard_ShortReal  aPrecision
[static, protected]
 

Standard_EXPORT Standard_Boolean Graphic2d_Primitive::MinMax Standard_ShortReal &  Minx,
Standard_ShortReal &  Maxx,
Standard_ShortReal &  Miny,
Standard_ShortReal &  Maxy
 

virtual Standard_EXPORT Standard_Integer Graphic2d_Primitive::NumOfElemIndices  )  const [virtual]
 

virtual Standard_EXPORT Standard_Integer Graphic2d_Primitive::NumOfVertIndices  )  const [virtual]
 

Standard_EXPORT Graphic2d_GOPtr Graphic2d_Primitive::PGraphicObject  )  const [private]
 

virtual Standard_EXPORT Standard_Boolean Graphic2d_Primitive::Pick const Standard_ShortReal  Xmin,
const Standard_ShortReal  Ymin,
const Standard_ShortReal  Xmax,
const Standard_ShortReal  Ymax,
const Handle(Graphic2d_Drawer)&  aDrawer,
const Graphic2d_PickMode  aPickMode = Graphic2d_PM_INCLUDE
[protected, virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

virtual Standard_EXPORT Standard_Boolean Graphic2d_Primitive::Pick const Standard_ShortReal  X,
const Standard_ShortReal  Y,
const Standard_ShortReal  aPrecision,
const Handle(Graphic2d_Drawer)&  aDrawer
[protected, pure virtual]
 

Implemented in GGraphic2d_Curve, GGraphic2d_SetOfCurves, Graphic2d_Circle, Graphic2d_CircleMarker, Graphic2d_Ellips, Graphic2d_EllipsMarker, Graphic2d_FramedText, Graphic2d_HidingText, Graphic2d_Image, Graphic2d_ImageFile, Graphic2d_InfiniteLine, Graphic2d_Marker, Graphic2d_Paragraph, Graphic2d_Polyline, Graphic2d_PolylineMarker, Graphic2d_Segment, Graphic2d_SetOfMarkers, Graphic2d_SetOfPolylines, Graphic2d_SetOfSegments, Graphic2d_Text, Prs2d_Angle, Prs2d_Arrow, Prs2d_Axis, Prs2d_Diameter, Prs2d_DrawSymbol, Prs2d_Length, Prs2d_Point, Prs2d_Radius, Prs2d_RadiusIndep, Prs2d_Repere, Prs2d_Tolerance, Prs2d_ToleranceFrame, V2d_CircularGraphicGrid, and V2d_RectangularGraphicGrid.

virtual Standard_EXPORT Standard_Boolean Graphic2d_Primitive::PickByCircle const Standard_ShortReal  X,
const Standard_ShortReal  Y,
const Standard_ShortReal  Radius,
const Handle(Graphic2d_Drawer)&  aDrawer,
const Graphic2d_PickMode  aPickMode = Graphic2d_PM_INCLUDE
[protected, virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

Standard_EXPORT Standard_Integer Graphic2d_Primitive::PickedIndex  )  const
 

Standard_EXPORT const TColStd_MapOfInteger& Graphic2d_Primitive::PickedIndices  )  const
 

Standard_EXPORT void Graphic2d_Primitive::ResetIndex  )  [protected]
 

virtual Standard_EXPORT void Graphic2d_Primitive::Save Aspect_FStream aFStream  )  const [pure virtual]
 

Implemented in GGraphic2d_Curve, GGraphic2d_SetOfCurves, Graphic2d_Circle, Graphic2d_CircleMarker, Graphic2d_Ellips, Graphic2d_EllipsMarker, Graphic2d_FramedText, Graphic2d_HidingText, Graphic2d_Image, Graphic2d_ImageFile, Graphic2d_InfiniteLine, Graphic2d_Line, Graphic2d_Marker, Graphic2d_Paragraph, Graphic2d_Polyline, Graphic2d_PolylineMarker, Graphic2d_Segment, Graphic2d_SetOfMarkers, Graphic2d_SetOfPolylines, Graphic2d_SetOfSegments, Graphic2d_Text, Prs2d_Angle, Prs2d_Angularity, Prs2d_Arrow, Prs2d_Axis, Prs2d_Circularity, Prs2d_Concentric, Prs2d_Cylindric, Prs2d_Diameter, Prs2d_DrawSymbol, Prs2d_Flatness, Prs2d_Length, Prs2d_LineProfile, Prs2d_Parallelism, Prs2d_Perpendicular, Prs2d_Point, Prs2d_Position, Prs2d_Radius, Prs2d_RadiusIndep, Prs2d_Repere, Prs2d_Straightness, Prs2d_SurfProfile, Prs2d_SymCircular, Prs2d_Symmetry, Prs2d_SymTotal, Prs2d_Taper, Prs2d_ToleranceFrame, V2d_CircularGraphicGrid, and V2d_RectangularGraphicGrid.

Standard_EXPORT void Graphic2d_Primitive::SetColorIndex const Standard_Integer  anIndex  ) 
 

Standard_EXPORT void Graphic2d_Primitive::SetDisplayMode const Standard_Integer  aMode  ) 
 

virtual Standard_EXPORT Standard_Boolean Graphic2d_Primitive::SetElementsSelected  )  [virtual]
 

Reimplemented in Graphic2d_SetOfMarkers.

Standard_EXPORT void Graphic2d_Primitive::SetFamily const Graphic2d_TypeOfPrimitive  aFamily  )  [protected]
 

Standard_EXPORT void Graphic2d_Primitive::SetPickedIndex const Standard_Integer  anIndex  )  [protected]
 

Standard_EXPORT void Graphic2d_Primitive::Unhighlight  ) 
 


Friends And Related Function Documentation

Standard_EXPORT void Graphic2d_GraphicObject::Draw const Handle(Graphic2d_Drawer)&  aDrawer,
const Handle(Graphic2d_Primitive)&  aPrimitive
[friend]
 

Standard_EXPORT void Graphic2d_GraphicObject::Draw const Handle(Graphic2d_Drawer)&  aDrawer,
const Standard_Boolean  Reset
[friend]
 

Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::MarkerMinMax Quantity_Length &  Minx,
Quantity_Length &  Maxx,
Quantity_Length &  Miny,
Quantity_Length &  Maxy
const [friend]
 

Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::MinMax Quantity_Length &  Minx,
Quantity_Length &  Maxx,
Quantity_Length &  Miny,
Quantity_Length &  Maxy
const [friend]
 

Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::Pick const Standard_Real  Xmin,
const Standard_Real  Ymin,
const Standard_Real  Xmax,
const Standard_Real  Ymax,
const Handle(Graphic2d_Drawer)&  aDrawer,
const Graphic2d_PickMode  aPickMode
[friend]
 

Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::Pick const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  aPrecision,
const Handle(Graphic2d_Drawer)&  aDrawer
[friend]
 

Standard_EXPORT Standard_Boolean Graphic2d_GraphicObject::PickByCircle const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  Radius,
const Handle(Graphic2d_Drawer)&  aDrawer
[friend]
 

Standard_EXPORT void Graphic2d_GraphicObject::RemovePrimitive const Handle(Graphic2d_Primitive)&  aPrimitive  )  [friend]
 

Standard_EXPORT void Graphic2d_TransientManager::Draw const Handle(Graphic2d_Primitive)&  aPrimitive  )  [friend]
 

Standard_EXPORT void Graphic2d_TransientManager::DrawElement const Handle(Graphic2d_Primitive)&  aPrimitive,
const Standard_Integer  anIndex
[friend]
 

Standard_EXPORT void Graphic2d_TransientManager::DrawPickedElements const Handle(Graphic2d_Primitive)&  aPrimitive  )  [friend]
 

Standard_EXPORT void Graphic2d_TransientManager::DrawVertex const Handle(Graphic2d_Primitive)&  aPrimitive,
const Standard_Integer  anIndex
[friend]
 


Field Documentation

Standard_Integer Graphic2d_Primitive::myColorIndex [protected]
 

Standard_Integer Graphic2d_Primitive::myDisplayMode [protected]
 

Graphic2d_GOPtr Graphic2d_Primitive::myGOPtr [protected]
 

Standard_ShortReal Graphic2d_Primitive::myMaxX [protected]
 

Standard_ShortReal Graphic2d_Primitive::myMaxY [protected]
 

Standard_ShortReal Graphic2d_Primitive::myMinX [protected]
 

Standard_ShortReal Graphic2d_Primitive::myMinY [protected]
 

Standard_Integer Graphic2d_Primitive::myNumOfElem [protected]
 

Standard_Integer Graphic2d_Primitive::myNumOfVert [protected]
 

Standard_Integer Graphic2d_Primitive::myPickedIndex [private]
 

TColStd_MapOfInteger Graphic2d_Primitive::myPickedIndices [protected]
 

Handle_TColStd_HSequenceOfInteger Graphic2d_Primitive::mySeqOfHighInd [private]
 

Graphic2d_TypeOfPrimitive Graphic2d_Primitive::myTypeOfPrimitive [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:55:35 2008 for OpenCASCADE by  doxygen 1.4.1