30#ifndef vtkVolumeOutlineSource_h
31#define vtkVolumeOutlineSource_h
34#include "vtkRenderingVolumeModule.h"
93 vtkSetVector3Macro(
Color,
double);
94 vtkGetVector3Macro(
Color,
double);
103 vtkSetMacro(ActivePlaneId,
int);
104 vtkGetMacro(ActivePlaneId,
int);
113 vtkSetVector3Macro(ActivePlaneColor,
double);
114 vtkGetVector3Macro(ActivePlaneColor,
double);
127 double ActivePlaneColor[3];
132 double CroppingRegionPlanes[6];
137 unsigned char colors[2][3],
int activePlane,
int flags,
int tolPtId[3][4]);
140 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