17#ifndef vtkProperty2D_h 
   18#define vtkProperty2D_h 
   21#include "vtkRenderingCoreModule.h"  
   23VTK_ABI_NAMESPACE_BEGIN
 
   26#define VTK_BACKGROUND_LOCATION 0 
   27#define VTK_FOREGROUND_LOCATION 1 
   50  vtkSetVector3Macro(Color, 
double);
 
   51  vtkGetVector3Macro(Color, 
double);
 
   58  vtkGetMacro(Opacity, 
double);
 
   59  vtkSetMacro(Opacity, 
double);
 
   68  vtkGetMacro(PointSize, 
float);
 
   77  vtkGetMacro(LineWidth, 
float);
 
   86  vtkSetMacro(LineStipplePattern, 
int);
 
   87  vtkGetMacro(LineStipplePattern, 
int);
 
   96  vtkSetClampMacro(LineStippleRepeatFactor, 
int, 1, 
VTK_INT_MAX);
 
   97  vtkGetMacro(LineStippleRepeatFactor, 
int);
 
  111  vtkGetMacro(DisplayLocation, 
int);
 
a simple class to control print indentation
 
abstract base class for most VTK objects
 
represent surface properties of a 2D image
 
int LineStippleRepeatFactor
 
void DeepCopy(vtkProperty2D *p)
Assign one property to another.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
void SetDisplayLocationToForeground()
The DisplayLocation is either background or foreground.
 
static vtkProperty2D * New()
Creates a vtkProperty2D with the following default values: Opacity 1, Color (1,1,1)
 
void SetDisplayLocationToBackground()
The DisplayLocation is either background or foreground.
 
~vtkProperty2D() override
 
virtual void Render(vtkViewport *vtkNotUsed(viewport))
Have the device specific subclass render this property.
 
abstract specification for Viewports
 
#define VTK_FOREGROUND_LOCATION
 
#define VTK_BACKGROUND_LOCATION