boxSurfaceObserver Class Reference

#include <boxSurfaceObserver.h>

List of all members.

Public Member Functions

 boxSurfaceObserver ()
virtual char const * GetClassName () const
virtual void Execute (vtkObject *wdg, unsigned long eventId, void *calldata)
void SetPlanes (vtkPlanes *planes)
void SetActor (vtkProp *actor)
void SetvtkVolumeRayCastMapper (vtkVolumeRayCastMapper *vtkvolumeraycastmapper)

Static Public Member Functions

static
boxSurfaceObserver
New ()

Public Attributes

vtkPlanes * _planes
vtkProp * _actor
vtkVolumeRayCastMapper * _vtkVolumeRayCastMapper


Detailed Description

Definition at line 12 of file boxSurfaceObserver.h.


Constructor & Destructor Documentation

boxSurfaceObserver::boxSurfaceObserver (  )  [inline]

Definition at line 19 of file boxSurfaceObserver.h.

References _vtkVolumeRayCastMapper.

Referenced by New().

00020                 {  
00021                         _vtkVolumeRayCastMapper = NULL;
00022                 }

Here is the caller graph for this function:


Member Function Documentation

virtual char const* boxSurfaceObserver::GetClassName (  )  const [inline, virtual]

Definition at line 24 of file boxSurfaceObserver.h.

00024 { return "boxSurfaceObserver";}

static boxSurfaceObserver* boxSurfaceObserver::New (  )  [inline, static]

Definition at line 26 of file boxSurfaceObserver.h.

References boxSurfaceObserver().

Referenced by vtkClipping3DDataViewer::Configure_Tissue(), and vtkClipping3DDataViewer::Configure_Volume().

00026                                                 {
00027                                 boxSurfaceObserver * result;
00028                                 result = new boxSurfaceObserver();
00029                         return result;
00030                 }

Here is the call graph for this function:

Here is the caller graph for this function:

void boxSurfaceObserver::Execute ( vtkObject *  wdg,
unsigned long  eventId,
void *  calldata 
) [virtual]

Definition at line 5 of file boxSurfaceObserver.cxx.

References _planes, and _vtkVolumeRayCastMapper.

00005                                                                                       {  // virtual
00006         vtkBoxWidget *boxwidget = reinterpret_cast<vtkBoxWidget*>(wdg);
00007         boxwidget->GetPlanes(_planes);
00008 
00009         if ( _vtkVolumeRayCastMapper != NULL )
00010         {
00011                 _vtkVolumeRayCastMapper->RemoveAllClippingPlanes();
00012 //              vtkPlanes *planes = vtkPlanes::New();
00013 //              boxwidget->GetPlanes(planes);
00014 //              _vtkVolumeRayCastMapper->SetClippingPlanes(planes);
00015                 _vtkVolumeRayCastMapper->SetClippingPlanes(_planes);
00016         }
00017 
00018 //      _actor->VisibilityOn();
00019 
00020 }

void boxSurfaceObserver::SetPlanes ( vtkPlanes *  planes  ) 

Definition at line 22 of file boxSurfaceObserver.cxx.

References _planes.

Referenced by vtkClipping3DDataViewer::Configure_Tissue(), and vtkClipping3DDataViewer::Configure_Volume().

00022                                                    {
00023         _planes = planes;
00024 }

Here is the caller graph for this function:

void boxSurfaceObserver::SetActor ( vtkProp *  actor  ) 

Definition at line 26 of file boxSurfaceObserver.cxx.

References _actor.

Referenced by vtkClipping3DDataViewer::Configure_Tissue(), and vtkClipping3DDataViewer::Configure_Volume().

00026                                                {
00027         _actor = actor;
00028 }

Here is the caller graph for this function:

void boxSurfaceObserver::SetvtkVolumeRayCastMapper ( vtkVolumeRayCastMapper *  vtkvolumeraycastmapper  ) 

Definition at line 31 of file boxSurfaceObserver.cxx.

References _vtkVolumeRayCastMapper.

Referenced by vtkClipping3DDataViewer::Configure_Volume().

00032 {
00033         _vtkVolumeRayCastMapper = vtkvolumeraycastmapper;
00034 }

Here is the caller graph for this function:


Member Data Documentation

vtkPlanes* boxSurfaceObserver::_planes

Definition at line 15 of file boxSurfaceObserver.h.

Referenced by Execute(), and SetPlanes().

vtkProp* boxSurfaceObserver::_actor

Definition at line 16 of file boxSurfaceObserver.h.

Referenced by SetActor().

vtkVolumeRayCastMapper* boxSurfaceObserver::_vtkVolumeRayCastMapper

Definition at line 17 of file boxSurfaceObserver.h.

Referenced by boxSurfaceObserver(), Execute(), and SetvtkVolumeRayCastMapper().


The documentation for this class was generated from the following files:
Generated on Wed Jul 29 16:35:41 2009 for creaMaracasVisu_lib by  doxygen 1.5.3