Open CASCADE Technology  7.7.0
Public Member Functions | Static Public Member Functions | Data Fields

RWGltf_CafWriter::RWGltf_StyledShape Struct Reference

Shape + Style pair. More...

#include <RWGltf_CafWriter.hxx>

Public Member Functions

 RWGltf_StyledShape ()
 
 RWGltf_StyledShape (const TopoDS_Shape &theShape)
 
 RWGltf_StyledShape (const TopoDS_Shape &theShape, const XCAFPrs_Style &theStyle)
 

Static Public Member Functions

static Standard_Integer HashCode (const RWGltf_StyledShape &theShape, Standard_Integer theUpperBound)
 Computes a hash code. More...
 
static Standard_Boolean IsEqual (const RWGltf_StyledShape &theS1, const RWGltf_StyledShape &theS2)
 Equality comparison. More...
 

Data Fields

TopoDS_Shape Shape
 
XCAFPrs_Style Style
 

Detailed Description

Shape + Style pair.

Constructor & Destructor Documentation

◆ RWGltf_StyledShape() [1/3]

RWGltf_CafWriter::RWGltf_StyledShape::RWGltf_StyledShape ( )
inline

◆ RWGltf_StyledShape() [2/3]

RWGltf_CafWriter::RWGltf_StyledShape::RWGltf_StyledShape ( const TopoDS_Shape theShape)
inlineexplicit

◆ RWGltf_StyledShape() [3/3]

RWGltf_CafWriter::RWGltf_StyledShape::RWGltf_StyledShape ( const TopoDS_Shape theShape,
const XCAFPrs_Style theStyle 
)
inlineexplicit

Member Function Documentation

◆ HashCode()

static Standard_Integer RWGltf_CafWriter::RWGltf_StyledShape::HashCode ( const RWGltf_StyledShape theShape,
Standard_Integer  theUpperBound 
)
inlinestatic

Computes a hash code.

◆ IsEqual()

static Standard_Boolean RWGltf_CafWriter::RWGltf_StyledShape::IsEqual ( const RWGltf_StyledShape theS1,
const RWGltf_StyledShape theS2 
)
inlinestatic

Equality comparison.

Field Documentation

◆ Shape

TopoDS_Shape RWGltf_CafWriter::RWGltf_StyledShape::Shape

◆ Style

XCAFPrs_Style RWGltf_CafWriter::RWGltf_StyledShape::Style

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