#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>
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 |
glwxWidgetMapper * | widgetMapper |
glwxWidgetActor * | widgetActor |
vtkBoxWidget * | boxWidget |
vtkTransform * | widgetTransform |
vtkMyCallback * | myCallback |
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().
vtkBoxWidget* boxWidget |
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.
Definition at line 138 of file VtkDemo.cpp.
vtkRenderWindowInteractor* iren |
Definition at line 146 of file VtkDemo.cpp.
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.
Definition at line 153 of file VtkDemo.cpp.
vtkTransform* widgetTransform |
Definition at line 156 of file VtkDemo.cpp.