Open CASCADE Technology
7.0.0
|
object to store dimension More...
#include <XCAFDimTolObjects_DimensionObject.hxx>
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 | SetPoints (const Handle< TColgp_HArray1OfPnt > &thePnts) |
void | SetPointTextAttach (const gp_Pnt &thePntText) |
const gp_Pnt & | GetPointTextAttach () const |
Standard_Boolean | HasTextPoint () const |
void | SetPlane (const gp_Ax2 &thePlane) |
const gp_Ax2 & | GetPlane () const |
Standard_Boolean | HasPlane () const |
Standard_Boolean | HasPoints () 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_HAsciiString > | GetPresentationName () const |
Returns graphical presentation of the object. More... | |
![]() | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (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_Transient * | This () 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 | |
![]() | |
typedef void | base_type |
Returns a type descriptor about this object. More... | |
![]() | |
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... | |
object to store dimension
XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject | ( | ) |
XCAFDimTolObjects_DimensionObject::XCAFDimTolObjects_DimensionObject | ( | const Handle< XCAFDimTolObjects_DimensionObject > & | theObj | ) |
void XCAFDimTolObjects_DimensionObject::AddModifier | ( | const XCAFDimTolObjects_DimensionModif | theModifier | ) |
Standard_Boolean XCAFDimTolObjects_DimensionObject::GetClassOfTolerance | ( | Standard_Boolean & | theHole, |
XCAFDimTolObjects_DimensionFormVariance & | theFormVariance, | ||
XCAFDimTolObjects_DimensionGrade & | theGrade | ||
) | const |
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 |
|
inline |
Handle< TColgp_HArray1OfPnt > XCAFDimTolObjects_DimensionObject::GetPoints | ( | ) | const |
|
inline |
|
inline |
Returns graphical presentation of the object.
|
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 |
|
inline |
|
inline |
Standard_Boolean XCAFDimTolObjects_DimensionObject::HasQualifier | ( | ) | const |
|
inline |
Standard_Boolean XCAFDimTolObjects_DimensionObject::IsDimWithClassOfTolerance | ( | ) | const |
Standard_Boolean XCAFDimTolObjects_DimensionObject::IsDimWithPlusMinusTolerance | ( | ) | const |
Standard_Boolean XCAFDimTolObjects_DimensionObject::IsDimWithRange | ( | ) | const |
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 | ) |
|
inline |
void XCAFDimTolObjects_DimensionObject::SetPoints | ( | const Handle< TColgp_HArray1OfPnt > & | thePnts | ) |
|
inline |
|
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 | ) |