Open CASCADE Technology 6.6.0
Public Member Functions
Prs3d_Presentation Class Reference

Defines a presentation object which can be displayed,
highlighted or erased.
The presentation object stores the results of the
presentation algorithms as defined in the StdPrs
classes and the Prs3d classes inheriting Prs3d_Root.
This presentation object is used to give display
attributes defined at this level to
ApplicationInteractiveServices classes at the level above.

#include <Prs3d_Presentation.hxx>

Inheritance diagram for Prs3d_Presentation:
Inheritance graph
[legend]

Public Member Functions

 Prs3d_Presentation (const Handle< Graphic3d_StructureManager > &aStructureManager, const Standard_Boolean Init=Standard_True)
 Constructs a presentation object
if <Init> is false, no color initialization is done.

virtual Handle_Graphic3d_Structure Compute (const Handle< Graphic3d_DataStructureManager > &aProjector)
 Returns the new Structure defined for the new visualization

virtual Handle_Graphic3d_Structure Compute (const Handle< Graphic3d_DataStructureManager > &aProjector, const TColStd_Array2OfReal &AMatrix)
 Returns the new Structure defined for the new visualization

virtual void Compute (const Handle< Graphic3d_DataStructureManager > &aProjector, Handle< Graphic3d_Structure > &aStructure)
 Returns the new Structure defined for the new visualization

virtual void Compute (const Handle< Graphic3d_DataStructureManager > &aProjector, const TColStd_Array2OfReal &AMatrix, Handle< Graphic3d_Structure > &aStructure)
 Returns the new Structure defined for the new visualization

void Highlight ()
 displays the whole content of the presentation in white.

void Color (const Quantity_NameOfColor aColor)
 displays the whole content of the presentation in the specified color.

void BoundBox ()
void Display ()
 Displays the structure <me> in all the views of
the visualiser.

void SetShadingAspect (const Handle< Prs3d_ShadingAspect > &aShadingAspect)
Standard_Boolean IsPickable () const
void Transform (const Handle< Geom_Transformation > &aTransformation)
void Place (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z)
void Multiply (const Handle< Geom_Transformation > &aTransformation)
void Move (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z)
Handle_Geom_Transformation Transformation () const
virtual void Clear (const Standard_Boolean WithDestruction=Standard_True)
 removes the whole content of the presentation.
Does not remove the other connected presentations.
if WithDestruction == Standard_False then
clears all the groups of primitives in the structure.

void Connect (const Handle< Prs3d_Presentation > &aPresentation)
void Remove (const Handle< Prs3d_Presentation > &aPresentation)
void RemoveAll ()
void SetPickable ()
void SetUnPickable ()

Constructor & Destructor Documentation

Prs3d_Presentation::Prs3d_Presentation ( const Handle< Graphic3d_StructureManager > &  aStructureManager,
const Standard_Boolean  Init = Standard_True 
)

Member Function Documentation

void Prs3d_Presentation::BoundBox ( )
virtual void Prs3d_Presentation::Clear ( const Standard_Boolean  WithDestruction = Standard_True) [virtual]

Reimplemented from Graphic3d_Structure.

void Prs3d_Presentation::Color ( const Quantity_NameOfColor  aColor)
virtual Handle_Graphic3d_Structure Prs3d_Presentation::Compute ( const Handle< Graphic3d_DataStructureManager > &  aProjector,
const TColStd_Array2OfReal AMatrix 
) [virtual]

Reimplemented from Graphic3d_Structure.

Reimplemented in PrsMgr_Prs.

virtual void Prs3d_Presentation::Compute ( const Handle< Graphic3d_DataStructureManager > &  aProjector,
const TColStd_Array2OfReal AMatrix,
Handle< Graphic3d_Structure > &  aStructure 
) [virtual]

Reimplemented from Graphic3d_Structure.

Reimplemented in PrsMgr_Prs.

virtual void Prs3d_Presentation::Compute ( const Handle< Graphic3d_DataStructureManager > &  aProjector,
Handle< Graphic3d_Structure > &  aStructure 
) [virtual]

Reimplemented from Graphic3d_Structure.

Reimplemented in PrsMgr_Prs.

virtual Handle_Graphic3d_Structure Prs3d_Presentation::Compute ( const Handle< Graphic3d_DataStructureManager > &  aProjector) [virtual]

Reimplemented from Graphic3d_Structure.

Reimplemented in PrsMgr_Prs.

void Prs3d_Presentation::Connect ( const Handle< Prs3d_Presentation > &  aPresentation)
void Prs3d_Presentation::Display ( ) [virtual]

Reimplemented from Graphic3d_Structure.

void Prs3d_Presentation::Highlight ( )
Standard_Boolean Prs3d_Presentation::IsPickable ( ) const
void Prs3d_Presentation::Move ( const Quantity_Length  X,
const Quantity_Length  Y,
const Quantity_Length  Z 
)
void Prs3d_Presentation::Multiply ( const Handle< Geom_Transformation > &  aTransformation)
void Prs3d_Presentation::Place ( const Quantity_Length  X,
const Quantity_Length  Y,
const Quantity_Length  Z 
)
void Prs3d_Presentation::Remove ( const Handle< Prs3d_Presentation > &  aPresentation)
void Prs3d_Presentation::RemoveAll ( )
void Prs3d_Presentation::SetPickable ( )
void Prs3d_Presentation::SetShadingAspect ( const Handle< Prs3d_ShadingAspect > &  aShadingAspect)
void Prs3d_Presentation::SetUnPickable ( )
void Prs3d_Presentation::Transform ( const Handle< Geom_Transformation > &  aTransformation)
Handle_Geom_Transformation Prs3d_Presentation::Transformation ( ) const

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