Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
PbBase Class Reference

MeshViz Abstract class for all basic objects. More...

#include <MeshViz/graph/PbBase.h>

+ Inheritance diagram for PbBase:

Public Member Functions

void enableConnection (SbBool flag)
 Activates/deactivates the mechanism of connection.
 
SbBool isConnectionEnabled () const
 Returns TRUE if the connection mechanism is active, otherwise FALSE.
 
void touch ()
 Simulates the changing of an instance of this object, so all connected objects are informed of this change.
 
PbBaseoperator= (const PbBase &base)
 Assignment operator.
 

Detailed Description

MeshViz Abstract class for all basic objects.

Abstract class for all basic objects. This class handles a connection mechanism with PoBase objects. Each instance of this class maintains a list of PoBase objects. So when an instance of this class is modified, the list of PoBase objects is informed of this change, and thus, they can update themselves. For more information about the connection mechanism, see the section "Connection mechanism" of the paragraph "What you must know" of the reference manual. The constructor per copy and the assignment operator of any Pbxxx object do not copy the reference to Poxxx objects. This restriction prevents several Pbxxx objects (of the same class) from referencing the same Poxxx object.

Definition at line 49 of file PbBase.h.

Member Function Documentation

◆ enableConnection()

void PbBase::enableConnection ( SbBool  flag)
inline

Activates/deactivates the mechanism of connection.

If the mechanism is deactivated, the list of connected objects does not change, but the connected objects are not informed of any change.

Definition at line 58 of file PbBase.h.

◆ isConnectionEnabled()

SbBool PbBase::isConnectionEnabled ( ) const
inline

Returns TRUE if the connection mechanism is active, otherwise FALSE.

Definition at line 64 of file PbBase.h.

◆ operator=()

PbBase & PbBase::operator= ( const PbBase base)

Assignment operator.

◆ touch()

void PbBase::touch ( )

Simulates the changing of an instance of this object, so all connected objects are informed of this change.


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