18#ifndef vtkVolumeOutlineSource_h
19#define vtkVolumeOutlineSource_h
22#include "vtkRenderingVolumeModule.h"
24VTK_ABI_NAMESPACE_BEGIN
82 vtkSetVector3Macro(Color,
double);
83 vtkGetVector3Macro(Color,
double);
92 vtkSetMacro(ActivePlaneId,
int);
93 vtkGetMacro(ActivePlaneId,
int);
102 vtkSetVector3Macro(ActivePlaneColor,
double);
103 vtkGetVector3Macro(ActivePlaneColor,
double);
116 double ActivePlaneColor[3];
121 double CroppingRegionPlanes[6];
126 unsigned char colors[2][3],
int activePlane,
int flags,
int tolPtId[3][4]);
129 unsigned char colors[2][3],
int activePlane,
int flags,
int tolPtId[3][4]);
object to represent cell connectivity
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
dynamic, self-adjusting array of unsigned char
Abstract class for a volume mapper.
outline of volume cropping region
int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, int requestFromOutputPort, vtkMTimeType *mtime) override
A special version of ProcessRequest meant specifically for the pipeline modified time request.
static int ComputeCubePlanes(double planes[3][4], double croppingPlanes[6], double bounds[6])
vtkTypeBool GenerateScalars
vtkVolumeMapper * GetVolumeMapper()
Set the mapper that has the cropping region that the outline will be generated for.
static void GeneratePolys(vtkCellArray *polys, vtkUnsignedCharArray *scalars, unsigned char colors[2][3], int activePlane, int flags, int tolPtId[3][4])
virtual void SetVolumeMapper(vtkVolumeMapper *mapper)
Set the mapper that has the cropping region that the outline will be generated for.
static void GenerateLines(vtkCellArray *lines, vtkUnsignedCharArray *scalars, unsigned char colors[2][3], int activePlane, int flags, int tolPtId[3][4])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void CreateColorValues(unsigned char colors[2][3], double color1[3], double color2[3])
vtkTypeBool GenerateFaces
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
static void GeneratePoints(vtkPoints *points, vtkCellArray *lines, vtkCellArray *polys, double planes[3][4], double tol)
static vtkVolumeOutlineSource * New()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkVolumeMapper * VolumeMapper
~vtkVolumeOutlineSource() override
vtkTypeBool GenerateOutline
static void NudgeCropPlanesToBounds(int tolPtId[3][4], double planes[3][4], double tol)
vtkTypeUInt32 vtkMTimeType