Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public 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.


Constructor & Destructor Documentation


Member Function Documentation

virtual void XCAFPrs_AISObject::SetColor ( const Quantity_Color aColor) [virtual]

Reimplemented from AIS_Shape.

Reimplemented from AIS_Shape.

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.

Reimplemented from AIS_Shape.


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