Open CASCADE Technology 6.6.0
|
#include <TObj_TXYZ.hxx>
Public Member Functions | |
TObj_TXYZ () | |
Standard methods of OCAF attribute. | |
const Standard_GUID & | ID () const |
Returns the ID of TObj_TXYZ attribute. | |
void | Set (const gp_XYZ &theXYZ) |
Methods for setting and obtaining XYZ. | |
gp_XYZ | Get () const |
Returns the XYZ. | |
Handle< TDF_Attribute > | NewEmpty () const |
Redefined OCAF abstract methods. | |
void | Restore (const Handle< TDF_Attribute > &theWith) |
Restores the backuped contents from <theWith> into this one. It is used when aborting a transaction. | |
void | Paste (const Handle< TDF_Attribute > &theInto, const Handle< TDF_RelocationTable > &theRT) const |
This method is used when copying an attribute from a source structure into a target structure. | |
virtual Standard_OStream & | Dump (Standard_OStream &theOS) const |
This method dumps the attribute value into the stream. | |
Static Public Member Functions | |
static const Standard_GUID & | GetID () |
This method is used in implementation of ID() | |
static Handle< TObj_TXYZ > | Set (const TDF_Label &theLabel, const gp_XYZ &theXYZ) |
Method for create TObj_TXYZ object. |
TObj_TXYZ::TObj_TXYZ | ( | ) |
Empty constructor
virtual Standard_OStream& TObj_TXYZ::Dump | ( | Standard_OStream & | theOS | ) | const [virtual] |
Reimplemented from TDF_Attribute.
gp_XYZ TObj_TXYZ::Get | ( | ) | const |
static const Standard_GUID& TObj_TXYZ::GetID | ( | ) | [static] |
const Standard_GUID& TObj_TXYZ::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
Handle< TDF_Attribute > TObj_TXYZ::NewEmpty | ( | ) | const [virtual] |
Returns an new empty TObj_TXYZ attribute. It is used by the copy algorithm.
Implements TDF_Attribute.
void TObj_TXYZ::Paste | ( | const Handle< TDF_Attribute > & | theInto, |
const Handle< TDF_RelocationTable > & | theRT | ||
) | const [virtual] |
Implements TDF_Attribute.
void TObj_TXYZ::Restore | ( | const Handle< TDF_Attribute > & | theWith | ) | [virtual] |
Implements TDF_Attribute.
static Handle< TObj_TXYZ > TObj_TXYZ::Set | ( | const TDF_Label & | theLabel, |
const gp_XYZ & | theXYZ | ||
) | [static] |
Creates attribute and sets the XYZ
void TObj_TXYZ::Set | ( | const gp_XYZ & | theXYZ | ) |
Sets the XYZ