Open CASCADE Technology 7.8.0
|
Use to draw in a 3d or a 2d view. More...
#include <Draw_Display.hxx>
Use to draw in a 3d or a 2d view.
Draw_Display::Draw_Display | ( | ) |
void Draw_Display::Draw | ( | const gp_Circ & | C, |
const Standard_Real | A1, | ||
const Standard_Real | A2, | ||
const Standard_Boolean | ModifyWithZoom = Standard_True |
||
) |
Draw a circle from angle <A1> to <A2> (Radians). if ModifyWithZoom = 0, then rayon of circle is convert to Integer.
void Draw_Display::Draw | ( | const gp_Circ2d & | C, |
const Standard_Real | A1, | ||
const Standard_Real | A2, | ||
const Standard_Boolean | ModifyWithZoom = Standard_True |
||
) |
Draw a 2D circle from angle <A1> to <A2> (Radians). if ModifyWithZoom = 0, then rayon of circle is convert to Integer.
void Draw_Display::DrawMarker | ( | const gp_Pnt & | pt, |
const Draw_MarkerShape | S, | ||
const Standard_Integer | Size = 5 |
||
) |
void Draw_Display::DrawMarker | ( | const gp_Pnt & | pt, |
const Draw_MarkerShape | S, | ||
const Standard_Real | Size | ||
) |
void Draw_Display::DrawMarker | ( | const gp_Pnt2d & | pt, |
const Draw_MarkerShape | S, | ||
const Standard_Integer | Size = 5 |
||
) |
void Draw_Display::DrawMarker | ( | const gp_Pnt2d & | pt, |
const Draw_MarkerShape | S, | ||
const Standard_Real | Size | ||
) |
void Draw_Display::DrawString | ( | const gp_Pnt & | pt, |
const Standard_CString | S | ||
) |
void Draw_Display::DrawString | ( | const gp_Pnt & | pt, |
const Standard_CString | S, | ||
const Standard_Real | moveX, | ||
const Standard_Real | moveY | ||
) |
void Draw_Display::DrawString | ( | const gp_Pnt2d & | pt, |
const Standard_CString | S | ||
) |
void Draw_Display::DrawString | ( | const gp_Pnt2d & | pt, |
const Standard_CString | S, | ||
const Standard_Real | moveX, | ||
const Standard_Real | moveY | ||
) |
void Draw_Display::Flush | ( | ) | const |
Standard_Boolean Draw_Display::HasPicked | ( | ) | const |
Returns True if the last drawing operations generated a pick hit. When HasPicked is True the Drawing should be resumed.
This function is used to shorten the drawing when picking and to save the picked sub-parts.
Returns the 2D projection of a 3D point.
void Draw_Display::SetColor | ( | const Draw_Color & | col | ) | const |
Following drawings will use this color.
void Draw_Display::SetMode | ( | const Standard_Integer | M | ) | const |
Set the drawing mode, 3 = copy, 6 = xor.
Standard_Integer Draw_Display::ViewId | ( | ) | const |
Returns the identifier of the view where the display is drawing.
Standard_Real Draw_Display::Zoom | ( | ) | const |
Returns the current Zoom value.