Commit 635957a1 authored by Ken Martin's avatar Ken Martin
Browse files

ENH: removed GetPipelineBlah methods

parent 4879cb7e
......@@ -248,7 +248,11 @@ public:
vtkGetVector3Macro(Origin,double);
// Description:
// Set/Get the data scalar type (i.e VTK_DOUBLE).
// Set/Get the data scalar type (i.e VTK_DOUBLE). Note that these methods
// are setting and getting the pipeline scalar type. i.e. they are setting
// the type that the image data will be once it has executed. Until the
// REQUEST_DATA pass the actual scalars may be of some other type. This is
// for backwards compatibility
void SetScalarTypeToFloat(){this->SetScalarType(VTK_FLOAT);};
void SetScalarTypeToDouble(){this->SetScalarType(VTK_DOUBLE);};
void SetScalarTypeToInt(){this->SetScalarType(VTK_INT);};
......@@ -269,7 +273,8 @@ public:
const char* GetScalarTypeAsString() { return vtkImageScalarTypeNameMacro ( this->GetScalarType() ); };
// Description:
// Set/Get the number of scalar components for points.
// Set/Get the number of scalar components for points. As with the
// SetScalarType method this is setting pipeline info.
void SetNumberOfScalarComponents( int n );
int GetNumberOfScalarComponents();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment