|
| Graphic3d_Layer (Graphic3d_ZLayerId theId, Standard_Integer theNbPriorities, const Handle< Select3D_BVHBuilder3d > &theBuilder) |
| Initializes associated priority list and layer properties. More...
|
|
virtual | ~Graphic3d_Layer () |
| Destructor. More...
|
|
Graphic3d_ZLayerId | LayerId () const |
| Return layer id. 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 Graphic3d_CStructure *theStruct, Standard_Integer thePriority, Standard_Boolean isForChangePriority=Standard_False) |
|
bool | Remove (const Graphic3d_CStructure *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 | NbStructuresNotCulled () const |
| Number of NOT culled structures in the layer. More...
|
|
Standard_Integer | NbPriorities () const |
| Returns the number of available priority levels. More...
|
|
Standard_Boolean | Append (const Graphic3d_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 Graphic3d_ArrayOfIndexedMapOfStructure & | ArrayOfStructures () const |
| Returns array of structures. More...
|
|
void | InvalidateBVHData () |
| 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 (Standard_Integer theViewId, const Handle< Graphic3d_Camera > &theCamera, Standard_Integer theWindowWidth, Standard_Integer theWindowHeight, Standard_Boolean theToIncludeAuxiliary) const |
| Returns layer bounding box. More...
|
|
Standard_Real | considerZoomPersistenceObjects (Standard_Integer theViewId, const Handle< Graphic3d_Camera > &theCamera, Standard_Integer theWindowWidth, Standard_Integer theWindowHeight) const |
| Returns zoom-scale factor. More...
|
|
void | UpdateCulling (Standard_Integer theViewId, const Graphic3d_CullingTool &theSelector, const Graphic3d_RenderingParams::FrustumCulling theFrustumCullingState) |
| Update culling state - should be called before rendering. Traverses through BVH tree to determine which structures are in view volume. More...
|
|
bool | IsCulled () const |
| Returns TRUE if layer is empty or has been discarded entirely by culling test. More...
|
|
Standard_Integer | NbOfTransformPersistenceObjects () const |
| Returns number of transform persistence objects. More...
|
|
const Graphic3d_BvhCStructureSet & | CullableStructuresBVH () const |
| Returns set of Graphic3d_CStructures structures for building BVH tree. More...
|
|
const Graphic3d_BvhCStructureSetTrsfPers & | CullableTrsfPersStructuresBVH () const |
| Returns set of transform persistent Graphic3d_CStructures for building BVH tree. More...
|
|
const NCollection_IndexedMap< const Graphic3d_CStructure * > & | NonCullableStructures () const |
| Returns indexed map of always rendered structures. More...
|
|
void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const |
| Dumps the content of me into the stream. 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.