CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

DDExpandedNode Class Reference

represents one node in the DDExpandedView More...

#include <DDExpandedNode.h>

List of all members.

Public Member Functions

const DDRotationMatrixabsRotation () const
 absolute rotation of this node
const DDTranslationabsTranslation () const
 absolute translation of this node
int copyno () const
 copy number of this node
 DDExpandedNode (const DDLogicalPart &lp, DDPosData *pd, const DDTranslation &t, const DDRotationMatrix &r, int siblingno)
const DDLogicalPartlogicalPart () const
 the LogicalPart describing this node
bool operator== (const DDExpandedNode &n) const
const DDPosDataposdata () const
int siblingno () const
 sibling number of this node
 ~DDExpandedNode ()

Private Attributes

DDLogicalPart logp_
DDPosDataposd_
DDRotationMatrix rot_
int siblingno_
DDTranslation trans_

Friends

class DDExpandedView

Detailed Description

represents one node in the DDExpandedView

Definition at line 14 of file DDExpandedNode.h.


Constructor & Destructor Documentation

DDExpandedNode::DDExpandedNode ( const DDLogicalPart lp,
DDPosData pd,
const DDTranslation t,
const DDRotationMatrix r,
int  siblingno 
)

Definition at line 4 of file DDExpandedNode.cc.

 : logp_(lp), posd_(pd), trans_(t), rot_(r), siblingno_(siblingno)
{ }
DDExpandedNode::~DDExpandedNode ( )

Definition at line 13 of file DDExpandedNode.cc.

{ }   

Member Function Documentation

const DDRotationMatrix& DDExpandedNode::absRotation ( ) const [inline]

absolute rotation of this node

Definition at line 39 of file DDExpandedNode.h.

References rot_.

Referenced by CocoaAnalyzer::ReadXMLFile().

{ return rot_; }
const DDTranslation& DDExpandedNode::absTranslation ( ) const [inline]

absolute translation of this node

Definition at line 35 of file DDExpandedNode.h.

References trans_.

Referenced by DDExpandedNodeLess::operator()(), and CocoaAnalyzer::ReadXMLFile().

{ return trans_; }
int DDExpandedNode::copyno ( void  ) const

copy number of this node

Definition at line 24 of file DDExpandedNode.cc.

References DDPosData::copyno_, and posd_.

Referenced by operator<<().

{ 
  return posd_->copyno_; 
}
const DDLogicalPart& DDExpandedNode::logicalPart ( ) const [inline]

the LogicalPart describing this node

Definition at line 31 of file DDExpandedNode.h.

References logp_.

Referenced by DDExpandedNodeLess::operator()(), and operator<<().

{ return logp_; }
bool DDExpandedNode::operator== ( const DDExpandedNode n) const

Definition at line 17 of file DDExpandedNode.cc.

References DDPosData::copyno_, logp_, and posd_.

                                                              {
  return ( (logp_==n.logp_) && 
           (posd_->copyno_ == n.posd_->copyno_) ); 
  
}                                        
const DDPosData* DDExpandedNode::posdata ( ) const [inline]

Definition at line 48 of file DDExpandedNode.h.

References posd_.

{ return posd_; }
int DDExpandedNode::siblingno ( ) const [inline]

sibling number of this node

Definition at line 45 of file DDExpandedNode.h.

References siblingno_.

Referenced by DDExpandedNodeLess::operator()().

{ return siblingno_; }  

Friends And Related Function Documentation

friend class DDExpandedView [friend]

Definition at line 16 of file DDExpandedNode.h.


Member Data Documentation

Definition at line 51 of file DDExpandedNode.h.

Referenced by logicalPart(), and operator==().

Definition at line 52 of file DDExpandedNode.h.

Referenced by copyno(), operator==(), and posdata().

Definition at line 54 of file DDExpandedNode.h.

Referenced by absRotation(), and DDExpandedView::nextSibling().

Definition at line 55 of file DDExpandedNode.h.

Referenced by siblingno().

Definition at line 53 of file DDExpandedNode.h.

Referenced by absTranslation(), and DDExpandedView::nextSibling().