Public Member Functions | Protected Attributes

DGVLatticeVTK Class Reference

This class represents lattices in the form of the Fundamental Lattice in Number Theory. EXPERIMENTAL. More...

#include <DGVLatticeVTK.h>

List of all members.

Public Member Functions

 DGVLatticeVTK (QWidget *parent=0)
virtual ~DGVLatticeVTK ()
void setName (QString filename)
 Set the name of the lattice.
void setDimensions (int dimensions)
void setDefaultSize (int value)
void setLatticeParameters (Array< latticeType, 1 > &values)
void setLatticeSize (int x, int y)
void setLatticeSize (Array< int, 1 > &sizes)
void setLatticePointSize (latticeType value)
void setLatticeUnit (latticeType value)
void setBackgroundColour (double red, double green, double blue)
void setLatticeColour (double red, double green, double blue)
void setLatticePointColour (int x, int y, double red, double green, double blue)
int getDimension ()
int getDefaultSize ()
latticeType getLatticeUnit ()
Array< latticeType, 1 > & getLatticeParameters ()
Array< int, 1 > & getLatticeSize ()
void addActorToLattice (vtkActor *actorToAdd)
void generateLattice ()
void viewAsRightHanded ()
void viewAsMatrix ()
void enableAxes ()
void disableAxes ()
QString strippedName ()
 Returns the stripped (path removed) name of the lattice.
QString strippedNamePrefix ()
 Returns the stripped (path removed) name of the lattice with "Lattice" prefix.

Protected Attributes

Array< latticeType, 1 > latticeParameters
Array< int, 1 > latticeSize
latticeType unit
int dimension
int defaultSize
latticeType defaultRadius
bool generatedBefore
bool rightHanded
bool axesEnabledBefore
QString name
 Name of the plot.
vtkSphereSource * sphere
 Sphere form of a lattice point.
vtkPolyDataMapper * mapper
 Map of the surface of a sphere.
Array< vtkActor *, 1 > latticePoints
 Actors for the lattice points. Represents the lattice points.
vtkAxesActor * axes
 Axes for the lattice.
vtkProperty * property
 Common Lattice Point Properties.
vtkRenderer * renderer
 Renderer of the lattice.
vtkRenderWindow * renderWin
 Window that controls the renderer.

Detailed Description

This class represents lattices in the form of the Fundamental Lattice in Number Theory. EXPERIMENTAL.

Author:
Shekhar S. Chandra, 2008

Definition at line 45 of file DGVLatticeVTK.h.


Constructor & Destructor Documentation

DGVLatticeVTK::DGVLatticeVTK ( QWidget *  parent = 0  ) 

Definition at line 28 of file DGVLatticeVTK.cpp.

DGVLatticeVTK::~DGVLatticeVTK (  )  [virtual]

Cleanup

Definition at line 41 of file DGVLatticeVTK.cpp.


Member Function Documentation

void DGVLatticeVTK::addActorToLattice ( vtkActor *  actorToAdd  ) 

Definition at line 169 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::disableAxes (  ) 

Definition at line 158 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::enableAxes (  ) 

Definition at line 144 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::generateLattice (  ) 

Definition at line 176 of file DGVLatticeVTK.cpp.

int DGVLatticeVTK::getDefaultSize (  )  [inline]

Definition at line 76 of file DGVLatticeVTK.h.

int DGVLatticeVTK::getDimension (  )  [inline]

Definition at line 74 of file DGVLatticeVTK.h.

Array<latticeType,1>& DGVLatticeVTK::getLatticeParameters (  )  [inline]

Definition at line 80 of file DGVLatticeVTK.h.

Array<int,1>& DGVLatticeVTK::getLatticeSize (  )  [inline]

Definition at line 82 of file DGVLatticeVTK.h.

latticeType DGVLatticeVTK::getLatticeUnit (  )  [inline]

Definition at line 78 of file DGVLatticeVTK.h.

void DGVLatticeVTK::setBackgroundColour ( double  red,
double  green,
double  blue 
)

Definition at line 83 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::setDefaultSize ( int  value  ) 

Definition at line 77 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::setDimensions ( int  dimensions  ) 

Definition at line 68 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::setLatticeColour ( double  red,
double  green,
double  blue 
)

Definition at line 89 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::setLatticeParameters ( Array< latticeType, 1 > &  values  )  [inline]

Definition at line 60 of file DGVLatticeVTK.h.

void DGVLatticeVTK::setLatticePointColour ( int  x,
int  y,
double  red,
double  green,
double  blue 
)

Definition at line 111 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::setLatticePointSize ( latticeType  value  )  [inline]

Definition at line 66 of file DGVLatticeVTK.h.

void DGVLatticeVTK::setLatticeSize ( int  x,
int  y 
) [inline]

Definition at line 62 of file DGVLatticeVTK.h.

void DGVLatticeVTK::setLatticeSize ( Array< int, 1 > &  sizes  )  [inline]

Definition at line 64 of file DGVLatticeVTK.h.

void DGVLatticeVTK::setLatticeUnit ( latticeType  value  )  [inline]

Definition at line 68 of file DGVLatticeVTK.h.

void DGVLatticeVTK::setName ( QString  filename  ) 

Set the name of the lattice.

Definition at line 62 of file DGVLatticeVTK.cpp.

QString DGVLatticeVTK::strippedName (  ) 

Returns the stripped (path removed) name of the lattice.

Definition at line 277 of file DGVLatticeVTK.cpp.

QString DGVLatticeVTK::strippedNamePrefix (  ) 

Returns the stripped (path removed) name of the lattice with "Lattice" prefix.

Definition at line 282 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::viewAsMatrix (  ) 

Definition at line 132 of file DGVLatticeVTK.cpp.

void DGVLatticeVTK::viewAsRightHanded (  ) 

Definition at line 120 of file DGVLatticeVTK.cpp.


Member Data Documentation

vtkAxesActor* DGVLatticeVTK::axes [protected]

Axes for the lattice.

Definition at line 118 of file DGVLatticeVTK.h.

Definition at line 112 of file DGVLatticeVTK.h.

Definition at line 109 of file DGVLatticeVTK.h.

int DGVLatticeVTK::defaultSize [protected]

Definition at line 108 of file DGVLatticeVTK.h.

int DGVLatticeVTK::dimension [protected]

Definition at line 107 of file DGVLatticeVTK.h.

Definition at line 110 of file DGVLatticeVTK.h.

Definition at line 104 of file DGVLatticeVTK.h.

Array<vtkActor*,1> DGVLatticeVTK::latticePoints [protected]

Actors for the lattice points. Represents the lattice points.

Definition at line 117 of file DGVLatticeVTK.h.

Array<int,1> DGVLatticeVTK::latticeSize [protected]

Definition at line 105 of file DGVLatticeVTK.h.

vtkPolyDataMapper* DGVLatticeVTK::mapper [protected]

Map of the surface of a sphere.

Definition at line 116 of file DGVLatticeVTK.h.

QString DGVLatticeVTK::name [protected]

Name of the plot.

Definition at line 113 of file DGVLatticeVTK.h.

vtkProperty* DGVLatticeVTK::property [protected]

Common Lattice Point Properties.

Definition at line 119 of file DGVLatticeVTK.h.

vtkRenderer* DGVLatticeVTK::renderer [protected]

Renderer of the lattice.

Definition at line 120 of file DGVLatticeVTK.h.

vtkRenderWindow* DGVLatticeVTK::renderWin [protected]

Window that controls the renderer.

Definition at line 121 of file DGVLatticeVTK.h.

bool DGVLatticeVTK::rightHanded [protected]

Definition at line 111 of file DGVLatticeVTK.h.

vtkSphereSource* DGVLatticeVTK::sphere [protected]

Sphere form of a lattice point.

Definition at line 115 of file DGVLatticeVTK.h.

Definition at line 106 of file DGVLatticeVTK.h.


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