This file is indexed.

/usr/include/InsightToolkit/SpatialObject/itkSpatialObjectProperty.txx is in libinsighttoolkit3-dev 3.20.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    itkSpatialObjectProperty.txx
  Language:  C++
  Date:      $Date$
  Version:   $Revision$

  Copyright (c) Insight Software Consortium. All rights reserved.
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/

#ifndef __itkSpatialObjectProperty_txx
#define __itkSpatialObjectProperty_txx

#include "itkSpatialObjectProperty.h"

namespace itk
{
  
template< class TComponentType >
SpatialObjectProperty< TComponentType >
::SpatialObjectProperty()
{
  m_MTime=0;
  m_Color.SetRed(1);
  m_Color.SetGreen(1);
  m_Color.SetBlue(1);
  m_Color.SetAlpha(1);
  m_Name = "";
}

template< class TComponentType >
SpatialObjectProperty< TComponentType >
::~SpatialObjectProperty()
{

}


template< class TComponentType >
const typename SpatialObjectProperty< TComponentType >::PixelType &
SpatialObjectProperty< TComponentType >
::GetColor( void ) const
{ 
  return m_Color; 
}

template< class TComponentType >
void 
SpatialObjectProperty< TComponentType >
::SetColor( const PixelType & color )
{
  m_Color = color;
  this->Modified(); 
}

template< class TComponentType >
void 
SpatialObjectProperty< TComponentType >
::SetColor( TComponentType r, TComponentType g ,TComponentType b)
{
  m_Color.SetRed(r); 
  m_Color.SetGreen(g); 
  m_Color.SetBlue(b); 
  this->Modified();
}

template< class TComponentType >
void
SpatialObjectProperty< TComponentType >
::SetRed( TComponentType r )
{ 
  m_Color.SetRed(r); 
  this->Modified();
}

template< class TComponentType >
TComponentType 
SpatialObjectProperty< TComponentType >
::GetRed( void ) const
{ 
  return m_Color.GetRed(); 
}

template< class TComponentType >
void 
SpatialObjectProperty< TComponentType >
::SetGreen( TComponentType g )
{ 
  m_Color.SetGreen(g);
  this->Modified(); 
}

template< class TComponentType >
TComponentType
SpatialObjectProperty< TComponentType >
::GetGreen( void ) const
{
  return m_Color.GetGreen(); 
}

template< class TComponentType >
void 
SpatialObjectProperty< TComponentType >
::SetBlue( TComponentType b )
{ 
  m_Color.SetBlue(b); 
  this->Modified();  
}

template< class TComponentType >
TComponentType 
SpatialObjectProperty< TComponentType >
::GetBlue( void ) const
{ 
  return m_Color.GetBlue(); 
}

template< class TComponentType >
void 
SpatialObjectProperty< TComponentType >
::SetAlpha( TComponentType a)
{ 
  m_Color.SetAlpha(a); 
  this->Modified();
}

template< class TComponentType >
TComponentType 
SpatialObjectProperty< TComponentType >
::GetAlpha( void ) const
{ 
  return m_Color.GetAlpha(); 
}

template< class TComponentType >
void
SpatialObjectProperty< TComponentType >
::SetName( const char * name )
{ 
  m_Name.assign( name ); 
  this->Modified();
}

template< class TComponentType >
typename SpatialObjectProperty< TComponentType >::StringType
SpatialObjectProperty< TComponentType >
::GetName( void ) const
{ 
  return m_Name;
}

template< class TComponentType >
void 
SpatialObjectProperty< TComponentType >
::PrintSelf(std::ostream & os, Indent indent) const
{
  Superclass::PrintSelf(os,indent);
  os << indent << "Name: " << m_Name << std::endl;
  os << indent << "RGBA: "<< m_Color.GetRed() << " ";
  os << m_Color.GetGreen() << " ";
  os << m_Color.GetBlue() << std::endl;
}

} // end of namespace itk

#endif // __SpatialObjectProperty_txx