demos/VtkDemo.cpp File Reference

#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"
#include "vtkInteractorStyleTrackballCamera.h"
#include "vtkBoxWidget.h"
#include "vtkTransform.h"
#include "vtkConeSource.h"
#include "vtkPolyDataMapper.h"
#include "vtkCommand.h"
#include "vtkOpenGLActor.h"
#include "vtkActor2D.h"
#include "vtkMapper2D.h"
#include "vtkOpenGLProperty.h"
#include "vtkCallbackCommand.h"
#include "vtkPolyData.h"
#include "vtkTimerLog.h"
#include "vtkVolumeRayCastCompositeFunction.h"
#include "vtkVolumeRayCastMapper.h"
#include "vtkVolume.h"
#include "vtkVolumeProperty.h"
#include "vtkColorTransferFunction.h"
#include "vtkPiecewiseFunction.h"
#include "vtkStructuredPointsReader.h"
#include "DemoConfig.h"
#include <string>

Include dependency graph for VtkDemo.cpp:

Go to the source code of this file.

Classes

class  vtkMyCallback
class  glwxWidgetMapper
class  glwxWidgetActor

Functions

void MyCallback (vtkObject *vtkNotUsed(object), unsigned long eid, void *clientdata, void *vtkNotUsed(calldata))
GuiWrapper gui (&handler)
int main (int argc, char *argv[])

Variables

DemoEventHandler handler
vtkCallbackCommand * eventCallback
vtkRenderer * renderer
vtkInteractorStyleTrackballCamera * style
vtkRenderWindow * renWin
vtkRenderWindowInteractor * iren
vtkConeSource * coneSource
vtkPolyDataMapper * coneMapper
vtkActor * coneActor
glwxWidgetMapperwidgetMapper
glwxWidgetActorwidgetActor
vtkBoxWidget * boxWidget
vtkTransform * widgetTransform
vtkMyCallbackmyCallback


Function Documentation

GuiWrapper gui ( handler  ) 

int main ( int  argc,
char *  argv[] 
)

Definition at line 160 of file VtkDemo.cpp.

References DemoEventHandler::blue, DemoEventHandler::green, gui(), GuiWrapper::Init(), MyCallback(), vtkMyCallback::New(), glwxWidgetActor::New(), glwxWidgetMapper::New(), DemoEventHandler::red, vtkMyCallback::SetActor(), GuiWrapper::SetDimensions(), glwxWidgetMapper::SetGui(), and vtkMyCallback::SetTransform().

void MyCallback ( vtkObject *  vtkNotUsed(object),
unsigned long  eid,
void *  clientdata,
void *  vtkNotUsed(calldata) 
)

Definition at line 290 of file VtkDemo.cpp.

References GuiWrapper::AsciiKeyDown(), DemoEventHandler::blue, DemoEventHandler::green, gui(), GuiWrapper::MouseClicked(), GuiWrapper::MouseMoved(), and DemoEventHandler::red.

Referenced by main().


Variable Documentation

vtkBoxWidget* boxWidget

Definition at line 155 of file VtkDemo.cpp.

Referenced by vtkMyCallback::Execute().

vtkActor* coneActor

Definition at line 150 of file VtkDemo.cpp.

vtkPolyDataMapper* coneMapper

Definition at line 149 of file VtkDemo.cpp.

vtkConeSource* coneSource

Definition at line 148 of file VtkDemo.cpp.

vtkCallbackCommand* eventCallback

Definition at line 141 of file VtkDemo.cpp.

DemoEventHandler handler

Definition at line 138 of file VtkDemo.cpp.

vtkRenderWindowInteractor* iren

Definition at line 146 of file VtkDemo.cpp.

vtkMyCallback* myCallback

Definition at line 157 of file VtkDemo.cpp.

vtkRenderer* renderer

Definition at line 143 of file VtkDemo.cpp.

vtkRenderWindow* renWin

Definition at line 145 of file VtkDemo.cpp.

vtkInteractorStyleTrackballCamera* style

Definition at line 144 of file VtkDemo.cpp.

glwxWidgetActor* widgetActor

Definition at line 153 of file VtkDemo.cpp.

glwxWidgetMapper* widgetMapper

Definition at line 152 of file VtkDemo.cpp.

Referenced by glwxWidgetActor::RenderOverlay().

vtkTransform* widgetTransform

Definition at line 156 of file VtkDemo.cpp.


Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3