Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

DrawTrSurf_Drawable Class Reference

#include <DrawTrSurf_Drawable.hxx>

Inheritance diagram for DrawTrSurf_Drawable:

MMgt_TShared Standard_Transient DrawTrSurf_Curve DrawTrSurf_Curve2d DrawTrSurf_Surface DrawTrSurf_BSplineSurface DrawFairCurve_Batten DrawFairCurve_MinimalVariation

List of all members.


Detailed Description

this class adds to the Drawable3D methods to
display Curves and Curves on Surface.

The discretisation, number of points on a Curve,
is stored in this class.

Definition at line 56 of file DrawTrSurf_Drawable.hxx.


Public Member Functions

Standard_EXPORT void Bounds (Standard_Real &xmin, Standard_Real &xmax, Standard_Real &ymin, Standard_Real &ymax) const
virtual Standard_EXPORT
Handle_Draw_Drawable3D 
Copy () const
 For variable copy.
.
virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
Standard_EXPORT void DrawCurve2dOn (Adaptor2d_Curve2d &C, Draw_Display &D) const
 Draw a polygon of the curve on the Display
.
Standard_EXPORT void DrawCurveOn (Adaptor3d_Curve &C, Draw_Display &D) const
 Draw a polygon of the curve on the Display
.
Standard_EXPORT void DrawIsoCurveOn (Adaptor3d_IsoCurve &C, const GeomAbs_IsoType T, const Standard_Real P, const Standard_Real F, const Standard_Real L, Draw_Display &D) const
virtual Standard_EXPORT void DrawOn (Draw_Display &dis) const =0
virtual Standard_EXPORT void Dump (Standard_OStream &S) const
 For variable dump.
.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
Standard_Real GetDeflection () const
Standard_Integer GetDiscretisation () const
Standard_Integer GetDrawMode () const
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Boolean 
Is3D () const
 Is a 3D object. (Default True).
.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
virtual void Name (const Standard_CString N)
Standard_CString Name () const
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
virtual Standard_EXPORT
Standard_Boolean 
PickReject (const Standard_Real X, const Standard_Real Y, const Standard_Real Prec) const
 Returs True if the pick is outside the box
.
void Protected (const Standard_Boolean P)
Standard_Boolean Protected () const
Standard_EXPORT void SetBounds (const Standard_Real xmin, const Standard_Real xmax, const Standard_Real ymin, const Standard_Real ymax)
void SetDeflection (const Standard_Real Deflection)
void SetDiscretisation (const Standard_Integer Discret)
void SetDrawMode (const Standard_Integer DrawMode)
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
void Visible (const Standard_Boolean V)
Standard_Boolean Visible () const
virtual Standard_EXPORT void Whatis (Draw_Interpretor &I) const

Protected Member Functions

Standard_EXPORT DrawTrSurf_Drawable (const Standard_Integer discret, const Standard_Real deflection=0.01, const Standard_Integer DrawMode=0)
 set the number of points on a curve at creation.


Private Attributes

Standard_Real myDeflection
Standard_Integer myDiscret
Standard_Integer myDrawMode

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

Generated by  Doxygen 1.6.0   Back to index