# Visualization
TKV3d
Prs3d

# 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:

[legend]

## Public Member Functions

Standard_EXPORT | 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 Standard_EXPORT Handle_Graphic3d_Structure | Compute (const Handle(Graphic3d_DataStructureManager)&aProjector)
| Returns the new Structure defined for the new visualization .
virtual Standard_EXPORT Handle_Graphic3d_Structure | Compute (const Handle(Graphic3d_DataStructureManager)&aProjector, const TColStd_Array2OfReal &AMatrix)
| Returns the new Structure defined for the new visualization .
virtual Standard_EXPORT void | Compute (const Handle(Graphic3d_DataStructureManager)&aProjector, Handle(Graphic3d_Structure)&aStructure)
| Returns the new Structure defined for the new visualization .
virtual Standard_EXPORT void | Compute (const Handle(Graphic3d_DataStructureManager)&aProjector, const TColStd_Array2OfReal &AMatrix, Handle(Graphic3d_Structure)&aStructure)
| Returns the new Structure defined for the new visualization .
Standard_EXPORT void | Highlight ()
| displays the whole content of the presentation in white.
Standard_EXPORT void | Color (const Quantity_NameOfColor aColor)
| displays the whole content of the presentation in the specified color.
Standard_EXPORT void | BoundBox ()
Standard_EXPORT void | Display ()
| Displays the structure <me> in all the views of the visualiser. .
Standard_EXPORT void | SetShadingAspect (const Handle(Prs3d_ShadingAspect)&aShadingAspect)
Standard_EXPORT Standard_Boolean | IsPickable () const
Standard_EXPORT void | Transform (const Handle(Geom_Transformation)&aTransformation)
Standard_EXPORT void | Place (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z)
Standard_EXPORT void | Multiply (const Handle(Geom_Transformation)&aTransformation)
Standard_EXPORT void | Move (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z)
Standard_EXPORT Handle_Geom_Transformation | Transformation () const
virtual Standard_EXPORT 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.
Standard_EXPORT void | Connect (const Handle(Prs3d_Presentation)&aPresentation)
Standard_EXPORT void | Remove (const Handle(Prs3d_Presentation)&aPresentation)
Standard_EXPORT void | RemoveAll ()
Standard_EXPORT void | SetPickable ()
Standard_EXPORT void | SetUnPickable ()
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Member Functions

Standard_EXPORT Handle_Graphic3d_Group | CurrentGroup () const
Standard_EXPORT Handle_Graphic3d_Group | NewGroup ()

## Private Attributes

Handle_Graphic3d_Structure | myStruct
Handle_Graphic3d_Group | myCurrentGroup

## Constructor & Destructor Documentation

Standard_EXPORT Prs3d_Presentation::Prs3d_Presentation | ( | const Handle(Graphic3d_StructureManager)& | aStructureManager,
|  | const Standard_Boolean | Init = `Standard_True`
| ) |

## Member Function Documentation

Standard_EXPORT void Prs3d_Presentation::BoundBox | ( |  | ) |

virtual Standard_EXPORT void Prs3d_Presentation::Clear | ( | const Standard_Boolean | WithDestruction = `Standard_True` | ) | `[virtual]`

| Reimplemented from Graphic3d_Structure.

Standard_EXPORT void Prs3d_Presentation::Color | ( | const Quantity_NameOfColor | aColor | ) |

virtual Standard_EXPORT 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 Standard_EXPORT void Prs3d_Presentation::Compute | ( | const Handle(Graphic3d_DataStructureManager)& | aProjector,
|  | Handle(Graphic3d_Structure)& | aStructure
| ) | `[virtual]`

| Reimplemented from Graphic3d_Structure. Reimplemented in PrsMgr_Prs.

virtual Standard_EXPORT 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 Standard_EXPORT Handle_Graphic3d_Structure Prs3d_Presentation::Compute | ( | const Handle(Graphic3d_DataStructureManager)& | aProjector | ) | `[virtual]`

| Reimplemented from Graphic3d_Structure. Reimplemented in PrsMgr_Prs.

Standard_EXPORT void Prs3d_Presentation::Connect | ( | const Handle(Prs3d_Presentation)& | aPresentation | ) |

Standard_EXPORT Handle_Graphic3d_Group Prs3d_Presentation::CurrentGroup | ( |  | ) | const`[private]`

Standard_EXPORT void Prs3d_Presentation::Display | ( |  | ) | `[virtual]`

| Reimplemented from Graphic3d_Structure.

Standard_EXPORT const Prs3d_Presentation::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from Graphic3d_Structure. Reimplemented in PrsMgr_Prs, and StdSelect_Prs.

Standard_EXPORT void Prs3d_Presentation::Highlight | ( |  | ) |

Standard_EXPORT Standard_Boolean Prs3d_Presentation::IsPickable | ( |  | ) | const

Standard_EXPORT void Prs3d_Presentation::Move | ( | const Quantity_Length | X,
|  | const Quantity_Length | Y,
|  | const Quantity_Length | Z
| ) |

Standard_EXPORT void Prs3d_Presentation::Multiply | ( | const Handle(Geom_Transformation)& | aTransformation | ) |

Standard_EXPORT Handle_Graphic3d_Group Prs3d_Presentation::NewGroup | ( |  | ) | `[private]`

Standard_EXPORT void Prs3d_Presentation::Place | ( | const Quantity_Length | X,
|  | const Quantity_Length | Y,
|  | const Quantity_Length | Z
| ) |

Standard_EXPORT void Prs3d_Presentation::Remove | ( | const Handle(Prs3d_Presentation)& | aPresentation | ) |

Standard_EXPORT void Prs3d_Presentation::RemoveAll | ( |  | ) |

Standard_EXPORT void Prs3d_Presentation::SetPickable | ( |  | ) |

Standard_EXPORT void Prs3d_Presentation::SetShadingAspect | ( | const Handle(Prs3d_ShadingAspect)& | aShadingAspect | ) |

Standard_EXPORT void Prs3d_Presentation::SetUnPickable | ( |  | ) |

Standard_EXPORT void Prs3d_Presentation::Transform | ( | const Handle(Geom_Transformation)& | aTransformation | ) |

Standard_EXPORT Handle_Geom_Transformation Prs3d_Presentation::Transformation | ( |  | ) | const

## Field Documentation

Handle_Graphic3d_Group Prs3d_Presentation::myCurrentGroup `[private]`

Handle_Graphic3d_Structure Prs3d_Presentation::myStruct `[private]`

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

- Prs3d_Presentation.hxx