------------------------------------------------------------------------------ Instantiate object
| 54 | //------------------------------------------------------------------------------ |
| 55 | // Instantiate object |
| 56 | vtkXYPlotActor::vtkXYPlotActor() |
| 57 | { |
| 58 | this->PositionCoordinate->SetCoordinateSystemToNormalizedViewport(); |
| 59 | this->PositionCoordinate->SetValue(.25, .25); |
| 60 | this->Position2Coordinate->SetValue(.5, .5); |
| 61 | |
| 62 | this->InputConnectionHolder = vtkXYPlotActorConnections::New(); |
| 63 | this->SelectedInputScalars = nullptr; |
| 64 | this->SelectedInputScalarsComponent = vtkIntArray::New(); |
| 65 | |
| 66 | this->DataObjectInputConnectionHolder = vtkXYPlotActorConnections::New(); |
| 67 | |
| 68 | this->Title = nullptr; |
| 69 | this->XTitle = new char[7]; |
| 70 | auto result = vtk::format_to_n(this->XTitle, 7, "{:s}", "X Axis"); |
| 71 | *result.out = '\0'; |
| 72 | |
| 73 | this->YTitleActor = vtkTextActor::New(); |
| 74 | this->YTitleActor->SetInput("Y Axis"); |
| 75 | this->YTitleActor->GetPositionCoordinate()->SetCoordinateSystemToViewport(); |
| 76 | this->YTitleActor->GetPosition2Coordinate()->SetCoordinateSystemToViewport(); |
| 77 | |
| 78 | this->YTitlePosition = VTK_XYPLOT_Y_AXIS_HCENTER; |
| 79 | this->YTitleDelta = 0; |
| 80 | |
| 81 | this->XValues = VTK_XYPLOT_INDEX; |
| 82 | |
| 83 | this->NumberOfXLabels = 5; |
| 84 | this->NumberOfYLabels = 5; |
| 85 | |
| 86 | this->TitleTextProperty = vtkTextProperty::New(); |
| 87 | this->TitleTextProperty->SetBold(1); |
| 88 | this->TitleTextProperty->SetItalic(1); |
| 89 | this->TitleTextProperty->SetShadow(1); |
| 90 | this->TitleTextProperty->SetFontFamilyToArial(); |
| 91 | |
| 92 | this->AxisLabelTextProperty = vtkTextProperty::New(); |
| 93 | this->AxisLabelTextProperty->SetBold(0); |
| 94 | this->AxisLabelTextProperty->SetItalic(1); |
| 95 | this->AxisLabelTextProperty->SetShadow(1); |
| 96 | this->AxisLabelTextProperty->SetFontFamilyToArial(); |
| 97 | |
| 98 | this->AxisTitleTextProperty = vtkTextProperty::New(); |
| 99 | this->AxisTitleTextProperty->SetBold(0); |
| 100 | this->AxisTitleTextProperty->SetItalic(1); |
| 101 | this->AxisTitleTextProperty->SetShadow(1); |
| 102 | this->AxisTitleTextProperty->SetFontFamilyToArial(); |
| 103 | |
| 104 | this->XLabelFormat = new char[10]; |
| 105 | result = vtk::format_to_n(this->XLabelFormat, 10, "{:s}", "{:<#6.3g}"); |
| 106 | *result.out = '\0'; |
| 107 | |
| 108 | this->YLabelFormat = new char[10]; |
| 109 | result = vtk::format_to_n(this->YLabelFormat, 10, "{:s}", "{:<#6.3g}"); |
| 110 | *result.out = '\0'; |
| 111 | |
| 112 | this->Logx = 0; |
| 113 |
nothing calls this directly
no test coverage detected