Commit 55b9891b authored by Sean McBride's avatar Sean McBride

Apply clang-tidy modernize-redundant-void-arg

parent 5a022f79
......@@ -80,7 +80,7 @@ void vtkParametricRandomHills::InitRNG(int randomSeed)
}
//----------------------------------------------------------------------------
double vtkParametricRandomHills::Rand(void)
double vtkParametricRandomHills::Rand()
{
double x = this->randomSequenceGenerator->GetValue();
this->randomSequenceGenerator->Next();
......@@ -132,7 +132,7 @@ double vtkParametricRandomHills::EvaluateScalar(double* vtkNotUsed(
return 0;
}
void vtkParametricRandomHills::MakeTheHillData(void)
void vtkParametricRandomHills::MakeTheHillData()
{
this->hillData->Initialize();
this->hillData->SetNumberOfComponents(5);
......
......@@ -42,7 +42,7 @@ void vtkLargeInteger::Contract()
}
vtkLargeInteger::vtkLargeInteger(void)
vtkLargeInteger::vtkLargeInteger()
{
this->Number = new char[BIT_INCREMENT];
this->Number[0] = 0;
......@@ -150,27 +150,27 @@ vtkLargeInteger::vtkLargeInteger(const vtkLargeInteger& n)
}
}
vtkLargeInteger::~vtkLargeInteger(void)
vtkLargeInteger::~vtkLargeInteger()
{
delete []this->Number;
}
char vtkLargeInteger::CastToChar(void) const
char vtkLargeInteger::CastToChar() const
{
return this->CastToLong();
}
short vtkLargeInteger::CastToShort(void) const
short vtkLargeInteger::CastToShort() const
{
return this->CastToLong();
}
int vtkLargeInteger::CastToInt(void) const
int vtkLargeInteger::CastToInt() const
{
return this->CastToLong();
}
long vtkLargeInteger::CastToLong(void) const
long vtkLargeInteger::CastToLong() const
{
long n = 0;
......@@ -188,7 +188,7 @@ long vtkLargeInteger::CastToLong(void) const
}
// convert to an unsigned long, return max if bigger than unsigned long
unsigned long vtkLargeInteger::CastToUnsignedLong(void) const
unsigned long vtkLargeInteger::CastToUnsignedLong() const
{
unsigned long n = 0;
......@@ -212,17 +212,17 @@ unsigned long vtkLargeInteger::CastToUnsignedLong(void) const
return n;
}
int vtkLargeInteger::IsEven(void) const
int vtkLargeInteger::IsEven() const
{
return this->Number[0] == 0;
}
int vtkLargeInteger::IsOdd(void) const
int vtkLargeInteger::IsOdd() const
{
return this->Number[0] == 1;
}
int vtkLargeInteger::GetLength(void) const
int vtkLargeInteger::GetLength() const
{
return this->Sig + 1;
}
......@@ -237,12 +237,12 @@ int vtkLargeInteger::GetBit(unsigned int p) const
return 0;
}
int vtkLargeInteger::IsZero(void) const
int vtkLargeInteger::IsZero() const
{
return (this->Sig == 0 && this->Number[0] == 0);
}
int vtkLargeInteger::GetSign(void) const
int vtkLargeInteger::GetSign() const
{
return this->Negative;
}
......@@ -262,7 +262,7 @@ void vtkLargeInteger::Truncate(unsigned int n)
}
}
void vtkLargeInteger::Complement(void)
void vtkLargeInteger::Complement()
{
if (!this->IsZero()) // can't have negative zeros
{
......@@ -579,12 +579,12 @@ vtkLargeInteger& vtkLargeInteger::operator>>=(int n)
return *this;
}
vtkLargeInteger& vtkLargeInteger::operator++(void)
vtkLargeInteger& vtkLargeInteger::operator++()
{
return (*this += 1);
}
vtkLargeInteger& vtkLargeInteger::operator--(void)
vtkLargeInteger& vtkLargeInteger::operator--()
{
return (*this -= 1);
}
......
......@@ -65,7 +65,7 @@ void vtkMinimalStandardRandomSequence::SetSeed(int value)
}
// ----------------------------------------------------------------------------
int vtkMinimalStandardRandomSequence::GetSeed(void)
int vtkMinimalStandardRandomSequence::GetSeed()
{
return this->Seed;
}
......
......@@ -508,13 +508,13 @@ vtkIdType vtkStringArray::InsertNextValue(vtkStdString f)
}
// ----------------------------------------------------------------------------
int vtkStringArray::GetDataTypeSize( void )
int vtkStringArray::GetDataTypeSize( )
{
return static_cast<int>(sizeof(vtkStdString));
}
// ----------------------------------------------------------------------------
unsigned long vtkStringArray::GetActualMemorySize( void )
unsigned long vtkStringArray::GetActualMemorySize( )
{
size_t totalSize = 0;
size_t numPrims = static_cast<size_t>(this->GetSize());
......
......@@ -1141,7 +1141,7 @@ void vtkCellLocator::GetOverlappingBuckets(const double x[3], int vtkNotUsed(ijk
//----------------------------------------------------------------------------
// number of buckets available
int vtkCellLocator::GetNumberOfBuckets(void)
int vtkCellLocator::GetNumberOfBuckets()
{
if (this->Tree)
{
......
......@@ -105,7 +105,7 @@ void vtkImplicitSum::RemoveAllFunctions()
}
//----------------------------------------------------------------------------
void vtkImplicitSum::CalculateTotalWeight(void)
void vtkImplicitSum::CalculateTotalWeight()
{
this->TotalWeight = 0.0;
......
......@@ -93,7 +93,7 @@ void vtkIterativeClosestPointTransform::SetSource(vtkDataSet *source)
//----------------------------------------------------------------------------
void vtkIterativeClosestPointTransform::ReleaseSource(void) {
void vtkIterativeClosestPointTransform::ReleaseSource() {
if (this->Source)
{
this->Source->UnRegister(this);
......@@ -126,7 +126,7 @@ void vtkIterativeClosestPointTransform::SetTarget(vtkDataSet *target)
//----------------------------------------------------------------------------
void vtkIterativeClosestPointTransform::ReleaseTarget(void) {
void vtkIterativeClosestPointTransform::ReleaseTarget() {
if (this->Target)
{
this->Target->UnRegister(this);
......@@ -159,7 +159,7 @@ void vtkIterativeClosestPointTransform::SetLocator(vtkCellLocator *locator)
//----------------------------------------------------------------------------
void vtkIterativeClosestPointTransform::ReleaseLocator(void) {
void vtkIterativeClosestPointTransform::ReleaseLocator() {
if (this->Locator)
{
this->Locator->UnRegister(this);
......
......@@ -530,7 +530,7 @@ int vtkPolyDataNormals::RequestData(
// Propagate wave of consistently ordered polygons.
//
void vtkPolyDataNormals::TraverseAndOrder (void)
void vtkPolyDataNormals::TraverseAndOrder ()
{
vtkIdType i, k;
int j, l, j1;
......
......@@ -593,7 +593,7 @@ void vtkQuadricDecimation::InitializeQuadrics(vtkIdType numPts)
}
void vtkQuadricDecimation::AddBoundaryConstraints(void)
void vtkQuadricDecimation::AddBoundaryConstraints()
{
vtkPolyData *input = this->Mesh;
double *QEM;
......@@ -1312,7 +1312,7 @@ const double *x)
}
void vtkQuadricDecimation::ComputeNumberOfComponents(void)
void vtkQuadricDecimation::ComputeNumberOfComponents()
{
vtkPointData *pd = this->Mesh->GetPointData();
int i, j;
......
......@@ -232,7 +232,7 @@ int vtkSphereTreeFilter::FillInputPortInformation(int, vtkInformation *info)
}
//----------------------------------------------------------------------------
const char *vtkSphereTreeFilter::GetExtractionModeAsString(void)
const char *vtkSphereTreeFilter::GetExtractionModeAsString()
{
if ( this->ExtractionMode == VTK_SPHERE_TREE_LEVELS )
{
......
......@@ -347,7 +347,7 @@ int vtkThreshold::EvaluateComponents( vtkDataArray *scalars, vtkIdType id )
// Return the method for manipulating scalar data as a string.
const char *vtkThreshold::GetAttributeModeAsString(void)
const char *vtkThreshold::GetAttributeModeAsString()
{
if ( this->AttributeMode == VTK_ATTRIBUTE_MODE_DEFAULT )
{
......@@ -364,7 +364,7 @@ const char *vtkThreshold::GetAttributeModeAsString(void)
}
// Return a string representation of the component mode
const char *vtkThreshold::GetComponentModeAsString(void)
const char *vtkThreshold::GetComponentModeAsString()
{
if ( this->ComponentMode == VTK_COMPONENT_MODE_USE_SELECTED )
{
......
......@@ -779,7 +779,7 @@ vtkIdType vtkTubeFilter::ComputeOffset(vtkIdType offset, vtkIdType npts)
// Description:
// Return the method of varying tube radius descriptive character string.
const char *vtkTubeFilter::GetVaryRadiusAsString(void)
const char *vtkTubeFilter::GetVaryRadiusAsString()
{
if ( this->VaryRadius == VTK_VARY_RADIUS_OFF )
{
......@@ -801,7 +801,7 @@ const char *vtkTubeFilter::GetVaryRadiusAsString(void)
// Description:
// Return the method of generating the texture coordinates.
const char *vtkTubeFilter::GetGenerateTCoordsAsString(void)
const char *vtkTubeFilter::GetGenerateTCoordsAsString()
{
if ( this->GenerateTCoords == VTK_TCOORDS_OFF )
{
......
......@@ -249,7 +249,7 @@ GenerateScalars(vtkIdType num, vtkDataArray *v, vtkFloatArray *s)
//----------------------------------------------------------------------------
// Return the method for generating scalar data as a string.
const char *vtkVectorNorm::GetAttributeModeAsString(void)
const char *vtkVectorNorm::GetAttributeModeAsString()
{
if ( this->AttributeMode == VTK_ATTRIBUTE_MODE_DEFAULT )
{
......
......@@ -39,7 +39,7 @@ const double Epsilon_=1E-8;
//////////////////////////////////////////////////////////////////////////////
// Main management and support for tree
//////////////////////////////////////////////////////////////////////////////
vtkModifiedBSPTree::vtkModifiedBSPTree(void)
vtkModifiedBSPTree::vtkModifiedBSPTree()
{
this->NumberOfCellsPerNode = 32;
this->mRoot = nullptr;
......@@ -49,13 +49,13 @@ vtkModifiedBSPTree::vtkModifiedBSPTree(void)
this->npn = this->nln = this->tot_depth = 0;
}
//---------------------------------------------------------------------------
vtkModifiedBSPTree::~vtkModifiedBSPTree(void)
vtkModifiedBSPTree::~vtkModifiedBSPTree()
{
this->FreeSearchStructure();
this->FreeCellBounds();
}
//---------------------------------------------------------------------------
void vtkModifiedBSPTree::FreeSearchStructure(void)
void vtkModifiedBSPTree::FreeSearchStructure()
{
delete this->mRoot;
this->mRoot = nullptr;
......@@ -93,7 +93,7 @@ public:
}
global_list_count += 1;
};
~Sorted_cell_extents_Lists(void)
~Sorted_cell_extents_Lists()
{
for (int i=0; i<3; i++)
{
......
......@@ -250,7 +250,7 @@ int vtkCellDerivatives::RequestData(
return 1;
}
const char *vtkCellDerivatives::GetVectorModeAsString(void)
const char *vtkCellDerivatives::GetVectorModeAsString()
{
if ( this->VectorMode == VTK_VECTOR_MODE_PASS_VECTORS )
{
......@@ -266,7 +266,7 @@ const char *vtkCellDerivatives::GetVectorModeAsString(void)
}
}
const char *vtkCellDerivatives::GetTensorModeAsString(void)
const char *vtkCellDerivatives::GetTensorModeAsString()
{
if ( this->TensorMode == VTK_TENSOR_MODE_PASS_TENSORS )
{
......
......@@ -1226,7 +1226,7 @@ int vtkCellTreeLocator::IntersectCellInternal(
return this->GenericCell->IntersectWithLine(const_cast<double*>(p1), const_cast<double*>(p2), tol, t, ipt, pcoords, subId);
}
//----------------------------------------------------------------------------
void vtkCellTreeLocator::FreeSearchStructure(void)
void vtkCellTreeLocator::FreeSearchStructure()
{
delete this->Tree;
this->Tree = nullptr;
......
......@@ -347,7 +347,7 @@ const char *vtkSplineFilter::GetSubdivideAsString()
}
// Return the method of generating the texture coordinates.
const char *vtkSplineFilter::GetGenerateTCoordsAsString(void)
const char *vtkSplineFilter::GetGenerateTCoordsAsString()
{
if ( this->GenerateTCoords == VTK_TCOORDS_OFF )
{
......
......@@ -105,7 +105,7 @@ public:
vtkTableBasedClipperEdgeHashEntry();
virtual ~vtkTableBasedClipperEdgeHashEntry() = default;
int GetPointId(void) { return ptId; };
int GetPointId() { return ptId; };
void SetInfo( int, int, int );
void SetNext( vtkTableBasedClipperEdgeHashEntry * n ) { next = n; };
bool IsMatch( int i1, int i2 )
......
......@@ -370,7 +370,7 @@ int vtkContourLoopExtraction::RequestData(
//----------------------------------------------------------------------------
const char *vtkContourLoopExtraction::
GetLoopClosureAsString(void)
GetLoopClosureAsString()
{
if ( this->LoopClosure == VTK_LOOP_CLOSURE_OFF )
{
......@@ -388,7 +388,7 @@ GetLoopClosureAsString(void)
//----------------------------------------------------------------------------
const char *vtkContourLoopExtraction::
GetOutputModeAsString(void)
GetOutputModeAsString()
{
if ( this->OutputMode == VTK_OUTPUT_POLYGONS )
{
......
......@@ -496,7 +496,7 @@ vtkIdType vtkRibbonFilter::ComputeOffset(vtkIdType offset, vtkIdType npts)
// Description:
// Return the method of generating the texture coordinates.
const char *vtkRibbonFilter::GetGenerateTCoordsAsString(void)
const char *vtkRibbonFilter::GetGenerateTCoordsAsString()
{
if ( this->GenerateTCoords == VTK_TCOORDS_OFF )
{
......
......@@ -537,7 +537,7 @@ void vtkRuledSurfaceFilter::PointWalk(vtkPolyData *output, vtkPoints *inPts,
}//while still building the stripe
}
const char *vtkRuledSurfaceFilter::GetRuledModeAsString(void)
const char *vtkRuledSurfaceFilter::GetRuledModeAsString()
{
if ( this->RuledMode == VTK_RULED_MODE_RESAMPLE )
{
......
......@@ -318,7 +318,7 @@ void vtkProgrammableGlyphFilter::SetGlyphMethodArgDelete(
// Description:
// Return the method of coloring as a descriptive character string.
const char *vtkProgrammableGlyphFilter::GetColorModeAsString(void)
const char *vtkProgrammableGlyphFilter::GetColorModeAsString()
{
if ( this->ColorMode == VTK_COLOR_BY_INPUT )
{
......
......@@ -525,7 +525,7 @@ void ConvertDNotationToENotation (char *line)
// Return the elevation reference.
const char *vtkDEMReader::GetElevationReferenceAsString(void)
const char *vtkDEMReader::GetElevationReferenceAsString()
{
if ( this->ElevationReference == REFERENCE_SEA_LEVEL )
{
......
......@@ -363,7 +363,7 @@ int vtkMetaImageReader::CanReadFile(const char* fname)
}
//----------------------------------------------------------------------------
int vtkMetaImageReader::GetDataByteOrder(void)
int vtkMetaImageReader::GetDataByteOrder()
{
return vtkmetaio::MET_SystemByteOrderMSB();
}
......
......@@ -71,7 +71,7 @@ static void cleanup_name (char *);
static void list_insert (vtk3DSList **root, vtk3DSList *new_node);
static void *list_find (vtk3DSList **root, const char *name);
static void list_kill (vtk3DSList **root);
static vtk3DSMatProp *create_mprop (void);
static vtk3DSMatProp *create_mprop ();
static vtk3DSMesh *create_mesh (char *name, int vertices, int faces);
static int parse_3ds_file (vtk3DSImporter *importer);
static void parse_3ds (vtk3DSImporter *importer, vtk3DSChunk *mainchunk);
......
......@@ -39,7 +39,7 @@ template <class T> bool IsZero( T value )
class vtkSimple3DCirclesStrategyInternal
{
public:
vtkSimple3DCirclesStrategyInternal( void ) = default;
vtkSimple3DCirclesStrategyInternal( ) = default;
vtkSimple3DCirclesStrategyInternal( const vtkSimple3DCirclesStrategyInternal &from )
{
if ( &from != this )
......@@ -56,15 +56,15 @@ public:
this->store = from;
return *this;
};
vtkIdType front( void )
vtkIdType front( )
{
return this->store.front();
};
void pop_front( void )
void pop_front( )
{
this->store.pop_front();
};
std::size_t size( void )
std::size_t size( )
{
return this->store.size();
};
......@@ -72,7 +72,7 @@ public:
{
this->store.push_back( value );
};
~vtkSimple3DCirclesStrategyInternal( void )
~vtkSimple3DCirclesStrategyInternal( )
{
this->store.clear();
};
......@@ -268,7 +268,7 @@ void vtkSimple3DCirclesStrategy::SetMarkedValue( vtkVariant val )
}
}
vtkVariant vtkSimple3DCirclesStrategy::GetMarkedValue( void )
vtkVariant vtkSimple3DCirclesStrategy::GetMarkedValue( )
{
return this->MarkedValue;
}
......@@ -278,7 +278,7 @@ void vtkSimple3DCirclesStrategy::SetMinimumDegree( double degree )
this->SetMinimumRadian( vtkMath::RadiansFromDegrees( degree ) );
}
double vtkSimple3DCirclesStrategy::GetMinimumDegree( void )
double vtkSimple3DCirclesStrategy::GetMinimumDegree( )
{
return vtkMath::DegreesFromRadians( this->GetMinimumRadian() );
}
......@@ -286,7 +286,7 @@ double vtkSimple3DCirclesStrategy::GetMinimumDegree( void )
vtkCxxSetObjectMacro(vtkSimple3DCirclesStrategy,HierarchicalLayers,vtkIntArray);
vtkCxxSetObjectMacro(vtkSimple3DCirclesStrategy,HierarchicalOrder,vtkIdTypeArray);
vtkSimple3DCirclesStrategy::vtkSimple3DCirclesStrategy( void )
vtkSimple3DCirclesStrategy::vtkSimple3DCirclesStrategy( )
: Radius(1), Height(1), Method(FixedRadiusMethod), MarkedStartVertices(nullptr), ForceToUseUniversalStartPointsFinder(0), AutoHeight(0), MinimumRadian(vtkMath::Pi()/6.0), HierarchicalLayers(nullptr), HierarchicalOrder(nullptr)
{
this->Direction[0] = this->Direction[1] = 0.0; this->Direction[2] = 1.0;
......@@ -296,14 +296,14 @@ vtkSimple3DCirclesStrategy::vtkSimple3DCirclesStrategy( void )
this->Origin[0] = this->Origin[1] = this->Origin[2] = 0.0;
}
vtkSimple3DCirclesStrategy::~vtkSimple3DCirclesStrategy( void )
vtkSimple3DCirclesStrategy::~vtkSimple3DCirclesStrategy( )
{
this->SetMarkedStartVertices(nullptr);
this->SetHierarchicalLayers(nullptr);
this->SetHierarchicalOrder(nullptr);
}
void vtkSimple3DCirclesStrategy::Layout( void )
void vtkSimple3DCirclesStrategy::Layout( )
{
if ( this->Graph == nullptr )
{
......
......@@ -1184,7 +1184,7 @@ void vtkBrokenLineWidget::SetNumberOfHandles( int npts )
}
}
void vtkBrokenLineWidget::Initialize( void )
void vtkBrokenLineWidget::Initialize( )
{
int i;
if ( this->Interactor )
......
......@@ -569,7 +569,7 @@ void vtkCurveRepresentation::SetPlaneSource(vtkPlaneSource* plane)
}
//----------------------------------------------------------------------------
void vtkCurveRepresentation::Initialize(void)
void vtkCurveRepresentation::Initialize()
{
int i;
for ( i = 0; i < this->NumberOfHandles; ++i )
......
......@@ -441,7 +441,7 @@ void vtkImagePlaneWidget::OnChar()
}
//----------------------------------------------------------------------------
void vtkImagePlaneWidget::AddObservers(void)
void vtkImagePlaneWidget::AddObservers()
{
// listen for the following events
vtkRenderWindowInteractor *i = this->Interactor;
......@@ -2406,7 +2406,7 @@ vtkPolyDataAlgorithm *vtkImagePlaneWidget::GetPolyDataAlgorithm()
}
//----------------------------------------------------------------------------
void vtkImagePlaneWidget::UpdatePlacement(void)
void vtkImagePlaneWidget::UpdatePlacement()
{
this->UpdatePlane();
this->UpdateMargins();
......
......@@ -357,7 +357,7 @@ void vtkImageTracerWidget::ProcessEvents(vtkObject* vtkNotUsed(object),
}
}
void vtkImageTracerWidget::AddObservers(void)
void vtkImageTracerWidget::AddObservers()
{
// Listen for the following events
vtkRenderWindowInteractor *i = this->Interactor;
......@@ -1137,7 +1137,7 @@ void vtkImageTracerWidget::Translate(const double *p1, const double *p2)
this->LineData->Modified();
}
void vtkImageTracerWidget::ResetHandles(void)
void vtkImageTracerWidget::ResetHandles()
{
if ( this->NumberOfHandles == 0 ){ return; }
......
......@@ -1702,7 +1702,7 @@ void vtkPlaneWidget::GetPlane(vtkPlane *plane)
plane->SetOrigin(this->GetCenter());
}
void vtkPlaneWidget::UpdatePlacement(void)
void vtkPlaneWidget::UpdatePlacement()
{
this->PlaneSource->Update();
this->PositionHandles();
......
......@@ -1254,7 +1254,7 @@ void vtkSplineWidget::SetNumberOfHandles(int npts)
}
}
void vtkSplineWidget::Initialize(void)
void vtkSplineWidget::Initialize()
{
int i;
if ( this->Interactor )
......
......@@ -112,7 +112,7 @@ void vtkAbstractVolumeMapper::SelectScalarArray(const char *arrayName)
}
// Return the method for obtaining scalar data.
const char *vtkAbstractVolumeMapper::GetScalarModeAsString(void)
const char *vtkAbstractVolumeMapper::GetScalarModeAsString()
{
if ( this->ScalarMode == VTK_SCALAR_MODE_USE_CELL_DATA )
{
......
......@@ -327,7 +327,7 @@ double vtkFrustumCoverageCuller::Cull( vtkRenderer *ren,
// Description:
// Return the sorting style as a descriptive character string.
const char *vtkFrustumCoverageCuller::GetSortingStyleAsString(void)
const char *vtkFrustumCoverageCuller::GetSortingStyleAsString()
{
if( this->SortingStyle == VTK_CULLER_SORT_NONE )
{
......
......@@ -476,7 +476,7 @@ int vtkGlyph3DMapper::FillInputPortInformation(int port,
// ---------------------------------------------------------------------------
// Description:
// Return the method of scaling as a descriptive character string.
const char *vtkGlyph3DMapper::GetScaleModeAsString(void)
const char *vtkGlyph3DMapper::GetScaleModeAsString()
{
if ( this->ScaleMode == SCALE_BY_MAGNITUDE)
{
......
......@@ -1268,7 +1268,7 @@ void vtkLODProp3D::UpdateKeysForSelectedProp()
this->GetPropertyKeys());
}
int vtkLODProp3D::GetPickLODID(void)
int vtkLODProp3D::GetPickLODID()
{
vtkDebugMacro(<< "vtkLODProp3D::GetPickLODID");
int lodID, index;
......
......@@ -675,7 +675,7 @@ void vtkMapper::CreateDefaultLookupTable()
//-------------------------------------------------------------------
// Return the method of coloring scalar data.
const char *vtkMapper::GetColorModeAsString(void)
const char *vtkMapper::GetColorModeAsString()
{
if ( this->ColorMode == VTK_COLOR_MODE_MAP_SCALARS )
{
......@@ -688,7 +688,7 @@ const char *vtkMapper::GetColorModeAsString(void)
}
// Return the method for obtaining scalar data.
const char *vtkMapper::GetScalarModeAsString(void)
const char *vtkMapper::GetScalarModeAsString()
{
if ( this->ScalarMode == VTK_SCALAR_MODE_USE_CELL_DATA )
{
......
......@@ -297,7 +297,7 @@ void vtkPolyDataMapper2D::CreateDefaultLookupTable()
//----------------------------------------------------------------------------
// Return the method of coloring scalar data.
const char *vtkPolyDataMapper2D::GetColorModeAsString(void)
const char *vtkPolyDataMapper2D::GetColorModeAsString()
{
return (this->ColorMode == VTK_COLOR_MODE_MAP_SCALARS) ? "MapScalars" : "Default";
}
......
......@@ -470,14 +470,14 @@ void vtkRenderWindow::PrintSelf(ostream& os, vtkIndent indent)
//----------------------------------------------------------------------------
// Update the system, if needed, due to stereo rendering. For some stereo
// methods, subclasses might need to switch some hardware settings here.
void vtkRenderWindow::StereoUpdate(void)
void vtkRenderWindow::StereoUpdate()
{
}
//----------------------------------------------------------------------------
// Intermediate method performs operations required between the rendering
// of the left and right eye.
void vtkRenderWindow::StereoMidpoint(void)
void vtkRenderWindow::StereoMidpoint()
{
vtkRenderer * aren;
/* For IceT stereo */
......@@ -503,7 +503,7 @@ void vtkRenderWindow::StereoMidpoint(void)
//----------------------------------------------------------------------------
// Handles work required once both views have been rendered when using
// stereo rendering.
void vtkRenderWindow::StereoRenderComplete(void)
void vtkRenderWindow::StereoRenderComplete()
{
switch (this->StereoType)
{
......@@ -879,7 +879,7 @@ void vtkRenderWindow::StereoRenderComplete(void)
}
//----------------------------------------------------------------------------
void vtkRenderWindow::CopyResultFrame(void)
void vtkRenderWindow::CopyResultFrame()
{
if (this->ResultFrame)
{
......
......@@ -68,7 +68,7 @@ void vtkRenderWindowInteractor3D::Disable()
}
//----------------------------------------------------------------------------
void vtkRenderWindowInteractor3D::TerminateApp(void)
void vtkRenderWindowInteractor3D::TerminateApp()
{
this->Done = true;
}
......
......@@ -232,7 +232,7 @@ void vtkRenderer::ReleaseGraphicsResources(vtkWindow *renWin)
}
// Concrete render method.
void vtkRenderer::Render(void)
void vtkRenderer::Render()
{
vtkRenderTimerLog *timer = this->RenderWindow->GetRenderTimer();
VTK_SCOPED_RENDER_EVENT("vtkRenderer::Render this=@" << std::hex << this
......@@ -935,7 +935,7 @@ vtkLight *vtkRenderer::MakeLight()
return vtkLight::New();