18 #include "vtkPoints.h"
19 #include "vtkPolyDataMapper.h"
20 #include "vtkProperty.h"
21 #include "vtkLookupTable.h"
25 vtkAxes * axes = vtkAxes::New();
26 axes->SetOrigin(0.,0.,0.);
27 axes->SetScaleFactor(1.);
30 vtkLookupTable * lut = vtkLookupTable::New();
31 lut->SetHueRange(0,1);
32 lut->SetSaturationRange(1,1);
33 lut->SetValueRange(1,1);
35 vtkPolyDataMapper * map = vtkPolyDataMapper::New();
36 map->SetInputConnection(axes->GetOutputPort());
38 map->SetLookupTable(lut);
45 actor_->GetProperty()->SetInterpolationToFlat();
57 o <<
"******" << std::endl;
58 o <<
"a_axes" << std::endl;
59 o <<
"******" << std::endl;
60 o <<
"The class derives from a_element." << std::endl;
61 o <<
"An object of this class represents a set of three perpendicular axes to be placed in a_canvas object" << std::endl;
62 o <<
"By default, the axes have a length of 1;" << std::endl;
63 o <<
"'x' is red, 'y' is green and 'z' is blue." << std::endl;
64 o <<
"Size, thickness and other parameters can be adjusted like any a_element." << std::endl;
static const std::string help()
virtual void write(std::ostream &o) const
virtual void read(std::istream &in)
layer used by screen to draw vector graphics
static const std::string help()