|
| OpenGl_Layer (const Standard_Integer theNbPriorities, const Handle< Select3D_BVHBuilder3d > &theBuilder) |
| Initializes associated priority list and layer properties. More...
|
|
virtual | ~OpenGl_Layer () |
| Destructor. More...
|
|
const Handle< Select3D_BVHBuilder3d > & | FrustumCullingBVHBuilder () const |
| Returns BVH tree builder for frustom culling. More...
|
|
void | SetFrustumCullingBVHBuilder (const Handle< Select3D_BVHBuilder3d > &theBuilder) |
| Assigns BVH tree builder for frustom culling. More...
|
|
Standard_Boolean | IsImmediate () const |
| Return true if layer was marked with immediate flag. More...
|
|
const Graphic3d_ZLayerSettings & | LayerSettings () const |
| Returns settings of the layer object. More...
|
|
void | SetLayerSettings (const Graphic3d_ZLayerSettings &theSettings) |
| Sets settings of the layer object. More...
|
|
void | Add (const OpenGl_Structure *theStruct, const Standard_Integer thePriority, Standard_Boolean isForChangePriority=Standard_False) |
|
bool | Remove (const OpenGl_Structure *theStruct, Standard_Integer &thePriority, Standard_Boolean isForChangePriority=Standard_False) |
| Remove structure and returns its priority, if the structure is not found, method returns negative value. More...
|
|
Standard_Integer | NbStructures () const |
|
Standard_Integer | NbPriorities () const |
| Returns the number of available priority levels. More...
|
|
Standard_Boolean | Append (const OpenGl_Layer &theOther) |
| Append layer of acceptable type (with similar number of priorities or less). Returns Standard_False if the list can not be accepted. More...
|
|
const OpenGl_ArrayOfIndexedMapOfStructure & | ArrayOfStructures () const |
| Returns array of OpenGL structures. More...
|
|
void | InvalidateBVHData () const |
| Marks BVH tree for given priority list as dirty and marks primitive set for rebuild. More...
|
|
void | InvalidateBoundingBox () const |
| Marks cached bounding box as obsolete. More...
|
|
Bnd_Box | BoundingBox (const Standard_Integer theViewId, const Handle< Graphic3d_Camera > &theCamera, const Standard_Integer theWindowWidth, const Standard_Integer theWindowHeight, const Standard_Boolean theToIncludeAuxiliary) const |
| Returns layer bounding box. More...
|
|
Standard_Real | considerZoomPersistenceObjects (const Standard_Integer theViewId, const Handle< Graphic3d_Camera > &theCamera, const Standard_Integer theWindowWidth, const Standard_Integer theWindowHeight) const |
| Returns zoom-scale factor. More...
|
|
void | Render (const Handle< OpenGl_Workspace > &theWorkspace, const OpenGl_GlobalLayerSettings &theDefaultSettings) const |
|
Standard_Integer | NbOfTransformPersistenceObjects () const |
| Returns number of transform persistence objects. More...
|
|
Public Member Functions inherited from Standard_Transient |
| Standard_Transient () |
| Empty constructor. More...
|
|
| Standard_Transient (const Standard_Transient &) |
| Copy constructor – does nothing. More...
|
|
Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More...
|
|
virtual | ~Standard_Transient () |
| Destructor must be virtual. More...
|
|
virtual void | Delete () const |
| Memory deallocator for transient classes. More...
|
|
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| Returns a type descriptor about this object. More...
|
|
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| Returns a true value if this is an instance of Type. More...
|
|
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More...
|
|
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Transient * | This () const |
| Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
|
|
Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More...
|
|
void | IncrementRefCounter () const |
| Increments the reference counter of this object. More...
|
|
Standard_Integer | DecrementRefCounter () const |
| Decrements the reference counter of this object; returns the decremented value. More...
|
|
Presentations list sorted within priorities.