OCC Main Page | Visualization | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Visualization
TKV3d
StdSelect


StdSelect_Shape Class Reference

Presentable shape only for purpose of display for BRepOwner...
.

#include <StdSelect_Shape.hxx>

Inheritance diagram for StdSelect_Shape:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT StdSelect_Shape (const TopoDS_Shape &Sh)
Standard_EXPORT void Compute (const Handle(PrsMgr_PresentationManager3d)&aPresentationManager, const Handle(Prs3d_Presentation)&aPresentation, const Standard_Integer aMode=0)
 Calculates the 3D view aPresentation and its
updates. The latter are managed by aPresentationManager.
aPresentableObject has the display mode aMode;
this has the default value of 0, that is, the wireframe display mode.
.
virtual Standard_EXPORT void Compute (const Handle(Prs3d_Projector)&aProjector, const Handle(Geom_Transformation)&aTrsf, const Handle(Prs3d_Presentation)&aPresentation)
 computes the presentation according to a point of view
given by <aprojector>.
To be Used when the associated degenerated Presentations
have been transformed by <atrsf> which is not a Pure
Translation. The HLR Prs can't be deducted automatically
WARNING :<atrsf> must be applied
to the object to display before computation !!!

const TopoDS_Shape & Shape () const
void Shape (const TopoDS_Shape &sh)
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Member Functions

Standard_EXPORT void Compute (const Handle(Prs3d_Projector)&aProjector, const Handle(Prs3d_Presentation)&aPresentation)
 Calculates the 3D view aPresentation and its
updates. The latter are managed by
aPresentationManager. Each of the views in the
viewer and every modification such as rotation, for
example, entails recalculation.
It must be redefined to implement hidden line removal
for the object. The user never calls this method
himself. This is done via the InteractiveContext object
and is dependent on the point of view from which the
object is displayed.
.
Standard_EXPORT void Compute (const Handle(PrsMgr_PresentationManager2d)&aPresentationManager, const Handle(Graphic2d_GraphicObject)&aPresentation, const Standard_Integer aMode=0)
 Calculates the 2D view aPresentation and its
updates. The latter are managed by aPresentationManager.
aPresentableObject has the display mode aMode;
this has the default value of 0, that is, the wireframe display mode.
Note that this syntax is not used in AIS as that
package only concerns 3D display.
.

Private Attributes

TopoDS_Shape mysh

Constructor & Destructor Documentation

Standard_EXPORT StdSelect_Shape::StdSelect_Shape const TopoDS_Shape &  Sh  ) 
 


Member Function Documentation

Standard_EXPORT void StdSelect_Shape::Compute const Handle(PrsMgr_PresentationManager2d)&  aPresentationManager,
const Handle(Graphic2d_GraphicObject)&  aPresentation,
const Standard_Integer  aMode = 0
[private, virtual]
 

Reimplemented from PrsMgr_PresentableObject.

Standard_EXPORT void StdSelect_Shape::Compute const Handle(Prs3d_Projector)&  aProjector,
const Handle(Prs3d_Presentation)&  aPresentation
[private, virtual]
 

Reimplemented from PrsMgr_PresentableObject.

virtual Standard_EXPORT void StdSelect_Shape::Compute const Handle(Prs3d_Projector)&  aProjector,
const Handle(Geom_Transformation)&  aTrsf,
const Handle(Prs3d_Presentation)&  aPresentation
[virtual]
 

Reimplemented from PrsMgr_PresentableObject.

Standard_EXPORT void StdSelect_Shape::Compute const Handle(PrsMgr_PresentationManager3d)&  aPresentationManager,
const Handle(Prs3d_Presentation)&  aPresentation,
const Standard_Integer  aMode = 0
[virtual]
 

Reimplemented from PrsMgr_PresentableObject.

Standard_EXPORT const StdSelect_Shape::Handle Standard_Type   )  const
 

Reimplemented from PrsMgr_PresentableObject.

void StdSelect_Shape::Shape const TopoDS_Shape &  sh  ) 
 

const TopoDS_Shape& StdSelect_Shape::Shape  )  const
 


Field Documentation

TopoDS_Shape StdSelect_Shape::mysh [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:56:21 2008 for OpenCASCADE by  doxygen 1.4.1