37 class vtkAlgorithmOutput;
38 class vtkDataSetMapper;
45 class vtkCastToConcrete;
47 class vtkSphereSource;
160 virtual vtkSmartPointer<vtkPointSet> getPointSet() {
167 virtual void setPointSet(vtkSmartPointer<vtkPointSet> ds);
175 virtual void setDataConnection(vtkSmartPointer<vtkAlgorithmOutput>);
178 virtual void setPointData(vtkSmartPointer<vtkDataArray>);
184 virtual vtkSmartPointer<vtkActor> getActor(
const RenderingModes);
187 virtual vtkSmartPointer<vtkProp> getProp(
const QString &);
190 virtual unsigned int getNumberOfProp()
const;
193 virtual vtkSmartPointer<vtkProp> getProp(
unsigned int);
198 virtual bool addProp(
const QString &, vtkSmartPointer<vtkProp>);
203 virtual bool removeProp(
const QString &);
206 virtual void setTexture(vtkSmartPointer<vtkTexture> texture);
220 virtual void getBounds(
double *bounds);
223 virtual double getBoundingRadius();
226 virtual void setPointPosition(
const unsigned int orderNumber,
const double x,
const double y,
const double z);
241 virtual void setEnhancedModes(
const EnhancedModes );
247 virtual void setActorColor(
const RenderingModes,
double*);
250 virtual void setActorColor(
const RenderingModes,
const double,
const double,
const double);
253 virtual void getActorColor(
const RenderingModes,
double*);
256 virtual void setColor(
const double,
const double,
const double);
259 virtual void setColor(
const double,
const double,
const double,
const double);
262 virtual void setActorOpacity(
const RenderingModes,
const double);
265 virtual double getActorOpacity(
const RenderingModes)
const;
268 virtual void setOpacity(
const double);
271 virtual void setMapperScalarRange(
double min,
double max);
274 virtual void setGlyphType(
const GlyphTypes type,
const double size = 0.0);
277 virtual void setLinesAsTubes(
bool tubes =
false);
286 vtkSmartPointer<vtkPointSet> pointSet;
300 vtkSmartPointer<vtkDataSetMapper>
mapper;
321 vtkSmartPointer<vtkTubeFilter>
tube;
348 void buildGlyph(
const GlyphTypes type);
357 double surfaceColor[4];
359 double wireframeColor[4];
360 double pointsColor[4];
368 double oldPointsColor[4];
371 vtkSmartPointer< vtkPointSet > New();
InterfaceGeometry::RenderingModes renderingModes
Definition: Geometry.h:327
vtkSmartPointer< vtkSphereSource > sphereGeom
the sphere glyph
Definition: Geometry.h:351
vtkSmartPointer< vtkActor > pointsActor
the point actor that manages the representation as a set of points
Definition: Geometry.h:315
vtkSmartPointer< vtkTubeFilter > tube
the tube filter (creates tubes insead of lines)
Definition: Geometry.h:321
double oldAlphaSurface
Definition: Geometry.h:365
virtual void pointPicked(vtkIdType, bool)
a vtkPoint of the structured was picked (to be reimplemented in a Component inherited class if needed...
Definition: Geometry.h:209
virtual vtkSmartPointer< vtkAlgorithmOutput > getDataPort() const
get the custom algorithm pipeline input.
Definition: Geometry.h:170
QMap< QString, vtkSmartPointer< vtkProp > > extraProp
The additional map for prop (include at least "label" and "glyph".
Definition: Geometry.h:303
virtual void cellPicked(vtkIdType, bool)
a vtkCell of the structured was picked (to be reimplemented in a Component inherited class if needed)...
Definition: Geometry.h:212
double glyphSize
current size of glyph (0.0 means no glyph)
Definition: Geometry.h:339
vtkSmartPointer< vtkAlgorithmOutput > dataOutput
to be able to set external custom pipeline
Definition: Geometry.h:291
#define CAMITK_API
Definition: CamiTKAPI.h:49
virtual const RenderingModes getRenderingModes() const
Return if the actor associated to a rendering mode is currently visible or not.
Definition: Geometry.h:238
double oldAlphaWireframe
Definition: Geometry.h:366
vtkSmartPointer< vtkDataSetMapper > mapper
the VTK mapper
Definition: Geometry.h:300
InterfaceGeometry::EnhancedModes enhancedModes
Enhanced mode options (the way actors are rendered: normal, hidden, highlighted, shaded) ...
Definition: Geometry.h:330
vtkSmartPointer< vtkAlgorithmOutput > customPipelineOutput
the external custom pipeline output (equals to dataOuput if no custom pipeline plugged) ...
Definition: Geometry.h:294
vtkSmartPointer< vtkCastToConcrete > concreteData
the filter to convert the DataSet to get a correct vtkPipeline output port
Definition: Geometry.h:297
virtual const EnhancedModes getEnhancedModes() const
get the current enhanced mode
Definition: Geometry.h:244
double alphaShaded
Opacity value when this object must be shaded.
Definition: Geometry.h:333
virtual void setLabel(QString newName)
set the label of this Geometry instance
Definition: Geometry.h:151
vtkSmartPointer< vtkTexture > texture
texture of this object.
Definition: Geometry.h:318
vtkSmartPointer< vtkActor > surfaceActor
the surface actor that manages the surfacic representation
Definition: Geometry.h:309
A 3D representation of a vtkPointSet to be displayed in a InteractiveViewer, this class implements th...
Definition: Geometry.h:126
virtual const QString getLabel() const
get the label of this Geometry instance
Definition: Geometry.h:146
vtkSmartPointer< vtkTextMapper > labelActorMapper
the mapper to create the text
Definition: Geometry.h:306
This class describes what are the methods to implement for a Geometry (rendering parameters, input/output, filters, picking parameters...)
Definition: InterfaceGeometry.h:61
virtual void setRenderingModes(const RenderingModes rMode)
Set the actor associated to a rendering mode visible or not.
Definition: Geometry.h:235
double oldAlphaPoints
Definition: Geometry.h:367
vtkSmartPointer< vtkActor > wireframeActor
the wireframe actor that manages the representation as wireframe
Definition: Geometry.h:312
the surface is visible
Definition: InterfaceGeometry.h:67
QString label
the label
Definition: Geometry.h:336