Go to the documentation of this file.
30 #ifndef vtkVolumeOutlineSource_h
31 #define vtkVolumeOutlineSource_h
33 #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];
135 double croppingPlanes[6],
140 unsigned char colors[2][3],
147 unsigned char colors[2][3],
163 double color1[3],
double color2[3]);
168 int requestFromOutputPort,
represent and manipulate 3D points
vtkVolumeMapper * VolumeMapper
Abstract class for a volume mapper.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkTypeBool GenerateScalars
static vtkVolumeOutlineSource * New()
vtkTypeBool GenerateFaces
dynamic, self-adjusting array of unsigned char
static int ComputeCubePlanes(double planes[3][4], double croppingPlanes[6], double bounds[6])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
outline of volume cropping region
~vtkVolumeOutlineSource() override
static void GenerateLines(vtkCellArray *lines, vtkUnsignedCharArray *scalars, unsigned char colors[2][3], int activePlane, int flags, int tolPtId[3][4])
vtkVolumeMapper * GetVolumeMapper()
vtkTypeBool GenerateOutline
a simple class to control print indentation
object to represent cell connectivity
static void NudgeCropPlanesToBounds(int tolPtId[3][4], double planes[3][4], double tol)
static void GeneratePolys(vtkCellArray *polys, vtkUnsignedCharArray *scalars, unsigned char colors[2][3], int activePlane, int flags, int tolPtId[3][4])
static void CreateColorValues(unsigned char colors[2][3], double color1[3], double color2[3])
virtual void SetVolumeMapper(vtkVolumeMapper *mapper)
Set the mapper that has the cropping region that the outline will be generated for.
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 void GeneratePoints(vtkPoints *points, vtkCellArray *lines, vtkCellArray *polys, double planes[3][4], double tol)
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.