Exemplo n.º 1
0
// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
void RawBinaryReader::readFilterParameters(AbstractFilterParametersReader* reader, int index)
{
  reader->openFilterGroup(this, index);
  /* Code to read the values goes between these statements */
/* FILTER_WIDGETCODEGEN_AUTO_GENERATED_CODE BEGIN*/
  setInputFile( reader->readValue( "InputFile", getInputFile() ) );
  setScalarType( reader->readValue("ScalarType", getScalarType()) );
  setDimensionality( reader->readValue("Dimensionality", getDimensionality()) );
  setNumberOfComponents( reader->readValue("NumberOfComponents", getNumberOfComponents()) );
  setEndian( reader->readValue("Endian", getEndian()) );
  setDimensions( reader->readValue("Dimensions", getDimensions() ) );
  setOrigin( reader->readValue("Origin", getOrigin() ) );
  setResolution( reader->readValue("Resolution", getResolution() ) );
  setOverRideOriginResolution( reader->readValue("OverRideOriginResolution", getOverRideOriginResolution()) );
  setSkipHeaderBytes( reader->readValue("SkipHeaderBytes", getSkipHeaderBytes()) );
  setOutputArrayName( reader->readValue( "OutputArrayName", getOutputArrayName() ) );
/* FILTER_WIDGETCODEGEN_AUTO_GENERATED_CODE END*/
  reader->closeFilterGroup();
}
Exemplo n.º 2
0
// === GraphDensityDescriptor ============================================== //
GraphDensityDescriptor::GraphDensityDescriptor()
    : chemkit::MolecularDescriptor("graph-density")
{
    setDimensionality(2);
}
Exemplo n.º 3
0
// === GraphSizeDescriptor ================================================= //
GraphSizeDescriptor::GraphSizeDescriptor()
    : chemkit::MolecularDescriptor("graph-size")
{
    setDimensionality(2);
}
Exemplo n.º 4
0
// === GraphRadiusDescriptor =============================================== //
GraphRadiusDescriptor::GraphRadiusDescriptor()
    : chemkit::MolecularDescriptor("graph-radius")
{
    setDimensionality(2);
}
Exemplo n.º 5
0
// === GraphOrderDescriptor ================================================ //
GraphOrderDescriptor::GraphOrderDescriptor()
    : chemkit::MolecularDescriptor("graph-order")
{
    setDimensionality(2);
}
Exemplo n.º 6
0
// === GraphDiameterDescriptor ============================================= //
GraphDiameterDescriptor::GraphDiameterDescriptor()
    : chemkit::MolecularDescriptor("graph-diameter")
{
    setDimensionality(2);
}
HydrogenBondDonorsDescriptor::HydrogenBondDonorsDescriptor()
    : chemkit::MolecularDescriptor("hydrogen-bond-donors")
{
    setDimensionality(1);
}
RotatableBondsDescriptor::RotatableBondsDescriptor()
	: chemkit::MolecularDescriptor("rotatable-bonds")
{
    setDimensionality(0);
}
// === BondedGravitationalIndexDescriptor ================================== //
BondedGravitationalIndexDescriptor::BondedGravitationalIndexDescriptor()
    : chemkit::MolecularDescriptor("bonded-gravitational-index")
{
    setDimensionality(3);
}