Classes | Defines | Functions | Variables
misc.h File Reference
#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>
This graph shows which files directly or indirectly include this file:

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::stringparse_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 Documentation

#define _sqr (   x)    ((x)*(x))

Definition at line 196 of file misc.h.

#define _sqr_dist (   x,
  y 
)    ( _sqr((x[0])-(y[0])) + _sqr((x[1])-(y[1])) + _sqr((x[2])-(y[2])) )

Definition at line 197 of file misc.h.

#define KEY_MINUS   45

Definition at line 200 of file misc.h.

#define KEY_PLUS   43

Definition at line 199 of file misc.h.

#define NR_COLOR   65536

Definition at line 192 of file misc.h.

#define RENWIN_HEIGHT   800

Definition at line 195 of file misc.h.

#define RENWIN_WIDTH   1200

Definition at line 194 of file misc.h.

#define S_COLOR   100

Definition at line 193 of file misc.h.

#define SPACE_KEY   32

Definition at line 198 of file misc.h.


Function Documentation

void changeActorScalarAppearance ( ScalarsContainer  s,
int  dim,
int  argc,
char **  argv 
)

vtkPolyDataMapper::New ();//static_cast<vtkPolyDataMapper*>(s.actor->GetMapper ());

Definition at line 964 of file misc.h.

vtkActor* create_actor_from_data_set ( vtkDataSet *  data,
double  c1,
double  c2,
double  c3,
bool  lod_enable = false 
)

Definition at line 223 of file misc.h.

vtkActor* create_actor_from_data_set ( vtkDataSet *  data,
double  c1,
double  c2,
double  c3,
double  psize,
bool  lod_enable 
)

Definition at line 259 of file misc.h.

vtkActor* create_actor_from_data_set ( vtkDataSet *  data,
double  psize,
vtkLookupTable *  lut,
double  minmax[2],
bool  lod_enable 
)

Definition at line 269 of file misc.h.

vtkActor* create_actor_from_data_set ( vtkDataSet *  data,
bool  lod_enable 
)

Definition at line 300 of file misc.h.

vtkActor* create_actor_from_data_set ( vtkDataSet *  data,
double  psize,
bool  lod_enable 
)

Definition at line 328 of file misc.h.

vtkSmartPointer<vtkLookupTable> create_LUT ( double  minmax[2],
int  log,
int  seed_rand,
int  nr_colors,
unsigned  step_rand,
bool  debug 
)

Definition at line 368 of file misc.h.

vtkSmartPointer<vtkLookupTable> create_LUT ( double  minmax[2],
int  argc,
char **  argv 
)

Impose limits on the scalar data

Definition at line 405 of file misc.h.

vtkScalarBarActor* create_scalar_bar_actor ( vtkLookupTable *  lut,
int  argc,
char **  argv 
)

Definition at line 420 of file misc.h.

vtkActor* createAxes ( double  scale)

Definition at line 1992 of file misc.h.

vtkRenderWindowInteractor* CreateRenderWindowAndInteractor ( vtkRenderer *  ren,
const char *  title 
)

Definition at line 1873 of file misc.h.

vtkRenderWindowInteractor* CreateRenderWindowAndInteractor ( vtkRenderer *  ren,
const char *  title,
int  argc,
char **  argv 
)

@---[ CreateRenderWindowAndInteractor

Note:
: by default, parse camera, quality, background color and axes settings

Definition at line 2032 of file misc.h.

vtkPolyData* load_poly_data_as_data_set ( const char *  fileName)

Definition at line 213 of file misc.h.

std::vector<std::string> parse_texts_argument ( int  argc,
char **  argv,
const std::string token 
)

Definition at line 1939 of file misc.h.

double* randRGBA1 ( double  min = 0.2,
double  max = 2.8 
) [inline]

Definition at line 348 of file misc.h.

void SaveDataSet ( vtkDataSet *  data,
const char *  fileName 
)

Definition at line 946 of file misc.h.

void SaveDataSetAsVTK ( vtkDataSet *  data,
const char *  fileName 
)

Definition at line 930 of file misc.h.

void srandRGBA ( unsigned  seed,
unsigned  step 
) [inline]

Definition at line 341 of file misc.h.

void tokenize ( const std::string str,
std::vector< std::string > &  tokens,
const std::string delimiters = " " 
)

Definition at line 1915 of file misc.h.


Variable Documentation

unsigned stepRGBA = 100 [static]

Definition at line 339 of file misc.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


pcl_vtk_tools
Author(s): Nico Blodow, Zoltan-Csaba Marton, Dejan Pangercic
autogenerated on Sun Oct 6 2013 12:08:54