
Public Member Functions | |
| TWFConnectionList () | |
| void | Clear () |
| int32 | GetConnectionsCount () const |
| const TWFConnection & | GetConnectionRef (int32 inConnectionIndex) const |
| void | PreAllocateConnections (int32 inConnectionsCount) |
| void | AddConnection (const TWFConnection &cnx) |
| void | AddConnection (const TVector3 &from, const TVector3 &to) |
| void | AllocateConnections (int32 inConnectionsCount) |
| TWFConnection & | GetConnectionRef (int32 inConnectionIndex) |
| void | SetIsSelectable (boolean inSelectable) |
| boolean | GetIsSelectable () const |
Protected Attributes | |
| TMCArray< TWFConnection > | fConnections |
| boolean | fIsSelectable |
Friends | |
| class | TCachedWFConnectionList |
| TWFConnectionList::TWFConnectionList | ( | ) | [inline] |
| void TWFConnectionList::Clear | ( | ) | [inline] |
Reimplemented from TWFPointList.
| int32 TWFConnectionList::GetConnectionsCount | ( | ) | const [inline] |
Get the number of connections in this connections list
| const TWFConnection& TWFConnectionList::GetConnectionRef | ( | int32 | inConnectionIndex | ) | const [inline] |
Get a connection from the list
| inConnectionIndex | The connection's index |
| void TWFConnectionList::PreAllocateConnections | ( | int32 | inConnectionsCount | ) | [inline] |
Prepare space for connections in this list. After that you can use AddConnection.
| inConnectionsCount | The number of points there will be here. |
| void TWFConnectionList::AddConnection | ( | const TWFConnection & | cnx | ) | [inline] |
Add a connection in the list. You can call PreAllocatePoints before adding points, but you don't have to.
| cnx | The connexion to add. |
Add a connection in the list. You can call PreAllocatePoints before adding points, but you don't have to.
| from | The start point of the connection. | |
| to | The end point of the connection. |
| void TWFConnectionList::AllocateConnections | ( | int32 | inConnectionsCount | ) | [inline] |
Create a list with a special number of connections. To access to the connections use GetPointRef.
| inConnectionsCount | The number of connections. |
| TWFConnection& TWFConnectionList::GetConnectionRef | ( | int32 | inConnectionIndex | ) | [inline] |
Get a reference to a connection in the list.
| inConnectionIndex | The connection's index. |
| void TWFConnectionList::SetIsSelectable | ( | boolean | inSelectable | ) | [inline] |
| boolean TWFConnectionList::GetIsSelectable | ( | ) | const [inline] |
friend class TCachedWFConnectionList [friend] |
TMCArray<TWFConnection> TWFConnectionList::fConnections [protected] |
boolean TWFConnectionList::fIsSelectable [protected] |
1.5.3