Open CASCADE Technology 7.8.2.dev
XCAFDoc Class Reference

Definition of general structure of DECAF document and tools to work with it. More...

#include <XCAFDoc.hxx>

Static Public Member Functions

static const Standard_GUIDAssemblyGUID ()
 class for containing GraphNodes. Returns GUID for UAttribute identifying assembly
 
static const Standard_GUIDShapeRefGUID ()
 Returns GUID for TreeNode representing assembly link.
 
static const Standard_GUIDColorRefGUID (const XCAFDoc_ColorType type)
 Return GUIDs for TreeNode representing specified types of colors.
 
static const Standard_GUIDDimTolRefGUID ()
 Return GUIDs for TreeNode representing specified types of DGT.
 
static const Standard_GUIDDimensionRefFirstGUID ()
 Return GUIDs for TreeNode representing specified types of Dimension.
 
static const Standard_GUIDDimensionRefSecondGUID ()
 Return GUIDs for TreeNode representing specified types of Dimension.
 
static const Standard_GUIDGeomToleranceRefGUID ()
 Return GUIDs for TreeNode representing specified types of GeomTolerance.
 
static const Standard_GUIDDatumRefGUID ()
 Return GUIDs for TreeNode representing specified types of datum.
 
static const Standard_GUIDDatumTolRefGUID ()
 Return GUIDs for TreeNode representing connections Datum-Toler.
 
static const Standard_GUIDLayerRefGUID ()
 
static const Standard_GUIDMaterialRefGUID ()
 
static const Standard_GUIDVisMaterialRefGUID ()
 Return GUID for TreeNode representing Visualization Material.
 
static const Standard_GUIDNoteRefGUID ()
 Return GUIDs for representing notes.
 
static const Standard_GUIDInvisibleGUID ()
 
static const Standard_GUIDColorByLayerGUID ()
 
static const Standard_GUIDExternRefGUID ()
 Returns GUID for UAttribute identifying external reference on no-step file.
 
static const Standard_GUIDSHUORefGUID ()
 Returns GUID for UAttribute identifying specified higher usage occurrence.
 
static const Standard_GUIDViewRefGUID ()
 Return GUIDs for TreeNode representing specified types of View.
 
static const Standard_GUIDViewRefShapeGUID ()
 Return GUIDs for TreeNode representing specified types of View.
 
static const Standard_GUIDViewRefGDTGUID ()
 Return GUIDs for TreeNode representing specified types of View.
 
static const Standard_GUIDViewRefPlaneGUID ()
 Return GUIDs for TreeNode representing specified types of View.
 
static const Standard_GUIDViewRefNoteGUID ()
 Return GUIDs for GraphNode representing specified types of View.
 
static const Standard_GUIDViewRefAnnotationGUID ()
 
static const Standard_GUIDLockGUID ()
 Returns GUID for UAttribute identifying lock flag.
 
static TCollection_AsciiString AttributeInfo (const Handle< TDF_Attribute > &theAtt)
 Prints attribute information into a string.
 

Detailed Description

Definition of general structure of DECAF document and tools to work with it.

The document is composed of sections, each section storing its own kind of data and managing by corresponding tool Some properties can be attached directly to shapes. These properties are:

  • Name (the standard definition from OCAF) - class TDataStd_Name
  • Centroid (for the validation of transfer) - class XCAFDoc_Centroid
  • Volume (for the validation of transfer) - class XCAFDoc_Volume
  • Area (for the validation of transfer) - class XCafDoc_Area Management of these attributes is realized by OCAF. For getting the attributes attached to a label the method class TDF_Label::FindAttribute() should be used.

Member Function Documentation

◆ AssemblyGUID()

static const Standard_GUID & XCAFDoc::AssemblyGUID ( )
static

class for containing GraphNodes. Returns GUID for UAttribute identifying assembly

◆ AttributeInfo()

static TCollection_AsciiString XCAFDoc::AttributeInfo ( const Handle< TDF_Attribute > & theAtt)
static

Prints attribute information into a string.

Parameters
theAttan XDE attribute
Returns
the generated info value

◆ ColorByLayerGUID()

static const Standard_GUID & XCAFDoc::ColorByLayerGUID ( )
static

◆ ColorRefGUID()

static const Standard_GUID & XCAFDoc::ColorRefGUID ( const XCAFDoc_ColorType type)
static

Return GUIDs for TreeNode representing specified types of colors.

◆ DatumRefGUID()

static const Standard_GUID & XCAFDoc::DatumRefGUID ( )
static

Return GUIDs for TreeNode representing specified types of datum.

◆ DatumTolRefGUID()

static const Standard_GUID & XCAFDoc::DatumTolRefGUID ( )
static

Return GUIDs for TreeNode representing connections Datum-Toler.

◆ DimensionRefFirstGUID()

static const Standard_GUID & XCAFDoc::DimensionRefFirstGUID ( )
static

Return GUIDs for TreeNode representing specified types of Dimension.

◆ DimensionRefSecondGUID()

static const Standard_GUID & XCAFDoc::DimensionRefSecondGUID ( )
static

Return GUIDs for TreeNode representing specified types of Dimension.

◆ DimTolRefGUID()

static const Standard_GUID & XCAFDoc::DimTolRefGUID ( )
static

Return GUIDs for TreeNode representing specified types of DGT.

◆ ExternRefGUID()

static const Standard_GUID & XCAFDoc::ExternRefGUID ( )
static

Returns GUID for UAttribute identifying external reference on no-step file.

◆ GeomToleranceRefGUID()

static const Standard_GUID & XCAFDoc::GeomToleranceRefGUID ( )
static

Return GUIDs for TreeNode representing specified types of GeomTolerance.

◆ InvisibleGUID()

static const Standard_GUID & XCAFDoc::InvisibleGUID ( )
static

◆ LayerRefGUID()

static const Standard_GUID & XCAFDoc::LayerRefGUID ( )
static

◆ LockGUID()

static const Standard_GUID & XCAFDoc::LockGUID ( )
static

Returns GUID for UAttribute identifying lock flag.

◆ MaterialRefGUID()

static const Standard_GUID & XCAFDoc::MaterialRefGUID ( )
static

◆ NoteRefGUID()

static const Standard_GUID & XCAFDoc::NoteRefGUID ( )
static

Return GUIDs for representing notes.

◆ ShapeRefGUID()

static const Standard_GUID & XCAFDoc::ShapeRefGUID ( )
static

Returns GUID for TreeNode representing assembly link.

◆ SHUORefGUID()

static const Standard_GUID & XCAFDoc::SHUORefGUID ( )
static

Returns GUID for UAttribute identifying specified higher usage occurrence.

◆ ViewRefAnnotationGUID()

static const Standard_GUID & XCAFDoc::ViewRefAnnotationGUID ( )
static

◆ ViewRefGDTGUID()

static const Standard_GUID & XCAFDoc::ViewRefGDTGUID ( )
static

Return GUIDs for TreeNode representing specified types of View.

◆ ViewRefGUID()

static const Standard_GUID & XCAFDoc::ViewRefGUID ( )
static

Return GUIDs for TreeNode representing specified types of View.

◆ ViewRefNoteGUID()

static const Standard_GUID & XCAFDoc::ViewRefNoteGUID ( )
static

Return GUIDs for GraphNode representing specified types of View.

◆ ViewRefPlaneGUID()

static const Standard_GUID & XCAFDoc::ViewRefPlaneGUID ( )
static

Return GUIDs for TreeNode representing specified types of View.

◆ ViewRefShapeGUID()

static const Standard_GUID & XCAFDoc::ViewRefShapeGUID ( )
static

Return GUIDs for TreeNode representing specified types of View.

◆ VisMaterialRefGUID()

static const Standard_GUID & XCAFDoc::VisMaterialRefGUID ( )
static

Return GUID for TreeNode representing Visualization Material.


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