|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   51 #include "vtkRenderingCoreModule.h"  
   56 #define VTK_RESOLVE_OFF 0 
   57 #define VTK_RESOLVE_POLYGON_OFFSET 1 
   58 #define VTK_RESOLVE_SHIFT_ZBUFFER 2 
   60 #define VTK_GET_ARRAY_BY_ID 0 
   61 #define VTK_GET_ARRAY_BY_NAME 1 
   63 #define VTK_MATERIALMODE_DEFAULT 0 
   64 #define VTK_MATERIALMODE_AMBIENT 1 
   65 #define VTK_MATERIALMODE_DIFFUSE 2 
   66 #define VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE 3 
  122   virtual void CreateDefaultLookupTable();
 
  158   vtkSetMacro(ColorMode, 
int);
 
  159   vtkGetMacro(ColorMode, 
int);
 
  168   const char* GetColorModeAsString();
 
  177   vtkSetMacro(InterpolateScalarsBeforeMapping, 
vtkTypeBool);
 
  178   vtkGetMacro(InterpolateScalarsBeforeMapping, 
vtkTypeBool);
 
  179   vtkBooleanMacro(InterpolateScalarsBeforeMapping, 
vtkTypeBool);
 
  191   vtkSetMacro(UseLookupTableScalarRange, 
vtkTypeBool);
 
  192   vtkGetMacro(UseLookupTableScalarRange, 
vtkTypeBool);
 
  193   vtkBooleanMacro(UseLookupTableScalarRange, 
vtkTypeBool);
 
  202   vtkSetVector2Macro(ScalarRange, 
double);
 
  203   vtkGetVectorMacro(ScalarRange, 
double, 2);
 
  231   vtkSetMacro(ScalarMode, 
int);
 
  232   vtkGetMacro(ScalarMode, 
int);
 
  252   void SelectColorArray(
int arrayNum);
 
  253   void SelectColorArray(
const char* arrayName);
 
  262   vtkSetMacro(FieldDataTupleId, 
vtkIdType);
 
  263   vtkGetMacro(FieldDataTupleId, 
vtkIdType);
 
  271   void ColorByArrayComponent(
int arrayNum, 
int component);
 
  272   void ColorByArrayComponent(
const char* arrayName, 
int component);
 
  278   vtkGetStringMacro(ArrayName);
 
  279   vtkSetStringMacro(ArrayName);
 
  280   vtkGetMacro(ArrayId, 
int);
 
  281   vtkSetMacro(ArrayId, 
int);
 
  282   vtkGetMacro(ArrayAccessMode, 
int);
 
  283   vtkSetMacro(ArrayAccessMode, 
int);
 
  284   vtkGetMacro(ArrayComponent, 
int);
 
  285   vtkSetMacro(ArrayComponent, 
int);
 
  290   const char* GetScalarModeAsString();
 
  303   static void SetResolveCoincidentTopology(
int val);
 
  304   static int GetResolveCoincidentTopology();
 
  305   static void SetResolveCoincidentTopologyToDefault();
 
  323   static void SetResolveCoincidentTopologyPolygonOffsetParameters(
double factor, 
double units);
 
  324   static void GetResolveCoincidentTopologyPolygonOffsetParameters(
double& factor, 
double& units);
 
  332   void SetRelativeCoincidentTopologyPolygonOffsetParameters(
double factor, 
double units);
 
  333   void GetRelativeCoincidentTopologyPolygonOffsetParameters(
double& factor, 
double& units);
 
  342   static void SetResolveCoincidentTopologyLineOffsetParameters(
double factor, 
double units);
 
  343   static void GetResolveCoincidentTopologyLineOffsetParameters(
double& factor, 
double& units);
 
  351   void SetRelativeCoincidentTopologyLineOffsetParameters(
double factor, 
double units);
 
  352   void GetRelativeCoincidentTopologyLineOffsetParameters(
double& factor, 
double& units);
 
  361   static void SetResolveCoincidentTopologyPointOffsetParameter(
double units);
 
  362   static void GetResolveCoincidentTopologyPointOffsetParameter(
double& units);
 
  370   void SetRelativeCoincidentTopologyPointOffsetParameter(
double units);
 
  371   void GetRelativeCoincidentTopologyPointOffsetParameter(
double& units);
 
  379   void GetCoincidentTopologyPolygonOffsetParameters(
double& factor, 
double& units);
 
  380   void GetCoincidentTopologyLineOffsetParameters(
double& factor, 
double& units);
 
  381   void GetCoincidentTopologyPointOffsetParameter(
double& units);
 
  392   static void SetResolveCoincidentTopologyPolygonOffsetFaces(
int faces);
 
  393   static int GetResolveCoincidentTopologyPolygonOffsetFaces();
 
  401   static void SetResolveCoincidentTopologyZShift(
double val);
 
  402   static double GetResolveCoincidentTopologyZShift();
 
  418   vtkGetMacro(RenderTime, 
double);
 
  454   virtual bool HasOpaqueGeometry();
 
  455   virtual bool HasTranslucentPolygonalGeometry();
 
  471     std::vector<unsigned int>& , 
vtkProp* )
 
  483   virtual int CanUseTextureMapForColoring(
vtkDataObject* input);
 
  489   void ClearColorArrays();
 
  524   double ScalarRange[2];
 
  552   void operator=(
const vtkMapper&) = 
delete;
 
  
static void SetResolveCoincidentTopologyToOff()
#define VTK_SCALAR_MODE_DEFAULT
void SetScalarModeToUsePointData()
#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA
#define VTK_SCALAR_MODE_USE_POINT_DATA
#define VTK_COLOR_MODE_MAP_SCALARS
static void SetResolveCoincidentTopologyToShiftZBuffer()
void SetColorModeToDefault()
#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
double CoincidentPointOffset
#define VTK_RESOLVE_POLYGON_OFFSET
dynamic, self-adjusting array of float
record modification and/or execution time
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added Clipping planes.
dynamic, self-adjusting array of unsigned char
vtkImageData * ColorTextureMap
double CoincidentPolygonOffset
void SetRenderTime(double time)
This instance variable is used by vtkLODActor to determine which mapper to use.
vtkUnsignedCharArray * Colors
window superclass for vtkRenderWindow
double CoincidentPolygonFactor
void SetScalarModeToDefault()
vtkTypeBool ScalarVisibility
void SetScalarModeToUseCellData()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SCALAR_MODE_USE_CELL_DATA
#define VTK_SIZEHINT(...)
vtkTypeBool InterpolateScalarsBeforeMapping
virtual void ProcessSelectorPixelBuffers(vtkHardwareSelector *, std::vector< unsigned int > &, vtkProp *)
allows a mapper to update a selections color buffers Called from a prop which in turn is called from ...
abstract class specifies interface to map data to graphics primitives
#define VTK_SCALAR_MODE_USE_FIELD_DATA
vtkIdType FieldDataTupleId
vtkFloatArray * ColorCoordinates
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
Superclass for mapping scalar values to colors.
void SetScalarModeToUseFieldData()
vtkDataSet * GetInputAsDataSet()
Get the input to this mapper as a vtkDataSet, instead of as a more specialized data type that the sub...
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
abstract class to specify dataset behavior
Abstract superclass for all arrays.
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
abstract superclass for all actors, volumes and annotations
void SetColorModeToDirectScalars()
#define VTK_COLOR_MODE_DEFAULT
abstract class specifies interface to map 3D data
void SetColorModeToMapScalars()
double CoincidentLineOffset
static void SetResolveCoincidentTopologyToPolygonOffset()
abstract specification for renderers
#define VTK_RESOLVE_SHIFT_ZBUFFER
vtkScalarsToColors * LookupTable
vtkTypeBool UseLookupTableScalarRange
#define VTK_COLOR_MODE_DIRECT_SCALARS
double CoincidentLineFactor
general representation of visualization data
void SetScalarModeToUsePointFieldData()
abstract class specifies interface to map data
vtkTypeUInt32 vtkMTimeType
void SetScalarModeToUseCellFieldData()