Developer documentation | Axl-2.5.1

axlAbstractView Class Reference

#include <axlAbstractView.h>

Inheritance diagram for axlAbstractView:
axlViewDefault axlVtkView

Public Slots

void onStateChanged (dtkAbstractData *data, int mode)
 
void showColorMapping (dtkAbstractData *data)
 
void onShaderChanged (dtkAbstractData *data, QString isophoteShaderXml)
 
void onControlPointChanged (dtkAbstractData *data)
 
void onTubeFilterRadiusChanged (dtkAbstractData *data, double radius)
 
void processIsophoteByShader (dtkAbstractData *data, QString isophoteShaderXml)
 
void dataChangedByGeometry (dtkAbstractData *data)
 
void dataChangedByProperty (dtkAbstractData *data, int channel)
 Modify the right property, which is defined by the channel number : More...
 
void dataChangedByOpacity (dtkAbstractData *data, double opacity)
 
void dataChangedBySize (dtkAbstractData *data, double size)
 
void dataChangedByColor (dtkAbstractData *data, double red, double green, double blue)
 
void onActorVisibilityChanged (dtkAbstractData *data, bool actorVisibility)
 
void ondataSetRemoved (QList< dtkAbstractData * > dataSetToRemoved)
 
void onLightPositionChanged (double x, double y, double z)
 
void onGridResolutionChanged (int resolution)
 
virtual void onUpdateActorField (QList< axlAbstractData * > axlDataSet, QString fieldName)
 
void onInterpolationChanded (dtkAbstractData *data, int interpolation)
 
virtual void onShowAxis (bool show)
 
virtual void onBackgroundGradientChange (bool gradient)
 
virtual void setWorldCamera (void)
 
virtual void setObjectCamera (void)
 
virtual void setTrackballInteractor (void)
 
virtual void setJoystickInteractor (void)
 
virtual double * getBackgroundColor (void)
 

Signals

void inserted (void)
 
void stateChanged (dtkAbstractData *data, int mode)
 
void lightPositionChanged (double x, double y, double z)
 
void insertData (axlAbstractData *data)
 

Public Member Functions

 axlAbstractView (void)
 
virtual ~axlAbstractView (void)
 
virtual axlAbstractActorinsert (axlAbstractData *data)
 
virtual QList< axlAbstractActor * > insertSet (QList< axlAbstractData * > dataSet)
 
virtual void removeSet (QList< axlAbstractActor * > actorSet)
 
virtual void removeSetFields (QList< axlAbstractActorField * > actorSet)
 
virtual axlAbstractActoractor (dtkAbstractData *data)
 
virtual void insert (dtkAbstractData *data, axlAbstractActor *actor)
 
virtual void removeData (dtkAbstractData *data)
 
virtual void removeField (dtkAbstractData *data)
 
virtual void activeDefaultLigh (bool useDefaultLight)
 
virtual void setLight (int i, bool hide, double *position, double *ambiant, double *diffuse, double *specular, int exponent)
 
virtual int size (void)
 
virtual QString description (void) const
 
axlViewControllercontroller (void)
 
virtual void setCameraViewDefaut (void)
 
virtual void setCameraViewNegativeX (void)
 
virtual void setCameraViewPositiveX (void)
 
virtual void setCameraViewNegativeY (void)
 
virtual void setCameraViewPositiveY (void)
 
virtual void setCameraViewNegativeZ (void)
 
virtual void setCameraViewPositiveZ (void)
 
virtual void setParallelCamera (bool parallel)
 
virtual void setCameraPosition (double x, double y, double z)
 
virtual double * getCameraFocalPoint (void)
 
virtual void setCameraFocalPoint (double x, double y, double z)
 
virtual double * getCameraUp (void)
 
virtual void setCameraUp (double x, double y, double z)
 
virtual double getCameraViewAngle (void)
 
virtual void setCameraViewAngle (double angle)
 
virtual double * getWorldCameraPosition (void)
 
virtual bool getAxesVisibility (void)
 
virtual bool getParallelProjection (void)
 
virtual bool getBackgroundGradient (void)
 
virtual void setParallelScale (double parallelScale)
 
virtual double getParallelScale (void)
 
virtual void setGrid (bool isGridX, bool isGridY, bool isGridZ)
 
dtkAbstractViewFactory * getSingletonFactory (void)
 
virtual void update (void)
 
virtual void add (dtkAbstractData *data)
 Use view as input to open a data in axel. More...
 
virtual void updateFieldActor (dtkAbstractData *data)
 Use view as input to update fields actors on a data. More...
 

Detailed Description

Definition at line 40 of file axlAbstractView.h.

Constructor & Destructor Documentation

axlAbstractView::axlAbstractView ( void  )

Definition at line 38 of file axlAbstractView.cpp.

axlAbstractView::~axlAbstractView ( void  )
virtual

Definition at line 45 of file axlAbstractView.cpp.

Member Function Documentation

void axlAbstractView::activeDefaultLigh ( bool  useDefaultLight)
virtual

Reimplemented in axlVtkView.

Definition at line 87 of file axlAbstractView.cpp.

axlAbstractActor * axlAbstractView::actor ( dtkAbstractData *  data)
virtual

Definition at line 107 of file axlAbstractView.cpp.

void axlAbstractView::add ( dtkAbstractData *  data)
virtual

Use view as input to open a data in axel.

Usefull with interpreter

Definition at line 529 of file axlAbstractView.cpp.

axlViewController * axlAbstractView::controller ( void  )

Definition at line 138 of file axlAbstractView.cpp.

void axlAbstractView::dataChangedByColor ( dtkAbstractData *  data,
double  red,
double  green,
double  blue 
)
slot

Definition at line 242 of file axlAbstractView.cpp.

void axlAbstractView::dataChangedByGeometry ( dtkAbstractData *  data)
slot

Definition at line 226 of file axlAbstractView.cpp.

void axlAbstractView::dataChangedByOpacity ( dtkAbstractData *  data,
double  opacity 
)
slot

Definition at line 232 of file axlAbstractView.cpp.

void axlAbstractView::dataChangedByProperty ( dtkAbstractData *  data,
int  channel 
)
slot

Modify the right property, which is defined by the channel number :

-channel == 0 : modify color property -channel == 1 : modify opacity property -channel == 2 : modify shader property -channel == 3 : modify size property Same channel definition used by the signal modifiedProperty(dtkAbstractData *data, int channel).

Definition at line 255 of file axlAbstractView.cpp.

void axlAbstractView::dataChangedBySize ( dtkAbstractData *  data,
double  size 
)
slot

Definition at line 237 of file axlAbstractView.cpp.

virtual QString axlAbstractView::description ( void  ) const
inlinevirtual

Reimplemented in axlVtkView.

Definition at line 63 of file axlAbstractView.h.

bool axlAbstractView::getAxesVisibility ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 451 of file axlAbstractView.cpp.

double * axlAbstractView::getBackgroundColor ( void  )
virtualslot

Reimplemented in axlVtkView.

Definition at line 512 of file axlAbstractView.cpp.

bool axlAbstractView::getBackgroundGradient ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 423 of file axlAbstractView.cpp.

double * axlAbstractView::getCameraFocalPoint ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 465 of file axlAbstractView.cpp.

double * axlAbstractView::getCameraUp ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 481 of file axlAbstractView.cpp.

double axlAbstractView::getCameraViewAngle ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 497 of file axlAbstractView.cpp.

bool axlAbstractView::getParallelProjection ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 458 of file axlAbstractView.cpp.

double axlAbstractView::getParallelScale ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 437 of file axlAbstractView.cpp.

dtkAbstractViewFactory * axlAbstractView::getSingletonFactory ( void  )

Definition at line 586 of file axlAbstractView.cpp.

double * axlAbstractView::getWorldCameraPosition ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 444 of file axlAbstractView.cpp.

axlAbstractActor * axlAbstractView::insert ( axlAbstractData data)
virtual

Reimplemented in axlVtkView.

Definition at line 55 of file axlAbstractView.cpp.

void axlAbstractView::insert ( dtkAbstractData *  data,
axlAbstractActor actor 
)
virtual

Definition at line 115 of file axlAbstractView.cpp.

void axlAbstractView::insertData ( axlAbstractData data)
signal
void axlAbstractView::inserted ( void  )
signal
QList< axlAbstractActor * > axlAbstractView::insertSet ( QList< axlAbstractData * >  dataSet)
virtual

Reimplemented in axlVtkView.

Definition at line 64 of file axlAbstractView.cpp.

void axlAbstractView::lightPositionChanged ( double  x,
double  y,
double  z 
)
signal
void axlAbstractView::onActorVisibilityChanged ( dtkAbstractData *  data,
bool  actorVisibility 
)
slot

Definition at line 298 of file axlAbstractView.cpp.

void axlAbstractView::onBackgroundGradientChange ( bool  gradient)
virtualslot

Definition at line 416 of file axlAbstractView.cpp.

void axlAbstractView::onControlPointChanged ( dtkAbstractData *  data)
slot

Definition at line 203 of file axlAbstractView.cpp.

void axlAbstractView::ondataSetRemoved ( QList< dtkAbstractData * >  dataSetToRemoved)
slot

Definition at line 370 of file axlAbstractView.cpp.

void axlAbstractView::onGridResolutionChanged ( int  resolution)
slot

Definition at line 402 of file axlAbstractView.cpp.

void axlAbstractView::onInterpolationChanded ( dtkAbstractData *  data,
int  interpolation 
)
slot

Definition at line 286 of file axlAbstractView.cpp.

void axlAbstractView::onLightPositionChanged ( double  x,
double  y,
double  z 
)
slot

Definition at line 397 of file axlAbstractView.cpp.

void axlAbstractView::onShaderChanged ( dtkAbstractData *  data,
QString  isophoteShaderXml 
)
slot

Definition at line 198 of file axlAbstractView.cpp.

void axlAbstractView::onShowAxis ( bool  show)
virtualslot

Definition at line 409 of file axlAbstractView.cpp.

void axlAbstractView::onStateChanged ( dtkAbstractData *  data,
int  mode 
)
slot

Definition at line 291 of file axlAbstractView.cpp.

void axlAbstractView::onTubeFilterRadiusChanged ( dtkAbstractData *  data,
double  radius 
)
slot

Definition at line 210 of file axlAbstractView.cpp.

void axlAbstractView::onUpdateActorField ( QList< axlAbstractData * >  axlDataSet,
QString  fieldName 
)
virtualslot

Definition at line 580 of file axlAbstractView.cpp.

void axlAbstractView::processIsophoteByShader ( dtkAbstractData *  data,
QString  isophoteShaderXml 
)
slot

Definition at line 220 of file axlAbstractView.cpp.

void axlAbstractView::removeData ( dtkAbstractData *  data)
virtual

Definition at line 127 of file axlAbstractView.cpp.

void axlAbstractView::removeField ( dtkAbstractData *  data)
virtual

Definition at line 132 of file axlAbstractView.cpp.

void axlAbstractView::removeSet ( QList< axlAbstractActor * >  actorSet)
virtual

Reimplemented in axlVtkView.

Definition at line 73 of file axlAbstractView.cpp.

void axlAbstractView::removeSetFields ( QList< axlAbstractActorField * >  actorSet)
virtual

Reimplemented in axlVtkView.

Definition at line 80 of file axlAbstractView.cpp.

void axlAbstractView::setCameraFocalPoint ( double  x,
double  y,
double  z 
)
virtual

Reimplemented in axlVtkView.

Definition at line 472 of file axlAbstractView.cpp.

void axlAbstractView::setCameraPosition ( double  x,
double  y,
double  z 
)
virtual

Definition at line 178 of file axlAbstractView.cpp.

void axlAbstractView::setCameraUp ( double  x,
double  y,
double  z 
)
virtual

Reimplemented in axlVtkView.

Definition at line 488 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewAngle ( double  angle)
virtual

Reimplemented in axlVtkView.

Definition at line 504 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewDefaut ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 143 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewNegativeX ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 148 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewNegativeY ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 158 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewNegativeZ ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 168 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewPositiveX ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 153 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewPositiveY ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 163 of file axlAbstractView.cpp.

void axlAbstractView::setCameraViewPositiveZ ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 173 of file axlAbstractView.cpp.

void axlAbstractView::setGrid ( bool  isGridX,
bool  isGridY,
bool  isGridZ 
)
virtual

Reimplemented in axlVtkView.

Definition at line 183 of file axlAbstractView.cpp.

void axlAbstractView::setJoystickInteractor ( void  )
virtualslot

Definition at line 569 of file axlAbstractView.cpp.

void axlAbstractView::setLight ( int  i,
bool  hide,
double *  position,
double *  ambiant,
double *  diffuse,
double *  specular,
int  exponent 
)
virtual

Reimplemented in axlVtkView.

Definition at line 94 of file axlAbstractView.cpp.

void axlAbstractView::setObjectCamera ( void  )
virtualslot

Definition at line 559 of file axlAbstractView.cpp.

void axlAbstractView::setParallelCamera ( bool  parallel)
virtual

Reimplemented in axlVtkView.

Definition at line 518 of file axlAbstractView.cpp.

void axlAbstractView::setParallelScale ( double  parallelScale)
virtual

Reimplemented in axlVtkView.

Definition at line 430 of file axlAbstractView.cpp.

void axlAbstractView::setTrackballInteractor ( void  )
virtualslot

Definition at line 564 of file axlAbstractView.cpp.

void axlAbstractView::setWorldCamera ( void  )
virtualslot

Definition at line 554 of file axlAbstractView.cpp.

void axlAbstractView::showColorMapping ( dtkAbstractData *  data)
slot

Definition at line 192 of file axlAbstractView.cpp.

int axlAbstractView::size ( void  )
virtual

Definition at line 392 of file axlAbstractView.cpp.

void axlAbstractView::stateChanged ( dtkAbstractData *  data,
int  mode 
)
signal
void axlAbstractView::update ( void  )
virtual

Reimplemented in axlVtkView.

Definition at line 575 of file axlAbstractView.cpp.

void axlAbstractView::updateFieldActor ( dtkAbstractData *  data)
virtual

Use view as input to update fields actors on a data.

Usefull with interpreter

Reimplemented in axlVtkView.

Definition at line 544 of file axlAbstractView.cpp.


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