#include <GEOM_Object.hxx>
Classes | |
struct | Color |
Public Member Functions | |
Standard_EXPORT | GEOM_Object (TDF_Label &theEntry, int theType) |
Standard_EXPORT | ~GEOM_Object () |
Standard_EXPORT TopoDS_Shape | GetValue () |
Standard_EXPORT void | SetColor (const Color &theColor) |
Standard_EXPORT Color | GetColor () |
Standard_EXPORT void | SetAutoColor (bool theAutoColor) |
Standard_EXPORT bool | GetAutoColor () |
Standard_EXPORT void | SetMarkerStd (const Aspect_TypeOfMarker theType, double theSize) |
Standard_EXPORT void | SetMarkerTexture (int theTextureId) |
Standard_EXPORT Aspect_TypeOfMarker | GetMarkerType () |
Standard_EXPORT double | GetMarkerSize () |
Standard_EXPORT int | GetMarkerTexture () |
Standard_EXPORT void | UnsetMarker () |
Standard_EXPORT bool | IsMainShape () |
Public Member Functions inherited from GEOM_BaseObject | |
Standard_EXPORT | GEOM_BaseObject (const TDF_Label &theEntry, int theType) |
Standard_EXPORT | ~GEOM_BaseObject () |
Standard_EXPORT | Handle (TDataStd_TreeNode) GetRootNode() |
Standard_EXPORT TDF_Label | GetEntry () const |
Standard_EXPORT TCollection_AsciiString | GetEntryString () |
Standard_EXPORT int | GetType () |
Standard_EXPORT void | SetType (int theType) |
Standard_EXPORT int | GetTic () |
Standard_EXPORT void | SetTic (int theTic) |
Standard_EXPORT void | IncrementTic () |
Standard_EXPORT int | GetDocID () |
Standard_EXPORT void | SetName (const char *theName) |
Standard_EXPORT TCollection_AsciiString | GetName () |
Standard_EXPORT void | SetAuxData (const char *theData) |
Standard_EXPORT TCollection_AsciiString | GetAuxData () |
Standard_EXPORT void | SetParameters (const TCollection_AsciiString &theParameters) |
Standard_EXPORT TCollection_AsciiString | GetParameters () const |
Standard_EXPORT void | SetIOR (TCollection_AsciiString &theIOR) |
Standard_EXPORT TCollection_AsciiString | GetIOR () |
Standard_EXPORT | Handle (GEOM_Function) AddFunction(const Standard_GUID &theGUID |
Standard_EXPORT int | GetNbFunctions () |
Standard_EXPORT | Handle (GEOM_Function) GetFunction(int theFunctionNumber) |
Standard_EXPORT | Handle (GEOM_Function) GetLastFunction() |
Standard_EXPORT | Handle (TColStd_HSequenceOfTransient) GetAllDependency() |
Standard_EXPORT | Handle (TColStd_HSequenceOfTransient) GetLastDependency() |
Standard_EXPORT | Handle (TFunction_Driver) GetCreationDriver(int funNb) |
Standard_EXPORT TDF_Label | GetFreeLabel () |
Static Public Member Functions | |
static Standard_EXPORT | Handle (GEOM_Object) GetObject(const TDF_Label &theLabel) |
static Standard_EXPORT | Handle (GEOM_Object) GetReferencedObject(const TDF_Label &theLabel) |
Static Public Member Functions inherited from GEOM_BaseObject | |
static Standard_EXPORT | Handle (GEOM_BaseObject) GetObject(const TDF_Label &theLabel) |
static Standard_EXPORT | Handle (GEOM_BaseObject) GetReferencedObject(const TDF_Label &theLabel) |
static Standard_EXPORT int | GetType (const TDF_Label &theLabel) |
static Standard_EXPORT const Standard_GUID & | GetObjectID () |
static Standard_EXPORT const Standard_GUID & | GetSubShapeID () |
Private Member Functions | |
GEOM_Object (TDF_Label &theLabel) | |
Friends | |
class | GEOM_Engine |
Additional Inherited Members | |
Public Attributes inherited from GEOM_BaseObject | |
Standard_EXPORT int | theFunctionType |
Standard_EXPORT int bool | allowSubShape =false) |
Protected Member Functions inherited from GEOM_BaseObject | |
Standard_EXPORT | GEOM_BaseObject (const TDF_Label &theLabel) |
Handle (TDataStd_TreeNode) _root | |
Protected Attributes inherited from GEOM_BaseObject | |
TDF_Label | _label |
TCollection_AsciiString | _ior |
TCollection_AsciiString | _parameters |
int | _docID |
|
private |
Constructor: private
GEOM_Object::GEOM_Object | ( | TDF_Label & | theEntry, |
int | theType | ||
) |
Constructor: public
GEOM_Object::~GEOM_Object | ( | ) |
Destructor
bool GEOM_Object::GetAutoColor | ( | ) |
GetAutoColor
References GEOM_BaseObject::_label, AUTO_COLOR_LABEL, and Handle().
GEOM_Object::Color GEOM_Object::GetColor | ( | ) |
GetColor
References GEOM_BaseObject::_label, aColor, GEOM_Object::Color::B, COLOR_LABEL, GEOM_Object::Color::G, Handle(), and GEOM_Object::Color::R.
double GEOM_Object::GetMarkerSize | ( | ) |
GetMarkerSize
References GEOM_BaseObject::_label, Handle(), MARKER_LABEL, and MARKER_LABEL_SIZE.
int GEOM_Object::GetMarkerTexture | ( | ) |
GetMarkerTexture
References GEOM_BaseObject::_label, GetMarkerType(), Handle(), MARKER_LABEL, and MARKER_LABEL_ID.
Aspect_TypeOfMarker GEOM_Object::GetMarkerType | ( | ) |
GetMarkerType
References GEOM_BaseObject::_label, Handle(), MARKER_LABEL, and MARKER_LABEL_TYPE.
TopoDS_Shape GEOM_Object::GetValue | ( | ) |
GetValue
References Handle().
|
static |
|
static |
bool GEOM_Object::IsMainShape | ( | ) |
IsSubShape
References GEOM_BaseObject::GetSubShapeID(), and Handle().
void GEOM_Object::SetAutoColor | ( | bool | theAutoColor | ) |
SetAutoColor
References GEOM_BaseObject::_label, and AUTO_COLOR_LABEL.
void GEOM_Object::SetColor | ( | const Color & | theColor | ) |
SetColor
References GEOM_BaseObject::_label, GEOM_Object::Color::B, COLOR_LABEL, GEOM_Object::Color::G, Handle(), and GEOM_Object::Color::R.
void GEOM_Object::SetMarkerStd | ( | const Aspect_TypeOfMarker | theType, |
double | theSize | ||
) |
SetMarkerStd
References GEOM_BaseObject::_label, MARKER_LABEL, MARKER_LABEL_SIZE, and MARKER_LABEL_TYPE.
void GEOM_Object::SetMarkerTexture | ( | int | theTextureId | ) |
SetMarkerTexture
References GEOM_BaseObject::_label, MARKER_LABEL, MARKER_LABEL_ID, and MARKER_LABEL_TYPE.
void GEOM_Object::UnsetMarker | ( | ) |
SetAuxData
References SetMarkerStd().
|
friend |