cgma
FillNode Class Reference

#include <geometry.hpp>

List of all members.

Public Member Functions

 FillNode ()
 FillNode (int universe_p)
 FillNode (int universe_p, DataRef< Transform > *tr_p)
 FillNode (const FillNode &node_p)
FillNodeoperator= (const FillNode &node_p)
 ~FillNode ()
int getFillingUniverse () const
bool hasTransform () const
const TransformgetTransform () const
void setTransform (DataRef< Transform > *tr_p)

Protected Attributes

int universe
DataRef< Transform > * tr

Detailed Description

A universe and a transformation

Definition at line 144 of file geometry.hpp.


Constructor & Destructor Documentation

FillNode::FillNode ( ) [inline]

Definition at line 151 of file geometry.hpp.

            :
    universe(0), tr(new NullRef<Transform>())
  {}
FillNode::FillNode ( int  universe_p) [inline]

Definition at line 155 of file geometry.hpp.

                            :
    universe(universe_p), tr(new NullRef<Transform>())
  {}
FillNode::FillNode ( int  universe_p,
DataRef< Transform > *  tr_p 
) [inline]

Definition at line 159 of file geometry.hpp.

                                                      :
    universe(universe_p), tr(tr_p)
  {}
FillNode::FillNode ( const FillNode node_p) [inline]

Definition at line 163 of file geometry.hpp.

                                    :
    universe(node_p.universe), tr(node_p.tr->clone())
  {}
FillNode::~FillNode ( ) [inline]

Definition at line 175 of file geometry.hpp.

             {
    delete tr;
  }

Member Function Documentation

int FillNode::getFillingUniverse ( ) const [inline]

Definition at line 179 of file geometry.hpp.

{ return universe; }
const Transform& FillNode::getTransform ( ) const [inline]

Definition at line 182 of file geometry.hpp.

{ return tr->getData(); }
bool FillNode::hasTransform ( ) const [inline]

Definition at line 181 of file geometry.hpp.

{ return tr->hasData();}
FillNode& FillNode::operator= ( const FillNode node_p) [inline]

Definition at line 167 of file geometry.hpp.

                                               {
    if( this != &node_p ){
      universe = node_p.universe;
      tr = node_p.tr->clone();
    }
    return *this;
  }
void FillNode::setTransform ( DataRef< Transform > *  tr_p) [inline]

Definition at line 184 of file geometry.hpp.

                                               {
    delete tr;
    tr = tr_p;
  }

Member Data Documentation

Definition at line 148 of file geometry.hpp.

int FillNode::universe [protected]

Definition at line 147 of file geometry.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines