#include <vtkPolyDataViewer.h>
helper class to visualize vtkPolyData.
- Author
- Jian Cheng (jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om)
Definition at line 89 of file vtkPolyDataViewer.h.
|
void | Add (const vtkSmartPointer< vtkPolyData > &mesh, const double opacity=1.0) |
|
void | Add (const vtkSmartPointer< vtkPolyData > &mesh, const double opacity, const std::vector< double > &hueRange, bool useNormal, const std::vector< double > &scalarRange={-1.0,-1.0}, bool lighting=true) |
|
void | Add (const vtkSmartPointer< vtkLODActor > &actor) |
|
void | SavePNG (const std::string &pngfile) |
|
void | SetBackground (double r, double g, double b) |
|
void | Show () |
|
| vtkGetMacro (UseNormal, bool) |
|
| vtkGetMacro (Zoom, double) |
|
| vtkGetMacro (Lighting, bool) |
|
| vtkGetVector2Macro (Angle, double) |
|
| vtkGetVector2Macro (WindowSize, int) |
|
| vtkSetMacro (UseNormal, bool) |
|
| vtkSetMacro (Zoom, double) |
|
| vtkSetMacro (Lighting, bool) |
|
| vtkSetVector2Macro (ScalarRange, double) |
|
| vtkSetVector2Macro (HueRange, double) |
|
| vtkSetVector2Macro (Angle, double) |
|
| vtkSetVector2Macro (WindowSize, int) |
|
| vtkTypeMacro (vtkPolyDataViewer, vtkObject) |
|
vtk::vtkPolyDataViewer::vtkPolyDataViewer |
( |
| ) |
|
|
inlineprotected |
vtk::vtkPolyDataViewer::~vtkPolyDataViewer |
( |
| ) |
|
|
inlineprotected |
void vtk::vtkPolyDataViewer::Add |
( |
const vtkSmartPointer< vtkPolyData > & |
mesh, |
|
|
const double |
opacity = 1.0 |
|
) |
| |
void vtk::vtkPolyDataViewer::Add |
( |
const vtkSmartPointer< vtkPolyData > & |
mesh, |
|
|
const double |
opacity, |
|
|
const std::vector< double > & |
hueRange, |
|
|
bool |
useNormal, |
|
|
const std::vector< double > & |
scalarRange = {-1.0,-1.0} , |
|
|
bool |
lighting = true |
|
) |
| |
void vtk::vtkPolyDataViewer::Add |
( |
const vtkSmartPointer< vtkLODActor > & |
actor | ) |
|
|
inline |
void vtk::vtkPolyDataViewer::RenderWindowUpdate |
( |
| ) |
|
|
protected |
void vtk::vtkPolyDataViewer::SavePNG |
( |
const std::string & |
pngfile | ) |
|
void vtk::vtkPolyDataViewer::SetBackground |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b |
|
) |
| |
|
inline |
void vtk::vtkPolyDataViewer::SetCamara |
( |
| ) |
|
|
protected |
void vtk::vtkPolyDataViewer::Show |
( |
| ) |
|
vtk::vtkPolyDataViewer::vtkGetMacro |
( |
UseNormal |
, |
|
|
bool |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkGetMacro |
( |
Zoom |
, |
|
|
double |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkGetMacro |
( |
Lighting |
, |
|
|
bool |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkGetVector2Macro |
( |
Angle |
, |
|
|
double |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkGetVector2Macro |
( |
WindowSize |
, |
|
|
int |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetMacro |
( |
UseNormal |
, |
|
|
bool |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetMacro |
( |
Zoom |
, |
|
|
double |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetMacro |
( |
Lighting |
, |
|
|
bool |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetVector2Macro |
( |
ScalarRange |
, |
|
|
double |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetVector2Macro |
( |
HueRange |
, |
|
|
double |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetVector2Macro |
( |
Angle |
, |
|
|
double |
|
|
) |
| |
vtk::vtkPolyDataViewer::vtkSetVector2Macro |
( |
WindowSize |
, |
|
|
int |
|
|
) |
| |
double vtk::vtkPolyDataViewer::Angle[2] ={0.0,0.0} |
|
private |
double vtk::vtkPolyDataViewer::HueRange[2] ={0.6667,0.0} |
|
private |
vtkSmartPointer<vtkRenderWindowInteractor> vtk::vtkPolyDataViewer::Interactor = vtkSmartPointer<vtkRenderWindowInteractor>::New() |
|
private |
bool vtk::vtkPolyDataViewer::Lighting =true |
|
private |
vtkSmartPointer<vtkRenderer> vtk::vtkPolyDataViewer::Renderer = vtkSmartPointer<vtkRenderer>::New() |
|
private |
vtkSmartPointer<vtkRenderWindow> vtk::vtkPolyDataViewer::RenderWindow = vtkSmartPointer<vtkRenderWindow>::New() |
|
private |
double vtk::vtkPolyDataViewer::ScalarRange[2] ={-1.0,-1.0} |
|
private |
bool vtk::vtkPolyDataViewer::UseNormal =true |
|
private |
int vtk::vtkPolyDataViewer::WindowSize[2] ={600,600} |
|
private |
double vtk::vtkPolyDataViewer::Zoom =1.0 |
|
private |
The documentation for this class was generated from the following files: