#include <vtkLODActor.h>
#include <vtkProperty.h>
#include <vtkPolyDataReader.h>
#include <vtkMaskPoints.h>
#include <vtkSmartPointer.h>
#include <vtkDataSetMapper.h>
#include <vtkCellArray.h>
#include <vtkLookupTable.h>
#include <vtkScalarBarActor.h>
#include <vtkTextProperty.h>
#include <vtkInteractorStyleTrackballCamera.h>
#include <vtkRendererCollection.h>
#include <vtkPNGWriter.h>
#include <vtkWindowToImageFilter.h>
#include <vtkDataArrayCollection.h>
#include <vtkLegendScaleActor.h>
#include <vtkTextActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkCommand.h>
#include <vtkProperty2D.h>
#include <vtkPointPicker.h>
#include <vtkObjectFactory.h>
#include <vtkAssemblyPath.h>
#include <vtkGraphicsFactory.h>
#include <vtkGeneralTransform.h>
#include <vtkGeometryFilter.h>
#include <vtkImagingFactory.h>
#include <vtkAbstractTransform.h>
#include <vtkActor.h>
#include <vtkAlgorithmOutput.h>
#include <vtkAppendPolyData.h>
#include <vtkArrowSource.h>
#include <vtkAssembly.h>
#include <vtkCubeSource.h>
#include <vtkConeSource.h>
#include <vtkCylindricalTransform.h>
#include <vtkTransformTextureCoords.h>
#include <vtkBMPReader.h>
#include <vtkTexture.h>
#include <vtkAxes.h>
#include <vtkAxisActor2D.h>
#include <vtkButterflySubdivisionFilter.h>
#include <vtkBoxWidget.h>
#include <vtkCamera.h>
#include <vtkCameraInterpolator.h>
#include <vtkCellData.h>
#include <vtkCleanPolyData.h>
#include <vtkClipPolyData.h>
#include <vtkContourFilter.h>
#include <vtkCylinderSource.h>
#include <vtkCutter.h>
#include <vtkDataObjectCollection.h>
#include <vtkDiskSource.h>
#include <vtkDataSetTriangleFilter.h>
#include <vtkDataSetWriter.h>
#include <vtkDataSetCollection.h>
#include <vtkDebugLeaks.h>
#include <vtkDelaunay2D.h>
#include <vtkDelaunay3D.h>
#include <vtkDoubleArray.h>
#include <vtkExtractEdges.h>
#include <vtkInteractorEventRecorder.h>
#include <vtkFeatureEdges.h>
#include <vtkFloatArray.h>
#include <vtkFFMPEGWriter.h>
#include <vtkFollower.h>
#include <vtkGenericPointIterator.h>
#include <vtkGlyph3D.h>
#include <vtkGreedyTerrainDecimation.h>
#include <vtkHedgeHog.h>
#include <vtkHull.h>
#include <vtkHexahedron.h>
#include <vtkInterpolatingSubdivisionFilter.h>
#include <vtkImageBlend.h>
#include <vtkImageMapper.h>
#include <vtkImplicitModeller.h>
#include <vtkImplicitPlaneWidget.h>
#include <vtkIntArray.h>
#include <vtkJPEGWriter.h>
#include <vtkKdTree.h>
#include <vtkLightKit.h>
#include <vtkLinearSubdivisionFilter.h>
#include <vtkLeaderActor2D.h>
#include <vtkLineSource.h>
#include <vtkLandmarkTransform.h>
#include <vtkLogLookupTable.h>
#include <vtkLoopSubdivisionFilter.h>
#include <vtkMarchingCubes.h>
#include <vtkMath.h>
#include <vtkMatrix4x4.h>
#include <vtkMatrixToLinearTransform.h>
#include <vtkMassProperties.h>
#include <vtkOBBTree.h>
#include <vtkOBJReader.h>
#include <vtkOBJExporter.h>
#include <vtkOrderedTriangulator.h>
#include <vtkPerspectiveTransform.h>
#include <vtkPlane.h>
#include <vtkPlanes.h>
#include <vtkPolygon.h>
#include <vtkPlatonicSolidSource.h>
#include <vtkPLYReader.h>
#include <vtkPNGReader.h>
#include <vtkPlaneSource.h>
#include <vtkSuperquadricSource.h>
#include <vtkSphericalTransform.h>
#include <vtkSubdivideTetra.h>
#include <vtkPointData.h>
#include <vtkPointDataToCellData.h>
#include <vtkPointLocator.h>
#include <vtkPoints.h>
#include <vtkPointSet.h>
#include <vtkPolyData.h>
#include <vtkPolyLine.h>
#include <vtkPolyDataAlgorithm.h>
#include <vtkPolyDataMapper.h>
#include <vtkOpenGLPolyDataMapper.h>
#include <vtkPainterPolyDataMapper.h>
#include <vtkPolyDataNormals.h>
#include <vtkPolyDataWriter.h>
#include <vtkPolyVertex.h>
#include <vtkQuad.h>
#include <vtkRecursiveDividingCubes.h>
#include <vtkRenderer.h>
#include <vtkSpatialRepresentationFilter.h>
#include <vtkSphere.h>
#include <vtkSphereSource.h>
#include <vtkStripper.h>
#include <vtkStructuredPointsReader.h>
#include <vtkSurfaceReconstructionFilter.h>
#include <vtkSystemIncludes.h>
#include <vtkTimerLog.h>
#include <vtkTransform.h>
#include <vtkTransformFilter.h>
#include <vtkTransformPolyDataFilter.h>
#include <vtkTriangleFilter.h>
#include <vtkTubeFilter.h>
#include <vtkUnstructuredGrid.h>
#include <vtkUnstructuredGridReader.h>
#include <vtkUnsignedIntArray.h>
#include <vtkVectorText.h>
#include <vtkVoxel.h>
#include <vtkVoxelContoursToSurfaceFilter.h>
#include <vtkVRMLImporter.h>
#include <vtkWindowedSincPolyDataFilter.h>
#include <vtkXRenderWindowInteractor.h>
#include <vtkXMLPolyDataReader.h>
#include <vtkXMLPPolyDataReader.h>
#include <vtkXYPlotActor.h>
#include <vtkXYPlotWidget.h>
#include <vtkGraphToPolyData.h>
#include <vtkGraphLayout.h>
#include <vtkGraphReader.h>
#include <vtkGraph.h>
#include <vtkDirectedGraph.h>
#include <vtkUndirectedGraph.h>
#include <vtkMutableUndirectedGraph.h>
#include <vtkPolyDataCollection.h>
Go to the source code of this file.
Classes | |
struct | ScalarsContainer |
class | vtkCameraCallback |
class | vtkFPSCallback |
class | vtkInteractorStyleTUM |
class | vtkMouseCallback |
Defines | |
#define | _sqr(x) ((x)*(x)) |
#define | _sqr_dist(x, y) ( _sqr((x[0])-(y[0])) + _sqr((x[1])-(y[1])) + _sqr((x[2])-(y[2])) ) |
#define | KEY_MINUS 45 |
#define | KEY_PLUS 43 |
#define | NR_COLOR 65536 |
#define | RENWIN_HEIGHT 800 |
#define | RENWIN_WIDTH 1200 |
#define | S_COLOR 100 |
#define | SPACE_KEY 32 |
Functions | |
void | changeActorScalarAppearance (ScalarsContainer s, int dim, int argc, char **argv) |
vtkActor * | create_actor_from_data_set (vtkDataSet *data, double c1, double c2, double c3, bool lod_enable=false) |
vtkActor * | create_actor_from_data_set (vtkDataSet *data, double c1, double c2, double c3, double psize, bool lod_enable) |
vtkActor * | create_actor_from_data_set (vtkDataSet *data, double psize, vtkLookupTable *lut, double minmax[2], bool lod_enable) |
vtkActor * | create_actor_from_data_set (vtkDataSet *data, bool lod_enable) |
vtkActor * | create_actor_from_data_set (vtkDataSet *data, double psize, bool lod_enable) |
vtkSmartPointer< vtkLookupTable > | create_LUT (double minmax[2], int log, int seed_rand, int nr_colors, unsigned step_rand, bool debug) |
vtkSmartPointer< vtkLookupTable > | create_LUT (double minmax[2], int argc, char **argv) |
vtkScalarBarActor * | create_scalar_bar_actor (vtkLookupTable *lut, int argc, char **argv) |
vtkActor * | createAxes (double scale) |
vtkRenderWindowInteractor * | CreateRenderWindowAndInteractor (vtkRenderer *ren, const char *title) |
vtkRenderWindowInteractor * | CreateRenderWindowAndInteractor (vtkRenderer *ren, const char *title, int argc, char **argv) |
vtkPolyData * | load_poly_data_as_data_set (const char *fileName) |
std::vector< std::string > | parse_texts_argument (int argc, char **argv, const std::string &token) |
double * | randRGBA1 (double min=0.2, double max=2.8) |
void | SaveDataSet (vtkDataSet *data, const char *fileName) |
void | SaveDataSetAsVTK (vtkDataSet *data, const char *fileName) |
void | srandRGBA (unsigned seed, unsigned step) |
void | tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ") |
vtkStandardNewMacro (vtkInteractorStyleTUM) | |
Variables | |
static unsigned | stepRGBA = 100 |
#define RENWIN_HEIGHT 800 |
#define RENWIN_WIDTH 1200 |
void changeActorScalarAppearance | ( | ScalarsContainer | s, |
int | dim, | ||
int | argc, | ||
char ** | argv | ||
) |
vtkActor* create_actor_from_data_set | ( | vtkDataSet * | data, |
double | c1, | ||
double | c2, | ||
double | c3, | ||
bool | lod_enable = false |
||
) |
vtkActor* create_actor_from_data_set | ( | vtkDataSet * | data, |
double | c1, | ||
double | c2, | ||
double | c3, | ||
double | psize, | ||
bool | lod_enable | ||
) |
vtkActor* create_actor_from_data_set | ( | vtkDataSet * | data, |
double | psize, | ||
vtkLookupTable * | lut, | ||
double | minmax[2], | ||
bool | lod_enable | ||
) |
vtkActor* create_actor_from_data_set | ( | vtkDataSet * | data, |
bool | lod_enable | ||
) |
vtkActor* create_actor_from_data_set | ( | vtkDataSet * | data, |
double | psize, | ||
bool | lod_enable | ||
) |
vtkSmartPointer<vtkLookupTable> create_LUT | ( | double | minmax[2], |
int | log, | ||
int | seed_rand, | ||
int | nr_colors, | ||
unsigned | step_rand, | ||
bool | debug | ||
) |
vtkSmartPointer<vtkLookupTable> create_LUT | ( | double | minmax[2], |
int | argc, | ||
char ** | argv | ||
) |
vtkScalarBarActor* create_scalar_bar_actor | ( | vtkLookupTable * | lut, |
int | argc, | ||
char ** | argv | ||
) |
vtkActor* createAxes | ( | double | scale | ) |
vtkRenderWindowInteractor* CreateRenderWindowAndInteractor | ( | vtkRenderer * | ren, |
const char * | title | ||
) |
vtkRenderWindowInteractor* CreateRenderWindowAndInteractor | ( | vtkRenderer * | ren, |
const char * | title, | ||
int | argc, | ||
char ** | argv | ||
) |
vtkPolyData* load_poly_data_as_data_set | ( | const char * | fileName | ) |
std::vector<std::string> parse_texts_argument | ( | int | argc, |
char ** | argv, | ||
const std::string & | token | ||
) |
double* randRGBA1 | ( | double | min = 0.2 , |
double | max = 2.8 |
||
) | [inline] |
void SaveDataSet | ( | vtkDataSet * | data, |
const char * | fileName | ||
) |
void SaveDataSetAsVTK | ( | vtkDataSet * | data, |
const char * | fileName | ||
) |
void tokenize | ( | const std::string & | str, |
std::vector< std::string > & | tokens, | ||
const std::string & | delimiters = " " |
||
) |