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>
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
Member Function Documentation
void Prs3d_Presentation::BoundBox |
( |
| ) |
|
virtual void Prs3d_Presentation::Clear |
( |
const Standard_Boolean |
WithDestruction = Standard_True | ) |
[virtual] |
void Prs3d_Presentation::Display |
( |
| ) |
[virtual] |
void Prs3d_Presentation::Highlight |
( |
| ) |
|
void Prs3d_Presentation::RemoveAll |
( |
| ) |
|
void Prs3d_Presentation::SetPickable |
( |
| ) |
|
void Prs3d_Presentation::SetShadingAspect |
( |
const Handle< Prs3d_ShadingAspect > & |
aShadingAspect | ) |
|
void Prs3d_Presentation::SetUnPickable |
( |
| ) |
|
Handle_Geom_Transformation Prs3d_Presentation::Transformation |
( |
| ) |
const |
The documentation for this class was generated from the following file: