NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
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 ()
 
virtual void onEveryRender ()
 

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 39 of file cxFiberBundleRep.h.

Constructor & Destructor Documentation

◆ ~FiberBundleRep()

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

Definition at line 45 of file cxFiberBundleRep.h.

◆ FiberBundleRep()

cx::FiberBundleRep::FiberBundleRep ( )
protected

Constructor

Definition at line 32 of file cxFiberBundleRep.cpp.

Member Function Documentation

◆ addRepActorsToViewRenderer()

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

Adds rep assigned actors to the active renderer

Implements cx::RepImpl.

Definition at line 91 of file cxFiberBundleRep.cpp.

◆ getBundle()

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

Return currently assigned fiber bundle

Definition at line 54 of file cxFiberBundleRep.h.

◆ getType()

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

Return rep type description

Return type as string

Implements cx::RepImpl.

Definition at line 55 of file cxFiberBundleRep.cpp.

◆ hasBundle()

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

Definition at line 52 of file cxFiberBundleRep.h.

◆ New()

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

Creates a new smart pointer object of this rep

Definition at line 49 of file cxFiberBundleRep.cpp.

◆ removeRepActorsFromViewRenderer()

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

Removes rep assigned actors from the rendering pipeline

Implements cx::RepImpl.

Definition at line 102 of file cxFiberBundleRep.cpp.

◆ setBundle()

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

Assign a fiber bundle

Assign new fiber bundle object

Definition at line 63 of file cxFiberBundleRep.cpp.


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