Open CASCADE Technology  7.1.0.beta
Public Member Functions

XCAFDimTolObjects_DimensionObject Class Reference

object to store dimension More...

#include <XCAFDimTolObjects_DimensionObject.hxx>

Inheritance diagram for XCAFDimTolObjects_DimensionObject:
Inheritance graph
[legend]

Public Member Functions

 XCAFDimTolObjects_DimensionObject ()
 
 XCAFDimTolObjects_DimensionObject (const Handle< XCAFDimTolObjects_DimensionObject > &theObj)
 
void SetQualifier (const XCAFDimTolObjects_DimensionQualifier theQualifier)
 
XCAFDimTolObjects_DimensionQualifier GetQualifier () const
 
Standard_Boolean HasQualifier () const
 
void SetType (const XCAFDimTolObjects_DimensionType theTyupe)
 
XCAFDimTolObjects_DimensionType GetType () const
 
Standard_Real GetValue () const
 
Handle< TColStd_HArray1OfReal > GetValues () const
 
void SetValue (const Standard_Real theValue)
 
void SetValues (const Handle< TColStd_HArray1OfReal > &theValue)
 
Standard_Boolean IsDimWithRange () const
 
void SetUpperBound (const Standard_Real theUpperBound)
 
void SetLowerBound (const Standard_Real theLowerBound)
 
Standard_Real GetUpperBound () const
 
Standard_Real GetLowerBound () const
 
Standard_Boolean IsDimWithPlusMinusTolerance () const
 
Standard_Boolean SetUpperTolValue (const Standard_Real theUperTolValue)
 
Standard_Boolean SetLowerTolValue (const Standard_Real theLowerTolValue)
 
Standard_Real GetUpperTolValue () const
 
Standard_Real GetLowerTolValue () const
 
Standard_Boolean IsDimWithClassOfTolerance () const
 
void SetClassOfTolerance (const Standard_Boolean theHole, const XCAFDimTolObjects_DimensionFormVariance theFormVariance, const XCAFDimTolObjects_DimensionGrade theGrade)
 
Standard_Boolean GetClassOfTolerance (Standard_Boolean &theHole, XCAFDimTolObjects_DimensionFormVariance &theFormVariance, XCAFDimTolObjects_DimensionGrade &theGrade) const
 
void SetNbOfDecimalPlaces (const Standard_Integer theL, const Standard_Integer theR)
 
void GetNbOfDecimalPlaces (Standard_Integer &theL, Standard_Integer &theR) const
 
XCAFDimTolObjects_DimensionModifiersSequence GetModifiers () const
 
void SetModifiers (const XCAFDimTolObjects_DimensionModifiersSequence &theModifiers)
 
void AddModifier (const XCAFDimTolObjects_DimensionModif theModifier)
 
TopoDS_Edge GetPath () const
 
void SetPath (const TopoDS_Edge &thePath)
 
Standard_Boolean GetDirection (gp_Dir &theDir) const
 
Standard_Boolean SetDirection (const gp_Dir &theDir)
 
Handle< TColgp_HArray1OfPnt > GetPoints () const
 
void SetPointTextAttach (const gp_Pnt &thePntText)
 
const gp_PntGetPointTextAttach () const
 
Standard_Boolean HasTextPoint () const
 
void SetPlane (const gp_Ax2 &thePlane)
 
const gp_Ax2GetPlane () const
 
Standard_Boolean HasPlane () const
 
Standard_Boolean HasPoint () const
 Returns true, if connection point exists (for dimesional_size), if connection point for first shape exists (for dimensional_location) More...
 
Standard_Boolean HasPoint2 () const
 
void SetPoint (const gp_Pnt thePnt)
 Set connection point (for dimesional_size), Set connection point for first shape (for dimensional_location) More...
 
void SetPoint2 (const gp_Pnt thePnt)
 
gp_Pnt GetPoint () const
 Get connection point (for dimesional_size), Get connection point for first shape (for dimensional_location) More...
 
gp_Pnt GetPoint2 () const
 
void SetPresentation (const TopoDS_Shape &thePresentation, const Handle< TCollection_HAsciiString > &thePresentationName)
 Set graphical presentation for object. More...
 
TopoDS_Shape GetPresentation () const
 Returns graphical presentation of the object. More...
 
Handle< TCollection_HAsciiStringGetPresentationName () const
 Returns graphical presentation of the object. More...
 
Standard_Boolean HasDescriptions () const
 Returns true, if the object has descriptions. More...
 
Standard_Integer NbDescriptions () const
 Returns number of descriptions. More...
 
Handle< TCollection_HAsciiStringGetDescription (const Standard_Integer theNumber) const
 Returns description with the given number. More...
 
Handle< TCollection_HAsciiStringGetDescriptionName (const Standard_Integer theNumber) const
 Returns name of description with the given number. More...
 
void RemoveDescription (const Standard_Integer theNumber)
 Remove description with the given number. More...
 
void AddDescription (const Handle< TCollection_HAsciiString > theDescription, const Handle< TCollection_HAsciiString > theName)
 Add new description. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Detailed Description

object to store dimension

Constructor & Destructor Documentation

XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject ( )
XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject ( const Handle< XCAFDimTolObjects_DimensionObject > &  theObj)

Member Function Documentation

void XCAFDimTolObjects_DimensionObject::AddDescription ( const Handle< TCollection_HAsciiString theDescription,
const Handle< TCollection_HAsciiString theName 
)
inline

Add new description.

void XCAFDimTolObjects_DimensionObject::AddModifier ( const XCAFDimTolObjects_DimensionModif  theModifier)
Standard_Boolean XCAFDimTolObjects_DimensionObject::GetClassOfTolerance ( Standard_Boolean theHole,
XCAFDimTolObjects_DimensionFormVariance theFormVariance,
XCAFDimTolObjects_DimensionGrade theGrade 
) const
Handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetDescription ( const Standard_Integer  theNumber) const
inline

Returns description with the given number.

Handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetDescriptionName ( const Standard_Integer  theNumber) const
inline

Returns name of description with the given number.

Standard_Boolean XCAFDimTolObjects_DimensionObject::GetDirection ( gp_Dir theDir) const
Standard_Real XCAFDimTolObjects_DimensionObject::GetLowerBound ( ) const
Standard_Real XCAFDimTolObjects_DimensionObject::GetLowerTolValue ( ) const
XCAFDimTolObjects_DimensionModifiersSequence XCAFDimTolObjects_DimensionObject::GetModifiers ( ) const
void XCAFDimTolObjects_DimensionObject::GetNbOfDecimalPlaces ( Standard_Integer theL,
Standard_Integer theR 
) const
TopoDS_Edge XCAFDimTolObjects_DimensionObject::GetPath ( ) const
const gp_Ax2& XCAFDimTolObjects_DimensionObject::GetPlane ( ) const
inline
gp_Pnt XCAFDimTolObjects_DimensionObject::GetPoint ( ) const
inline

Get connection point (for dimesional_size), Get connection point for first shape (for dimensional_location)

gp_Pnt XCAFDimTolObjects_DimensionObject::GetPoint2 ( ) const
inline
Handle< TColgp_HArray1OfPnt > XCAFDimTolObjects_DimensionObject::GetPoints ( ) const
const gp_Pnt& XCAFDimTolObjects_DimensionObject::GetPointTextAttach ( ) const
inline
TopoDS_Shape XCAFDimTolObjects_DimensionObject::GetPresentation ( ) const
inline

Returns graphical presentation of the object.

Handle< TCollection_HAsciiString > XCAFDimTolObjects_DimensionObject::GetPresentationName ( ) const
inline

Returns graphical presentation of the object.

XCAFDimTolObjects_DimensionQualifier XCAFDimTolObjects_DimensionObject::GetQualifier ( ) const
XCAFDimTolObjects_DimensionType XCAFDimTolObjects_DimensionObject::GetType ( ) const
Standard_Real XCAFDimTolObjects_DimensionObject::GetUpperBound ( ) const
Standard_Real XCAFDimTolObjects_DimensionObject::GetUpperTolValue ( ) const
Standard_Real XCAFDimTolObjects_DimensionObject::GetValue ( ) const
Handle< TColStd_HArray1OfReal > XCAFDimTolObjects_DimensionObject::GetValues ( ) const
Standard_Boolean XCAFDimTolObjects_DimensionObject::HasDescriptions ( ) const
inline

Returns true, if the object has descriptions.

Standard_Boolean XCAFDimTolObjects_DimensionObject::HasPlane ( ) const
inline
Standard_Boolean XCAFDimTolObjects_DimensionObject::HasPoint ( ) const
inline

Returns true, if connection point exists (for dimesional_size), if connection point for first shape exists (for dimensional_location)

Standard_Boolean XCAFDimTolObjects_DimensionObject::HasPoint2 ( ) const
inline
Standard_Boolean XCAFDimTolObjects_DimensionObject::HasQualifier ( ) const
Standard_Boolean XCAFDimTolObjects_DimensionObject::HasTextPoint ( ) const
inline
Standard_Boolean XCAFDimTolObjects_DimensionObject::IsDimWithClassOfTolerance ( ) const
Standard_Boolean XCAFDimTolObjects_DimensionObject::IsDimWithPlusMinusTolerance ( ) const
Standard_Boolean XCAFDimTolObjects_DimensionObject::IsDimWithRange ( ) const
Standard_Integer XCAFDimTolObjects_DimensionObject::NbDescriptions ( ) const
inline

Returns number of descriptions.

void XCAFDimTolObjects_DimensionObject::RemoveDescription ( const Standard_Integer  theNumber)

Remove description with the given number.

void XCAFDimTolObjects_DimensionObject::SetClassOfTolerance ( const Standard_Boolean  theHole,
const XCAFDimTolObjects_DimensionFormVariance  theFormVariance,
const XCAFDimTolObjects_DimensionGrade  theGrade 
)
Standard_Boolean XCAFDimTolObjects_DimensionObject::SetDirection ( const gp_Dir theDir)
void XCAFDimTolObjects_DimensionObject::SetLowerBound ( const Standard_Real  theLowerBound)
Standard_Boolean XCAFDimTolObjects_DimensionObject::SetLowerTolValue ( const Standard_Real  theLowerTolValue)
void XCAFDimTolObjects_DimensionObject::SetModifiers ( const XCAFDimTolObjects_DimensionModifiersSequence theModifiers)
void XCAFDimTolObjects_DimensionObject::SetNbOfDecimalPlaces ( const Standard_Integer  theL,
const Standard_Integer  theR 
)
void XCAFDimTolObjects_DimensionObject::SetPath ( const TopoDS_Edge thePath)
void XCAFDimTolObjects_DimensionObject::SetPlane ( const gp_Ax2 thePlane)
inline
void XCAFDimTolObjects_DimensionObject::SetPoint ( const gp_Pnt  thePnt)
inline

Set connection point (for dimesional_size), Set connection point for first shape (for dimensional_location)

void XCAFDimTolObjects_DimensionObject::SetPoint2 ( const gp_Pnt  thePnt)
inline
void XCAFDimTolObjects_DimensionObject::SetPointTextAttach ( const gp_Pnt thePntText)
inline
void XCAFDimTolObjects_DimensionObject::SetPresentation ( const TopoDS_Shape thePresentation,
const Handle< TCollection_HAsciiString > &  thePresentationName 
)
inline

Set graphical presentation for object.

void XCAFDimTolObjects_DimensionObject::SetQualifier ( const XCAFDimTolObjects_DimensionQualifier  theQualifier)
void XCAFDimTolObjects_DimensionObject::SetType ( const XCAFDimTolObjects_DimensionType  theTyupe)
void XCAFDimTolObjects_DimensionObject::SetUpperBound ( const Standard_Real  theUpperBound)
Standard_Boolean XCAFDimTolObjects_DimensionObject::SetUpperTolValue ( const Standard_Real  theUperTolValue)
void XCAFDimTolObjects_DimensionObject::SetValue ( const Standard_Real  theValue)
void XCAFDimTolObjects_DimensionObject::SetValues ( const Handle< TColStd_HArray1OfReal > &  theValue)

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