Commit bbe1b6ca authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED 0001-FIXED-spelling-errors-mispells.patch

parent 46c54df7
......@@ -149,7 +149,7 @@ vtkSmartPointer<vtkImageData> AnisotropicDiffusion::itkProcessGradientAnisotropi
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -246,7 +246,7 @@ vtkSmartPointer<vtkImageData> AnisotropicDiffusion::itkProcessCurvatureAnisotrop
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -113,7 +113,7 @@ vtkSmartPointer<vtkImageData> CannyEdgeDetection::itkProcess(vtkSmartPointer<vtk
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -93,7 +93,7 @@ vtkSmartPointer<vtkImageData> ConnectedComponents::itkProcess(vtkSmartPointer<vt
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -125,7 +125,7 @@ vtkSmartPointer<vtkImageData> Derivative::itkProcess(vtkSmartPointer<vtkImageDat
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -137,7 +137,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> GaussianFilter::itkProcessStandardGaussian(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -81,7 +81,7 @@ vtkSmartPointer<vtkImageData> GradientMagnitude::itkProcess(vtkSmartPointer<vtkI
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -106,7 +106,7 @@ vtkSmartPointer<vtkImageData> GradientMagnitudeRecursiveGaussian::itkProcess(vtk
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -100,7 +100,7 @@ vtkSmartPointer<vtkImageData> Laplacian::itkProcess(vtkSmartPointer<vtkImageData
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -106,7 +106,7 @@ vtkSmartPointer<vtkImageData> LaplacianRecursiveGaussian::itkProcess(vtkSmartPoi
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -84,7 +84,7 @@ vtkSmartPointer<vtkImageData> LaplacianSharpening::itkProcess(vtkSmartPointer<vt
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -121,7 +121,7 @@ vtkSmartPointer<vtkImageData> MeanFilter::itkProcess(vtkSmartPointer<vtkImageDat
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -123,7 +123,7 @@ vtkSmartPointer<vtkImageData> MedianFilter::itkProcess(vtkSmartPointer<vtkImageD
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -181,7 +181,7 @@ vtkSmartPointer<vtkImageData> MorphologicalOperators::binaryErosionFilter(vtkSma
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -246,7 +246,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> MorphologicalOperators::binaryDilationFilter(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -311,7 +311,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> MorphologicalOperators::binaryClosureFilter(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -391,7 +391,7 @@ vtkSmartPointer<vtkImageData> MorphologicalOperators::binaryOpeningFilter(vtkSma
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -472,7 +472,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> MorphologicalOperators::greyLevelErosionFilter(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -538,7 +538,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> MorphologicalOperators::greyLevelDilationFilter(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -601,7 +601,7 @@ vtkSmartPointer<vtkImageData> MorphologicalOperators::greyLevelDilationFilter(vt
template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> MorphologicalOperators::greyLevelClosureFilter(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......@@ -679,7 +679,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> MorphologicalOperators::greyLevelOpeningFilter(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -90,7 +90,7 @@ vtkSmartPointer<vtkImageData> SobelEdgeDetection::itkProcess(vtkSmartPointer<vtk
vtkSmartPointer<vtkImageData> resultImage;
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -108,7 +108,7 @@ vtkSmartPointer<vtkImageData> ManualThreshold::itkProcess(vtkSmartPointer<vtkIma
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -258,7 +258,7 @@ template <class InputPixelType, class OutputPixelType, const int dim>
vtkSmartPointer<vtkImageData> OtsuFilter::itkProcess(vtkSmartPointer<vtkImageData> img) {
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< OutputPixelType, dim > OutputImageType;
......
......@@ -154,7 +154,7 @@ vtkSmartPointer<vtkImageData> RegionGrowing::itkProcess(vtkSmartPointer<vtkImage
vtkSmartPointer<vtkImageData> result = vtkSmartPointer<vtkImageData>::New();
// --------------------- Filters declaration and creation ----------------------
// Define ITK input and output image types with respect to the instanciation
// Define ITK input and output image types with respect to the instantiation
// types of the tamplate.
typedef itk::Image< InputPixelType, dim > InputImageType;
typedef itk::Image< double, dim > DoubleImageType;
......
......@@ -87,7 +87,7 @@ bool ItkImageComponentExtension::save(Component* c) const {
return succeed;
}
// Instanciate the template function saveImage
// instantiate the template function saveImage
// according to the input image type.
// Here by default, the Ouput pixel type corresponds to the input pixel type.
......
......@@ -29,7 +29,7 @@
using namespace std;
int main(int argc, char* argv[]) {
// just instanciate MonitoringGuiManager
// just instantiate MonitoringGuiManager
QApplication app(argc, argv);
MonitoringGuiManager* manager = new MonitoringGuiManager();
return app.exec();
......
......@@ -179,7 +179,7 @@ map<unsigned int, Cell*>::iterator getIterator(unsigned int index) {
// not present, insert a new cell, associated with index
if (it == neighMap.end()) {
// instanciate
// instantiate
Cell* nc = new Cell(NULL, StructureProperties::POLY_VERTEX);
// name
stringstream n(std::stringstream::out);
......
......@@ -35,7 +35,7 @@
//
// Output: the pml equivalent with n atoms
//
// Exemple of inputs:
// example of inputs:
// 212.949997 210.878006 49.9991989 211.138 218.839005 49.9991989
// 211.072998 214.925003 56.9520988 211.063995 206.959 56.9835014
// 211.104004 202.927002 49.9990997 211.065002 206.959 43.0144997
......
......@@ -37,7 +37,7 @@
//
// Output: the pml structural component containing the cells
//
// Exemple of inputs:
// example of inputs:
// 0 9 6
// 1 0 6
// 9 0 7
......@@ -49,7 +49,7 @@
// Input : two arguments
// Output : one pml cell containing all atoms between 1st and 2n arg
//
// Exemple of intputs:
// example of intputs:
// 14 545
// This will output a cell that uses atomRef 14, atomRef 15, atomRef 16... atomRef 545
//
......
......@@ -562,7 +562,7 @@ map<unsigned int, Cell*>::iterator getIterator(unsigned int index) {
// not present, insert a new cell, associated with index
if (it == neighMap.end()) {
// instanciate
// instantiate
Cell* nc = new Cell(NULL, StructureProperties::POLY_VERTEX);
// name
stringstream n(std::stringstream::out);
......
......@@ -63,7 +63,7 @@ camitk::Component* PMLComponentExtension::open(const QString& fileName) {
Application::showStatusBarMessage("Loading " + fileName + "...");
// instanciate the component
// instantiate the component
auto* pmlComponent = new PMLComponent(fileName);
// reset the progress bar
......
......@@ -39,7 +39,7 @@
Load* Load::LoadFactory(std::string type) {
Load* newOne = nullptr;
// instanciate depending on the load type
// instantiate depending on the load type
if (type == "Translation") {
newOne = new Translation();
}
......
......@@ -97,7 +97,7 @@ public:
*/
friend std::ostream& operator << (std::ostream&, const Loads);
/// read the input xml file using xsd and instanciate the loads
/// read the input xml file using xsd and instantiate the loads
/// @param filename: the input lml file (xml).
void xmlRead(std::string filename);
......
......@@ -53,7 +53,7 @@
//disable warnings on extern before template instantiation
#pragma warning (disable : 4231)
// Instanciate classes for stl templates
// instantiate classes for stl templates
// This does not create an object. It only forces the generation of all
// of the members of std::auto_ptr<mml::MonitoringIn>, std::vector<Monitor*>
// and std::vector<mml::TimeStep*>. It exports
......
......@@ -418,7 +418,7 @@ void MonitoringManager::saveMmlIn(const char* fileName) {
//-- save mml
xml_schema::namespace_infomap map;
map[""].name = "";
map[""].schema = ""; //TODO use correct path of XML Schema (what about an URL?), this would be great: one could validate the file before instanciating/unmarshalling
map[""].schema = ""; //TODO use correct path of XML Schema (what about an URL?), this would be great: one could validate the file before instantiating/unmarshalling
ofstream ofs(fileName);
mml::monitoringIn(ofs, *mmlIn, map);
......
......@@ -560,7 +560,7 @@ void SofaSimulator::createPml(const char* inputFile, const char* pmlFile) { //
pm = new PhysicalModel();
pm->setName(pmlName);
// instanciate the structural component
// instantiate the structural component
StructuralComponent* atoms = new StructuralComponent(NULL, "DOF");
// create the atom structures and create local and global maps between atoms and dof
......
......@@ -39,7 +39,7 @@
* A class to generate the external surface of a pml
* to use it just add the cells among which you want to extract an external surface
* designed for the case where a pml represent several object and thus there are several surface to extract
* for an exemple of use see SofaSimulator.cpp
* for an example of use see SofaSimulator.cpp
*/
class SurfaceExtractor {
......
......@@ -105,7 +105,7 @@ public:
void setPositionPointer(double* ptr, bool update = true);
private:
/// unique number (used to generate unique index for atoms if not given at the instanciation)
/// unique number (used to generate unique index for atoms if not given at the instantiation)
static unsigned int maxUniqueIndex;
/** allocate the memory needed for the position (double[3]).
......
......@@ -76,7 +76,7 @@ public:
static void resetUniqueIndex();
private:
/// unique number (used to generate unique index for cells if not given at the instanciation)
/// unique number (used to generate unique index for cells if not given at the instantiation)
static unsigned int maxUniqueIndex;
};
......
......@@ -168,7 +168,7 @@ std::map<unsigned int, Cell*>::iterator PMLTransform::getIterator(unsigned int i
// not present, insert a new cell, associated with index
if (it == neighMap.end()) {
// instanciate
// instantiate
Cell* nc = new Cell(nullptr, StructureProperties::POLY_VERTEX);
// name
std::stringstream n(std::stringstream::out);
......
......@@ -266,7 +266,7 @@ void PhysicalModel::xmlPrint(std::ostream& o, bool opt) {
o << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
o << "<!-- physical model (PML) is a generic representation for 3D physical model." << std::endl
<< " PML supports not continous indexes and multiple non-exclusive labelling." << std::endl
<< " PML supports not continuous indexes and multiple non-exclusive labelling." << std::endl
<< " --> " << std::endl;
o << "<physicalModel";
......
......@@ -95,7 +95,7 @@ public:
PhysicalModel() noexcept;
/**
* Instanciate a physical model object using a XML native format file
* instantiate a physical model object using a XML native format file
* This method may throw a PMLAbortException if a problem occurs.
*
* @param fileName the name of the xml file to use
......
......@@ -8,7 +8,7 @@
<object-type name="camitk::Component" >
<modify-function signature="Component(const QString &amp;, const QString &amp;, camitk::Component::Representation)">
<inject-code class="target" position="beginning">
// Force Shiboken not to instanciate Component (which is abstract) throught ComponentWrapper constructor
// Force Shiboken not to instantiate Component (which is abstract) throught ComponentWrapper constructor
// Let Shiboken believes we have called the constructor, which is not the case due to comments.
// cptr = new ComponentWrapper();
......@@ -16,7 +16,7 @@
</modify-function>
<modify-function signature="Component(camitk::Component*, const QString &amp;, camitk::Component::Representation)">
<inject-code class="target" position="beginning">
// Force Shiboken not to instanciate Component (which is abstract) throught ComponentWrapper constructor
// Force Shiboken not to instantiate Component (which is abstract) throught ComponentWrapper constructor
// Let Shiboken believes we have called the constructor, which is not the case due to comments.
// cptr = new ComponentWrapper();
......@@ -29,7 +29,7 @@
<modify-function signature="getChildren()" remove="all" />
<modify-function signature="InterfaceNode()">
<inject-code class="target" position="beginning">
// Force Shiboken not to instanciate InterfaceNode (which is abstract) throught InterfaceNodeWrapper constructor
// Force Shiboken not to instantiate InterfaceNode (which is abstract) throught InterfaceNodeWrapper constructor
// Let Shiboken believes we have called the constructor, which is not the case due to comments.
// cptr = new InterfaceNodeWrapper();
......@@ -40,7 +40,7 @@
<object-type name="camitk::InterfaceBitMap">
<modify-function signature="InterfaceBitMap()">
<inject-code class="target" position="beginning">
// Force Shiboken not to instanciate InterfaceBitMap (which is abstract) throught InterfaceBitMapWrapper constructor
// Force Shiboken not to instantiate InterfaceBitMap (which is abstract) throught InterfaceBitMapWrapper constructor
// Let Shiboken believes we have called the constructor, which is not the case due to comments.
// cptr = new InterfaceBitMapWrapper();
......@@ -52,7 +52,7 @@
<object-type name="camitk::InterfaceGeometry">
<modify-function signature="InterfaceGeometry()">
<inject-code class="target" position="beginning">
// Force Shiboken not to instanciate InterfaceGeometry (which is abstract) throught InterfaceGeometryWrapper constructor
// Force Shiboken not to instantiate InterfaceGeometry (which is abstract) throught InterfaceGeometryWrapper constructor
// Let Shiboken believes we have called the constructor, which is not the case due to comments.
// cptr = new InterfaceGeometryWrapper();
......@@ -66,7 +66,7 @@
<object-type name="camitk::InterfaceProperty">
<modify-function signature="InterfaceProperty()">
<inject-code class="target" position="beginning">
// Force Shiboken not to instanciate InterfaceProperty (which is abstract) throught InterfacePropertyWrapper constructor
// Force Shiboken not to instantiate InterfaceProperty (which is abstract) throught InterfacePropertyWrapper constructor
// Let Shiboken believes we have called the constructor, which is not the case due to comments.
// cptr = new InterfacePropertyWrapper();
......
......@@ -51,7 +51,7 @@ ChangeLanguage::ChangeLanguage(ActionExtension* extension) : Action(extension) {
setProperty("Language Selected", QVariant(""));
setProperty("Flag File Name", QVariant(""));
// lazy instanciation
// lazy instantiation
myWidget = NULL;
// Get the path of the Language File in the setting file
......
......@@ -62,7 +62,7 @@ OpenFile::OpenFile(ActionExtension* extension) : Action(extension) {
Property* fileNameProperty = new Property(tr("File Name"), "", tr("The name of the file to open."), "");
addParameter(fileNameProperty);
// lazy instanciation
// lazy instantiation
myWidget = NULL;
}
......
......@@ -35,7 +35,7 @@ using namespace camitk;
// --------------- constructor -------------------
RemoveLastInstanciatedAction::RemoveLastInstanciatedAction(ActionExtension* extension) : Action(extension) {
// Setting name, description and input component
setName("Remove Last Instanciated Top Level Component");
setName("Remove Last Instantiated Top Level Component");
setEmbedded(false);
setDescription(tr("Remove the last top level component that was instantiated without saving it"));
setComponent("");
......
......@@ -33,7 +33,7 @@ using namespace camitk;
// --------------- constructor -------------------
SelectLastInstanciatedAction::SelectLastInstanciatedAction(ActionExtension* extension) : Action(extension) {
// Setting name, description and input component
setName("Select Last Instanciated Top Level Component");
setName("Select Last Instantiated Top Level Component");
setEmbedded(false);
setDescription(tr("Select the last top level component that was instantiated"));
setComponent("");
......@@ -57,7 +57,7 @@ Action::ApplyStatus SelectLastInstanciatedAction::apply() {
allComponent.at(i)->getTopLevelComponent()->setSelected(false);
}
// select the last instanciated component
// select the last instantiated component
if (!allComponent.isEmpty()) {
Component* lastComponent = allComponent.last();
// select the top level component associated to this component
......@@ -72,7 +72,7 @@ Action::ApplyStatus SelectLastInstanciatedAction::apply() {
return SUCCESS;
}
else {
CAMITK_ERROR(tr("No top-level component instanciated. Nothing to select."))
CAMITK_ERROR(tr("No top-level component instantiated. Nothing to select."))
return ERROR;
}
}
......
......@@ -46,7 +46,7 @@ MeshPicking::MeshPicking(ActionExtension* extension) : Action(extension) {
setFamily("Basic Mesh");
addTag("Picking");
//-- widget lazy instanciation
//-- widget lazy instantiation
informationFrame = nullptr;
}
......
......@@ -58,7 +58,7 @@ MeshQuality::MeshQuality(ActionExtension* extension) : Action(extension) {
addTag("Distort");
addTag("Degenerated");
//-- widget lazy instanciation
//-- widget lazy instantiation
informationFrame = nullptr;
isConnected = false;
}
......
......@@ -52,7 +52,7 @@ Decimation::Decimation(ActionExtension* extension) : Action(extension) {
addTag(tr("Decimation"));
addTag(tr("Simplify"));
// lazy instanciation
// lazy instantiation
actionWidget = NULL;
// decimation properties
......
......@@ -57,8 +57,8 @@ ExportAsMDL::ExportAsMDL(ActionExtension* extension) : Action(extension) {
// Setting classification family and tags
setFamily("Mesh Processing");
// DO NOT Put any GUI instanciation here,
// If you need, do it in getWidget() method, using lazy instanciation
// DO NOT Put any GUI instantiation here,
// If you need, do it in getWidget() method, using lazy instantiation
}
// --------------- destructor -------------------
......@@ -70,7 +70,7 @@ ExportAsMDL::~ExportAsMDL() {
// --------------- getWidget -------------------
QWidget* ExportAsMDL::getWidget() {
// Use lazy instanciation (instanciate only once and when needed)
// Use lazy instantiation (instantiate only once and when needed)
// We will return the default action widget with an additionnal button
// build or update the widget
......
......@@ -53,8 +53,8 @@ LoadTextureFromBMP::LoadTextureFromBMP(ActionExtension* extension) : Action(exte
// Setting classification family and tags
setFamily("Mesh Processing");
// DO NOT Put any GUI instanciation here,
// If you need, do it in getWidget() method, using lazy instanciation
// DO NOT Put any GUI instantiation here,
// If you need, do it in getWidget() method, using lazy instantiation
}
// --------------- destructor -------------------
......@@ -104,7 +104,7 @@ void LoadTextureFromBMP::process(MeshComponent* comp) {
// --------------- getWidget -------------------
QWidget* LoadTextureFromBMP::getWidget() {
// Use lazy instanciation (instanciate only once and when needed)
// Use lazy instantiation (instantiate only once and when needed)
// We will return the default action widget with an additionnal button
// build or update the widget
......
......@@ -56,8 +56,8 @@ LoadTransformation::LoadTransformation(ActionExtension* extension) : Action(exte
// Tags allow the user to search the actions trhough themes
// You cad add tags here with the method addTag("tagName");
// DO NOT Put any GUI instanciation here,
// If you need, do it in getWidget() method, using lazy instanciation
// DO NOT Put any GUI instantiation here,
// If you need, do it in getWidget() method, using lazy instantiation
}
// --------------- destructor -------------------
......@@ -139,7 +139,7 @@ void LoadTransformation::loadTransformationFile() {
// --------------- getWidget -------------------
QWidget* LoadTransformation::getWidget() {
// Use lazy instanciation (instanciate only once and when needed)
// Use lazy instantiation (instantiate only once and when needed)
// We will return the default action widget with an additionnal button
// build or update the widget
......
......@@ -59,7 +59,7 @@ MeshClipping::MeshClipping(ActionExtension* extension): Action(extension) {
this->addTag(tr("Clipping"));
this->addTag(tr("3D Interaction"));
// please always use lazy instanciation for GUI
// please always use lazy instantiation for GUI
// (i.e., no GUI related code in action constructors)
this->widget = nullptr;
this->smoothing = false;
......
......@@ -55,8 +55,8 @@ SaveDisplacementFromTransformation::SaveDisplacementFromTransformation(ActionExt
// Tags allow the user to search the actions trhough themes
// You cad add tags here with the method addTag("tagName");
// DO NOT Put any GUI instanciation here,
// If you need, do it in getWidget() method, using lazy instanciation
// DO NOT Put any GUI instantiation here,
// If you need, do it in getWidget() method, using lazy instantiation
}
// --------------- destructor -------------------
......@@ -68,7 +68,7 @@ SaveDisplacementFromTransformation::~SaveDisplacementFromTransformation() {
// --------------- getWidget -------------------
QWidget* SaveDisplacementFromTransformation::getWidget() {
// Use lazy instanciation (instanciate only once and when needed)
// Use lazy instantiation (instantiate only once and when needed)
// We will return the default action widget with an additionnal button
// build or update the widget
......
......@@ -34,7 +34,7 @@
#include "ActionStateViewer.h"
// ---------------------- singleton ----------------------------
/// the register containing all the viewers (static instanciation, global variable, but global only for this file)
/// the register containing all the viewers (static instantiation, global variable, but global only for this file)
ActionStateViewer* ActionStateViewer::actionStateViewer;
// ---------------- getActionStateViewer ----------------
......