36 #ifndef ABSTRACTACTORGENERATOR_HPP_ 37 #define ABSTRACTACTORGENERATOR_HPP_ 40 #include "SmartPointers.hpp" 41 #define _BACKWARD_BACKWARD_WARNING_H 1 //Cut out the vtk deprecated warning 42 #include <vtkSmartPointer.h> 43 #include <vtkRenderer.h> 44 #include <vtkColorTransferFunction.h> 45 #include "UnitCollection.hpp" 46 #include "UblasVectorInclude.hpp" 51 template<
unsigned DIM>
98 std::vector<c_vector<double, 3> > mViridisColorMap;
109 std::string mDataLabel;
127 virtual void AddActor(vtkSmartPointer<vtkRenderer> pRenderer) = 0;
171 void SetPointSize(
double size);
173 void SetEdgeSize(
double size);
175 void SetDataLabel(
const std::string& rLabel);
c_vector< double, 3 > mEdgeColor
void SetShowPoints(bool show)
void SetVolumeColor(const c_vector< double, 3 > &rColor)
units::quantity< unit::length > mLengthScale
void SetPointColor(const c_vector< double, 3 > &rColor)
void SetShowEdges(bool show)
virtual ~AbstractActorGenerator()
c_vector< double, 3 > mPointColor
void SetVolumeOpacity(double opacity)
vtkSmartPointer< vtkColorTransferFunction > mpColorTransferFunction
void SetEdgeColor(const c_vector< double, 3 > &rColor)
c_vector< double, 3 > mVolumeColor
virtual void AddActor(vtkSmartPointer< vtkRenderer > pRenderer)=0
void SetShowVolume(bool show)