40#ifndef vtkSurfaceRepresentation_h
41#define vtkSurfaceRepresentation_h
45#include "vtkViewsScivisModule.h"
47VTK_ABI_NAMESPACE_BEGIN
231 const char* arrayName,
int fieldAssoc,
double range[2],
int component = -1)
override;
289 bool IsColoringBy(
const char* arrayName,
int scalarMode);
295 void ColorByComponent(
int component);
307 int RepresentationValue;
313 int SelectionRepresentationValue;
314 bool UserSetSelectionRepresentation;
represents an object (geometry & properties) in a rendered scene
Per-block appearance for a representation of composite data.
a class that renders hierarchical polygonal data
Geometry filter that does outlines for volumes.
a simple class to control print indentation
Allocate and hold a VTK object.
represent surface properties of a geometric object
Superclass for mapping scalar values to colors.
friend class vtkScivisView
vtkScivisDataRepresentation()
A ready-made rendering assembly for scientific visualization.
data object that represents a "selection" in VTK.
bool GetBounds(double bounds[6]) override
The vtkScivisDataRepresentation contract.
bool AddToView(vtkScivisView *view) override
Called when this representation is added to or removed from a view.
void SetVisibility(bool val) override
The vtkScivisDataRepresentation contract.
void SetRepresentationToPoints()
Set/get the representation mode.
ColorModeType
How the values of the color array become colors.
bool GetInterpolateScalarsBeforeMapping()
Whether scalars are interpolated across a cell before being turned into colors rather than after.
void SetRepresentationToSurfaceWithEdges()
Set/get the representation mode.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetColorMode(int mode)
How the values of the color array become colors.
void SetEdgeColor(double r, double g, double b)
The color the surface is drawn in when it is not colored by an array, and how opaque it is.
void SetRepresentationToWireframe()
Set/get the representation mode.
vtkGeometryFilterDispatcher * GetGeometryFilter()
The objects this representation is built from, for everything the API above does not cover.
double GetOpacity()
The color the surface is drawn in when it is not colored by an array, and how opaque it is.
bool GetVisibility() override
The vtkScivisDataRepresentation contract.
void ColorByCellArray(const char *arrayName)
Color by an array rather than by a single color.
void SetColorMap(vtkScalarsToColors *map) override
The vtkScivisDataRepresentation contract.
void SetOpacity(double val)
The color the surface is drawn in when it is not colored by an array, and how opaque it is.
vtkActor * GetActor()
The objects this representation is built from, for everything the API above does not cover.
int GetRenderedFieldAssociation() override
The vtkScivisDataRepresentation contract.
int GetSelectionRepresentation()
How a selection made in a view is drawn over the surface.
void SetInterpolateScalarsBeforeMapping(bool val)
Whether scalars are interpolated across a cell before being turned into colors rather than after.
vtkActor * GetSelectionActor()
The objects this representation is built from, for everything the API above does not cover.
vtkSelection * ConvertSelection(vtkScivisView *view, vtkSelection *selection) override
Turn a selection made in view into one expressed over this representation's own input.
int GetRepresentation()
Set/get the representation mode.
vtkMTimeType GetMTime() override
The representation stores its properties on the geometry filter, mapper and actor it owns rather than...
vtkScalarsToColors * GetColorMap() override
The vtkScivisDataRepresentation contract.
void SetRepresentationToSurface()
Set/get the representation mode.
vtkSurfaceRepresentation()
RepresentationType
Representation type constants.
void SetColor(double r, double g, double b)
The color the surface is drawn in when it is not colored by an array, and how opaque it is.
void SetScalarVisibility(bool val)
Color by an array rather than by a single color.
bool GetScalarVisibility()
Color by an array rather than by a single color.
vtkBlockProperties * GetBlocks()
Per-block appearance for a composite input: whether a block is drawn, and in what color and opacity,...
bool RemoveFromView(vtkScivisView *view) override
Called when this representation is added to or removed from a view.
void SetSelectionRepresentation(int type)
How a selection made in a view is drawn over the surface.
int GetColorMode()
How the values of the color array become colors.
void SetFieldDataTupleId(vtkIdType id)
Which tuple of the array selected by ColorByFieldArray() to color with.
static vtkSurfaceRepresentation * New()
const char * GetRepresentationAsString()
Set/get the representation mode.
~vtkSurfaceRepresentation() override
void SetColorModeToMapScalars()
How the values of the color array become colors.
vtkIdType GetFieldDataTupleId()
Which tuple of the array selected by ColorByFieldArray() to color with.
double * GetEdgeColor()
The color the surface is drawn in when it is not colored by an array, and how opaque it is.
void SetRepresentationToFeatureEdges()
Set/get the representation mode.
const char * GetRenderedArrayName() override
The vtkScivisDataRepresentation contract.
void SetRepresentationToOutline()
Set/get the representation mode.
void SetColorModeToDirectScalars()
How the values of the color array become colors.
void SetRepresentation(int type)
Set/get the representation mode.
void ColorByPointArray(const char *arrayName)
Color by an array rather than by a single color.
double * GetColor()
The color the surface is drawn in when it is not colored by an array, and how opaque it is.
bool GetDataRange(const char *arrayName, int fieldAssoc, double range[2], int component=-1) override
The vtkScivisDataRepresentation contract.
vtkProperty * GetProperty()
The objects this representation is built from, for everything the API above does not cover.
void ColorByFieldArray(const char *arrayName)
Color by an array rather than by a single color.
void ResetColorArray()
Color by an array rather than by a single color.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)