#include <SGNode.h>
Inheritance diagram for SGNode:

Public Methods | |
| virtual DAGNode * | CreateObject () const |
| SGNode (String szId, int nType) | |
| Constructor from data. | |
| virtual void | ComputeDerivedValues () |
| void | ComputeSpeeds () |
| Compute speeds very roughly as consecutive differences. | |
| virtual void | Clear () |
| Initializes the contents of the object to their original values. | |
| virtual DAGNode & | operator= (const DAGNode &rhs) |
| Extends the behaviour of the same function in the base class. | |
| virtual void | Print (ostream &os=cout) const |
| Extends the behaviour of the same function in the base class. | |
| virtual istream & | Read (istream &is) |
| Extends the behaviour of the same function in the base class. | |
| virtual ostream & | Write (ostream &os) const |
| Extends the behaviour of the same function in the base class. | |
| virtual NODE_LABEL | GetLblForGraph () const |
| Returns the label that will be displayed in the graph. | |
| virtual leda_color | GetColorForGraph () const |
| Returns the color that will be displayed in the graph. | |
| virtual int | GetShapeForGraph () const |
| Returns the shape for the node in the graph. | |
Public Attributes | |
| int | m_nType |
| Shock branch type (1, 2, 3, 4). | |
| char | m_cEndPt |
| Whether is 3a, 3b, and so on (vals: 0, 'a', 'b'). | |
| double | m_seg2 |
| Contour segment's lengths. | |
| String | m_strBranchId |
| Id to distinguish from others of this kind. | |
| ShockBranch | m_shocks |
| array of shocks that belong to the branch (branch points). | |
Definition at line 222 of file SGNode.h.
|
|
Computes the node's TSV norm considering that the TSV includes the eigenvalue of the node too. Reimplemented from DAGNode. Definition at line 160 of file SGNode.cpp. References DAGNode::ComputeDerivedValues(), and m_shocks. Referenced by ShockGraph::GroupShockPoints(), and ShockGraph::Insert4sAnd2s(). |
|
|
Creates a new SGNode with a copy of the information conatines in 'this'. This functions is required by SmartPtr<DAGNode*>::operator[]. Implements DAGNode. Definition at line 93 of file SGNode.cpp. References SGNode(). |
|
|
Returns the shape for the node in the graph. See graphwin.h line #160 for the 'enum' node shape options. Reimplemented from DAGNode. Definition at line 265 of file SGNode.cpp. |
1.2.18