Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Visual3d_ContextPick Class Reference

This class allows the creation and update of
a pick context for one view of the viewer.
A context allows the control of different parameters
before the activation of a pick.

More...

#include <Visual3d_ContextPick.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC Visual3d_ContextPick ()
 Creates a context from default values

Aperture : 4.0
Depth : 10
Order : TOO_TOPFIRST

 Visual3d_ContextPick (const Standard_Real Aperture, const Standard_Integer Depth, const Visual3d_TypeOfOrder Order)
 Creates a context with the values defined
Warning: Raises ContextPickDefinitionError if <Depth> or
<Aperture> is a negative value.

void SetAperture (const Standard_Real Aperture)
 Modifies the size of the pick window.
Category: Methods to modifies the class definition
Warning: Raises ContextPickDefinitionError if <Aperture> is
a negative value.

void SetDepth (const Standard_Integer Depth)
 Modifies the pick depth a priori.
Category: Methods to modifies the class definition
Warning: Raises ContextPickDefinitionError if <Depth> is
a negative value.

void SetOrder (const Visual3d_TypeOfOrder Order)
 Modifies the order of picking.

TypeOfOrder : TOO_TOPFIRST
TOO_BOTTOMFIRST


Standard_Real Aperture () const
 Returns the size of the pick window <me>.

Standard_Integer Depth () const
 Returns the effective pick depth of <me>.

Visual3d_TypeOfOrder Order () const
 Returns the order of picking of <me>.

TypeOfOrder : TOO_TOPFIRST
TOO_BOTTOMFIRST



Detailed Description


Constructor & Destructor Documentation


Member Function Documentation


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