37 class vtkAlgorithmOutput;
38 class vtkDataSetMapper;
45 class vtkCastToConcrete;
47 class vtkSphereSource;
48 class vtkTransformFilter;
167 void setPointSet(vtkSmartPointer<vtkPointSet> ds)
override;
170 void setMeshWorldTransform(vtkSmartPointer<vtkTransform>)
override;
173 vtkSmartPointer<vtkAlgorithmOutput>
getDataPort()
const override {
178 void setDataConnection(vtkSmartPointer<vtkAlgorithmOutput>)
override;
181 void setPointData(vtkSmartPointer<vtkDataArray>)
override;
187 vtkSmartPointer<vtkActor> getActor(
const RenderingModes)
override;
190 void setTexture(vtkSmartPointer<vtkTexture> texture)
override;
211 vtkSmartPointer<vtkProp> getProp(
const QString&)
override;
214 unsigned int getNumberOfProp()
const override;
217 vtkSmartPointer<vtkProp> getProp(
unsigned int)
override;
222 bool addProp(
const QString&, vtkSmartPointer<vtkProp>)
override final;
234 void getBounds(
double* bounds)
override final;
237 double getBoundingRadius() override final;
240 void setPointPosition(const
unsigned int orderNumber, const
double x, const
double y, const
double z) override;
249 void setRenderingModes(const RenderingModes rMode)
override {
250 renderingModes = rMode;
255 return renderingModes;
259 void setEnhancedModes(
const EnhancedModes)
override;
263 return enhancedModes;
267 void setActorColor(
const RenderingModes,
double*)
override;
270 void setActorColor(
const RenderingModes,
const double,
const double,
const double)
override;
273 void getActorColor(
const RenderingModes,
double*)
const override final;
276 void setColor(
const double,
const double,
const double)
override;
279 void setColor(
const double,
const double,
const double,
const double)
override;
282 void setActorOpacity(
const RenderingModes,
const double)
override final;
285 double getActorOpacity(
const RenderingModes)
const override;
288 void setOpacity(
const double)
override;
291 void setMapperScalarRange(
double min,
double max)
override;
294 void setGlyphType(
const GlyphTypes type,
const double size = 0.0) override final;
297 void setLinesAsTubes(
bool isTubes = true,
bool radiusFromLength = true,
double radiusFactor = 1.0 / 40.0,
int numberOfSides = 5) override;
299 void setColorMode(
int vtkColorMode = VTK_COLOR_MODE_DEFAULT) override;
310 vtkSmartPointer<vtkPointSet> pointSet;
313 vtkSmartPointer<vtkAlgorithmOutput> dataOutput;
316 vtkSmartPointer<vtkAlgorithmOutput> customPipelineOutput;
319 vtkSmartPointer<vtkCastToConcrete> concreteData;
322 vtkSmartPointer<vtkDataSetMapper> mapper;
325 vtkSmartPointer<vtkTextMapper> labelActorMapper;
328 vtkSmartPointer<vtkActor> surfaceActor;
331 vtkSmartPointer<vtkActor> wireframeActor;
334 vtkSmartPointer<vtkActor> pointsActor;
337 vtkSmartPointer<vtkTexture> texture;
340 vtkSmartPointer<vtkTubeFilter> tube;
343 vtkSmartPointer<vtkTransformFilter> worldTransformFilter;
346 vtkSmartPointer<vtkSphereSource> sphereGeom;
373 void buildGlyph(const GlyphTypes type);
380 void createPointCloudVisualization();
387 double surfaceColor[4];
388 double wireframeColor[4];
389 double pointsColor[4];
394 double oldAlphaSurface;
395 double oldAlphaWireframe;
396 double oldAlphaPoints;
404 QMap<QString, vtkSmartPointer<vtkProp> > extraProp;
#define CAMITK_API
Definition: CamiTKAPI.h:49
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
void setLabel(QString newName) override
set the label of this Geometry instance
Definition: Geometry.h:151
void cellPicked(vtkIdType, bool) override
a vtkCell of the structured was picked (to be reimplemented in a Component inherited class if needed)
Definition: Geometry.h:196
vtkSmartPointer< vtkAlgorithmOutput > getDataPort() const override
get the custom algorithm pipeline input.
Definition: Geometry.h:173
const QString getLabel() const override
get the label of this Geometry instance
Definition: Geometry.h:146
const RenderingModes getRenderingModes() const override
Return if the actor associated to a rendering mode is currently visible or not.
Definition: Geometry.h:254
void pointPicked(vtkIdType, bool) override
a vtkPoint of the structured was picked (to be reimplemented in a Component inherited class if needed...
Definition: Geometry.h:193
vtkSmartPointer< vtkPointSet > getPointSet() override
Definition: Geometry.h:162
const EnhancedModes getEnhancedModes() const override
get the current enhanced mode
Definition: Geometry.h:262
This class describes what are the methods to implement for a Geometry (rendering parameters,...
Definition: InterfaceGeometry.h:61
@ Surface
the surface is visible
Definition: InterfaceGeometry.h:67
Definition: Action.cpp:36
void removeProp(vtkSmartPointer< vtkProp > p, bool refresh=false)
remove the given vtkProp (e.g.