CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::FiberBundleRep Class Reference

Display a DTI Fiber bundle (fiber tracks) in 3D. More...

#include <cxFiberBundleRep.h>

Inheritance diagram for cx::FiberBundleRep:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~FiberBundleRep ()
 
virtual QString getType () const
 
virtual void setBundle (MeshPtr bundle)
 
virtual bool hasBundle (MeshPtr bundle) const
 
virtual MeshPtr getBundle ()
 
- Public Member Functions inherited from cx::RepImpl
 RepImpl (const QString &uid="", const QString &name="")
 
virtual ~RepImpl ()
 
virtual void connectToView (ViewPtr theView)
 
virtual void disconnectFromView (ViewPtr theView)
 
virtual bool isConnectedToView (ViewPtr theView) const
 
void setName (QString name)
 
QString getName () const
 
QString getUid () const
 
virtual void printSelf (std::ostream &os, Indent indent)
 
- Public Member Functions inherited from cx::Rep
virtual ~Rep ()
 

Static Public Member Functions

static FiberBundleRepPtr New (const QString &uid="")
 
- Static Public Member Functions inherited from cx::RepImpl
template<class REP >
static boost::shared_ptr< REP > wrap_new (REP *object, QString uid)
 

Protected Member Functions

 FiberBundleRep ()
 
virtual void addRepActorsToViewRenderer (ViewPtr view)
 
virtual void removeRepActorsFromViewRenderer (ViewPtr view)
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onModifiedStartRender ()
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Display a DTI Fiber bundle (fiber tracks) in 3D.

FiberBundleRep displays a DTI fiber bundle using the supplied graphical representation from the FiberBundle interface. Used by Sonowand.

Definition at line 60 of file cxFiberBundleRep.h.

Constructor & Destructor Documentation

virtual cx::FiberBundleRep::~FiberBundleRep ( )
inlinevirtual

Definition at line 66 of file cxFiberBundleRep.h.

cx::FiberBundleRep::FiberBundleRep ( )
protected

Constructor

Definition at line 53 of file cxFiberBundleRep.cpp.

Member Function Documentation

void cx::FiberBundleRep::addRepActorsToViewRenderer ( ViewPtr  view)
protectedvirtual

Adds rep assigned actors to the active renderer

Implements cx::RepImpl.

Definition at line 112 of file cxFiberBundleRep.cpp.

virtual MeshPtr cx::FiberBundleRep::getBundle ( )
inlinevirtual

Return currently assigned fiber bundle

Definition at line 75 of file cxFiberBundleRep.h.

QString cx::FiberBundleRep::getType ( ) const
virtual

Return rep type description

Return type as string

Implements cx::RepImpl.

Definition at line 76 of file cxFiberBundleRep.cpp.

virtual bool cx::FiberBundleRep::hasBundle ( MeshPtr  bundle) const
inlinevirtual

Definition at line 73 of file cxFiberBundleRep.h.

FiberBundleRepPtr cx::FiberBundleRep::New ( const QString &  uid = "")
static

Creates a new smart pointer object of this rep

Definition at line 70 of file cxFiberBundleRep.cpp.

void cx::FiberBundleRep::removeRepActorsFromViewRenderer ( ViewPtr  view)
protectedvirtual

Removes rep assigned actors from the rendering pipeline

Implements cx::RepImpl.

Definition at line 123 of file cxFiberBundleRep.cpp.

void cx::FiberBundleRep::setBundle ( MeshPtr  bundle)
virtual

Assign a fiber bundle

Assign new fiber bundle object

Definition at line 84 of file cxFiberBundleRep.cpp.


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