Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
XCAFPrs_AISObject Class Reference

Implements AIS_InteractiveObject functionality
for shape in DECAF document

#include <XCAFPrs_AISObject.hxx>

Inheritance diagram for XCAFPrs_AISObject:
Inheritance graph
[legend]

Public Member Functions

 XCAFPrs_AISObject (const TDF_Label &lab)
 Creates an object to visualise the shape label

virtual void SetColor (const Quantity_Color &aColor)
virtual void UnsetColor ()
 Removes settings for color in the reconstructed compound shape.

virtual void SetMaterial (const Graphic3d_NameOfMaterial aName)
 Sets the name aName for material defining this
display attribute for the interactive object.
Material aspect determines shading aspect, color and
transparency of visible entities.

virtual void SetMaterial (const Graphic3d_MaterialAspect &aName)
 Allows you to provide settings for the material aName
in the reconstructed compound shape.

virtual void UnsetMaterial ()
 Removes settings for material in the reconstructed compound shape.

virtual void SetTransparency (const Standard_Real aValue=0.6)
 Sets the value aValue for transparency in the reconstructed compound shape.

virtual void UnsetTransparency ()
 Removes the setting for transparency in the reconstructed compound shape.

Protected Member Functions

virtual void Compute (const Handle< PrsMgr_PresentationManager3d > &aPresentationManager, const Handle< Prs3d_Presentation > &aPresentation, const Standard_Integer aMode=0)
 Redefined method to compute presentation

virtual void DefaultStyle (XCAFPrs_Style &aStyle) const
 Fills out a default style object which is used when styles are
not explicitly defined in the document.
By default, the style uses white color for curves and surfaces.


Constructor & Destructor Documentation

XCAFPrs_AISObject::XCAFPrs_AISObject ( const TDF_Label lab)

Member Function Documentation

virtual void XCAFPrs_AISObject::Compute ( const Handle< PrsMgr_PresentationManager3d > &  aPresentationManager,
const Handle< Prs3d_Presentation > &  aPresentation,
const Standard_Integer  aMode = 0 
) [protected, virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::DefaultStyle ( XCAFPrs_Style aStyle) const [protected, virtual]
virtual void XCAFPrs_AISObject::SetColor ( const Quantity_Color aColor) [virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::SetMaterial ( const Graphic3d_MaterialAspect aName) [virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::SetMaterial ( const Graphic3d_NameOfMaterial  aName) [virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::SetTransparency ( const Standard_Real  aValue = 0.6) [virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::UnsetColor ( ) [virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::UnsetMaterial ( ) [virtual]

Reimplemented from AIS_Shape.

virtual void XCAFPrs_AISObject::UnsetTransparency ( ) [virtual]

Reimplemented from AIS_Shape.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines